O'Reilly logo

The Developer’s Guide to the Force.com Platform by Phil Choi, Andrew Fawcett, Glen Martin, Rick Greenwald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Visualforce Custom Controllers

You have accomplished a lot with Visualforce–shaping the look and feel of your Visualforce pages, using standard controllers to implement rich functionality, and extending those controllers when something a little extra is required. And your guiding philosophy for the Force Platform should be to always use as much default functionality as you can.

But Visualforce can take you even further. You can create your own custom controllers to back up your Visualforce pages. A controller extension extends or overrides standard controller functionality with a little bit of Apex code in a class. A custom controller completely replaces a standard controller with an Apex class.

In this final section on Visualforce, you create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required