GOVT. ENGINEERING COLLEGE BIKANER
A SEMINAR REPORT
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE AWARD OF
THE DEGREE OF
BACHELOR OF TECHNOLOGY
(Computer Science Engineering)
RAJASTHAN TECHNICAL UNIVERSITY, KOTA
SUBMITTED TO : SUBMITTED BY
Mrs Manisha maamCSE DepartmentRinku Saini13EEBCS066
I would like to place on record my deep sense of gratitude to Prof. Manoj Kudi, HOD-Dept. of Computer Science Engineering, Govt. Engineering College Bikaner, India for his generous guidance, help and useful suggestions.
I express my sincere gratitude to Mrs Manisha Govt. Engineering College Bikaner, Rajasthan, encouragement and supervision throughout the course
maam., Dept. of Computer Science Engineering, India, for his stimulating guidance, continuous of present work.
I also wish to extend my thanks to Prof Vikram Singh Chouhan and other colleagues for attending my seminars and for their insightful comments and constructive suggestions to improve the quality of this Seminar work.
I am extremely thankful to Mr.J.P. Bhamu, Principal, Govt. Engineering College Bikaner, for providing me infrastructural facilities to work in, without which this work would not have been possible.
Signature of Student
Rinku Saini (13EEBCS066)
TABLE OF CONTENTS
Chapter 1: What is Visualforce?1
Chapter 2: What is Visualforce Page?.2
Chapter 3: Where Can Visualforce Pages Be Used?3
Chapter 4: How to create visualforce page?4
Chapter 5: Which Editions Support Visualforce?.5
Chapter 6: Which Permissions are Required for Visualforce Development?.6
Chapter 7: How is Visualforce Architected?6
Chapter 8: Tags of visualforce8
Chapter 9: What are the Benefits of Visualforce?9
Chapter 10: Controller in visualforce11
What is visualforce :-
Visualforce is a framework that allows developers to build sophisticated, custom user interfaces that can be hosted natively on theForce.com platform. The Visualforce framework includes a tag-based markup language, similar to HTML, and a set of server-side standardcontrollers that make basic database operations, such as queries and saves, very simple to perform.In the Visualforce markup language, each Visualforce tag corresponds to a coarse or fine-grained user interface component, such as asection of a page, a related list, or a field. The behavior of Visualforce components can either be controlled by the same logic that is usedin standard Salesforce pages, or developers can associate their own logic with a controller class written in Apex.
Chapter-2 What is visualforce page
Developers can use Visualforce to create a Visualforce page definition. A page definition consists of two primary elements: Visualforce markup A Visualforce controller
Visualforce Controllers :-A Visualforce controller is a set of instructions that specify what happens when a user interacts with the components specified in associatedVisualforce markup, such as when a user clicks a button or link. Controllers also provide access to the data that should be displayed in apage, and can modify component behavior.
Where Can Visualforce Pages Be Used?
Developers can use Visualforce pages to Override standard buttons, such as the New button for accounts, or the Edit button for contactsor Override tab overview pages, such as the Accounts tab home page Define custom tabs Embed components in detail page layouts Create dashboard components or custom help pages Customize, extend, or integrate the sidebars in the Salesforce console (custom console components) Add menu items, actions, and mobile cards in Salesforce1
How to create visualforce page
Withdevelopment mode enabled, you can create your first Visualforce page by entering a URL for the page in your browser's address bar as follows: https://salesforce_instance/apex/pageName this give error message Because the page does not yet exist, you are directed to an intermediary page from which you can create your new page. ClickCreate Pageto create it automatically.
Which Editions Support Visualforce? Visualforce is available in Contact Manager Group Professional Enterprise Unlimited Performance, and Developer Editions.
Which Permissions are Required for Visualforce Development? Visualforce development requires various permissions, depending on the specific activity. User Permissions NeededTo enable Visualforce development mode: Customize ApplicationTo create, edit, or delete Visualforce pages: Customize ApplicationTo create and edit custom Visualforce components: Customize ApplicationTo edit custom Visualforce controllers or Apex Author ApexTo set Visualforce page security: Manage Profiles and Permission SetsTo set version settings for Visualforce pages: Customize ApplicationTo create, edit, or delete static resources: Customize ApplicationTo create Visualforce Tabs: Customize Application
How is Visualforce Architected? All Visualforce pages run entirely on the Force.com platform, both when a developer creates the page, and when an end user requests a page, as shown in the following architecture diagrams.
When a developer finishes writing a Visualforce page and saves it to the platform, the platform application server attempts to compile the markup into an abstract set of instructions that can be understood by the Visualforce renderer. If compilation generates errors, the save is aborted and the errors are returned to the developer. Otherwise, the instructions are saved to the metadata repository and sent to the Visualforce renderer. The renderer turns the instructions into HTML and then refreshes the developer's view, thereby providing instantaneous feedback to the developer for whatever changes were made in the markup.
The architecture diagram below shows the process flow when a non-developer user requests a Visualforce page. Because the page is already compiled into instructions, the application server simply retrieves the page from the