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
Elavarasan BalasubramaniyanElavarasan Balasubramaniyan 

Visual Force Page Tags and Controllers

what is the difference between standard Controller and Custom Controller in accessing the Visual Force Page
Narveer SinghNarveer Singh
Hi Ela,

Below are the consideration point for Std. and Custom Controller :

Standard Controllers
Contains the same functionality and logic that are used for standardSalesforce pages. Can be used with standard objects and custom objects.
The standard controller is auto geenrated by SF for all objects.
Custom Controllers
Need finer control for how information is accessed for your page, you can write a custom controller or a controller extension using Apex. Only one Apex class is used.
Custom controllers are written by you and do what your code tells them to do.
Example :
 
For More Info you can refer below Link :

http://www.infallibletechie.com/2012/11/difference-between-standardcontroller.html

http://blog.biswajeetsamal.com/post/2014/08/01/difference-between-standard-controller-and-custom-controller/

Hope this helps you!

Please accept my solution as Best Answer if my reply was helpful. It will make it available for other as the proper solution.Let me know if anything else.

Best Regards
Narveer