function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VVNRAOVVNRAO 

Controllers

What is a controller? & types ? & where these are used in programming?

 

 

 

please reply...

 

 

 

Regards:

VVNRAO

ngabraningabrani

Controllers are Apex classes that define how Visualforce page will work. For example they define what happens when a button is clicked. Salesforce provides Standard controllers that define "standard" Salesforce behaviour. Developers may write extensions to standard controllers or develop custom controllers.

 

To understand basics of controller, take a look at this blog - http://astreait.com/wordpress/?p=3