Activity › Forums › Salesforce® Discussions › What is Visualforce in Salesforce?
Tagged: Apex Code, Apex Extensions, Client Side, CSS, Custom Controller, Force.com Platform, Frameworks, Javascript, Salesforce Lightning, Salesforce Visualforce, Standard Controller, User Interface, Visualforce Components, Visualforce Page, Visualforce Tags
-
What is Visualforce in Salesforce?
Posted by Aman on September 22, 2018 at 4:29 PMWhat is Visualforce in Salesforce?
Parul replied 7 years, 9 months ago 3 Members · 2 Replies -
2 Replies
-
Visualforce is the component-based user interface framework for the Force.com platform. The framework includes a tag-based markup language, similar to HTML. Each Visualforce tag corresponds to a coarse or fine-grained user interface component, such as a section of a page, or a field. Visualforce boasts about 100 built-in components and a mechanism whereby developers can create their own components.
- [adinserter block='9']
-
Visualforce and Lightning both offer ways to design and create custom interfaces for Salesforce.
Visualforce was designed to follow a Page-Centric model. This means that the intent of Visualforce was to create something that was your full page interface with Salesforce. When the user needed to perform some kind of operation, like Save a record, it would send that request to the Salesforce servers and then reload the entire page with the new state of the UI. All backend processing is done with Apex Code on the Server-Side. You have the option to inject JavaScript into the mix to handle some of the Client-Side processing, but it isn’t the default interaction methodology. Visualforce was also primarily built for Desktop. When Visualforce was first launched back in 2008 the iPhone had been out for about a year. The concept of designing things “mobile first” hadn’t yet been realized, this would come a few years later.
Visualforce also uses an HTML-like markup language for designing the pages and Apex code to handle the database operations. Here is a breakdown of what you have with Visualforce pages:
Visualforce Page – HTML-like markup language used to design the layout of the page.
Standard Or Custom Controller – Apex Code to handle Server-Side operations executed from the Visualforce page (EX: CRUD operations).
Optional: CSS Styling – Style your Visualforce page to look a specific way within the header or by file reference.
Optional: JavaScript – Used to handle Client-Side processing or to be coupled with CSS for a cosmetic revamp of the UI.
Optional: Apex Extensions – These are used to perform logical operations that are not housed within the standard or custom controller.
Log In to reply.