Last updated on **April 2nd,2017***Added a new lecture***
Visualforce is markup language that allows to define user interface components in Salesforce. This is very interesting tool which runs on force platform. By using page layouts, we can easily configure User interface. But by using visusalforce pages, you can develop your own customized user interface.
Here in Visualforce Tutorial tutorial I am providing information about, how to work with visualforce pages.
This course covers about various tags in Visualforce like page,pageBlock, inputfield, output field etc. This course also covers 3 types of controllers in salesforce Standard, Custom Controllers.
What students will get from this course ??
What are the requirements?
A StandardController object that is automatically provided for standard and all custom objects, bindable to a Visualforce page component with the “standardController” attribute.
What are the tasks of standard controller?
Controlling Data :Standard controllers fetches data and provide to the views such as page, list, dialog or forms.
<apex:page standardController=”Account”> // standard object
<apex:page standardController=”customer__c”> // custom object
Standard controllers provides only built in standard functionality to visualforce pages, such as Save, Edit, Cancel & Delete etc
We cannot customize/develop our own functionality by using standard controllers. By using custom controllers we can write our own functionality or override existing functionality. Custom controller is an Apex Class developed by us.
What we can do by using Custom Controllers?
What is controller extension?
Controller extension is custom/additional behavior to standard controllers. Extension is an apex class. We can add number of extensions to visualforce page.
<apex:page Controller=”ControllerName” extensions=”Class1, Class2,..”>
We can use Stnadard controller/ Custom Controller and extensions at a time. But we cannot use Standard controller & Custom controller at a time. See below syntax to understand.
<apex:page standardController=”ControllerName” extensions=”Class1, Class2,..”> Correct
<apex:page Controller=”MYControllerName” extensions=”Class1, Class2,..”> Correct syntax
<apex:page standardController=”MYControllerName” Controller=”MyController”> Wrong
I am a Java/J2EE and salesforce developer, have been writing and working with software for the past 5 years. I currently live in Dallas/TX.
If your goal is to become one of these:
Then checkout my courses. I have close to 10000 students in and out of udemy. My passion is helping people around the world and guide them into the world of programming.
I am Oracle certified JAVA ,J2EE developer. I love coffee, music, exercise,coding and technology. See you in my course:)