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 ...

Get The Developer’s Guide to the Force.com Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.