Custom controller
Next, after the standard controller and the extensions, you are able to build a full custom controller. You don't need to use the logic from a standard controller or build a complex application with logic over different objects, so you can build custom logic and a full custom user interface to display this data and interact with this data in the MVC framework.
In this example, we will build a controller where the user will fill in the name of a movie, and we will do a callout to the movie DB API to search for movies with this title. In the end, the user can decide which movie he/she wants to insert.
I'll provide you the controller and the Visualforce page in the solutions section (at the end) of this book. The most important ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access