1.What is Apex ?
It
is the in-house technology of salesforce.com which is similar to Java
programming with object oriented concepts and to write our own custom logic.
2.What is S-Control ?
S-Controls are the predominant salesforce.com widgets which are completely
based on Javascript. These are hosted by salesforce but executed at client
side. S-Controls are superseded by Visualforce now.
3.What is a Visualforce Page
?
Visualforce is the new markup language from salesforce, by using which, We
can render the standard styles of salesforce. We can still use HTML here in
Visualforce. Each visualforce tag always begins with “apex” namespace. All the
design part can be acomplished by using Visualforce Markup Language and the
business logic can be written in custom controllers associated with the Page.
4.Will Visual force still
supports the merge fields usage like S-control ?
Yes. Just like S-Controls, Visualforce Pages support embedded merge
fields, like the {!$User.FirstName} used in the example.
5.Where to write Visualforce code ?
Ans: You can write the code basically in 3 ways.
1. setup->App
Setup->Develop->Pages and create new Visulaforce page.
2. Setup
-> My Personal Information -> Personal Information -> Edit check the
checkbox development mode. When you run the page like this,
https://ap1.salesforce.com/apex/MyTestPage. you will find the Page editor at
the bottom of the page. You can write you page as well as the controller class
associated with it, there it self.
3.Using
EclipseIDE you can create the Visulaforce page and write the code.
6.What are Apex Governor Limits?
Governor
limits are runtime limits enforced by the Apex runtime engine. Because Apex
runs in a shared, multitenant environment, the Apex runtime engine strictly
enforces a number of limits to ensure that code does not monopolize shared
resources. Types of limits that Apex enforces are resources like memory,
database resources, number of script statements to avoid infinite loops, and
number of records being processed. If code exceeds a limit, the associated
governor issues a runtime exception.
No comments:
Post a Comment