Types of Programing
Types of Programing
Types of Programing
a)Developer Console
b) URL MoDE
c) Setup
d) Eclipse
*****************************************************************************************************
How to write program using URL
https://ap2.salesforce.com/apex/mypage
username - mysettings - personal - advance user details - Edit - Enable Development Mode
username - mysettings - Personal info -
Advance user details - edit
check in : development mode
save
https://c.ap1.visual.force.com/apex/vftestu
displays message : Have to Create page
click "URL
<apex:pageblocksection >
<apex:pageblocktable value="{!arecs}" var="item">
<apex:column value="{!item.id}"/>
<apex:column value="{!item.name}"/>
<apex:column value="{!item.phone}"/>
<apex:column value="{!item.billingcity}"/>
</apex:pageblocktable>
</apex:pageblock>
</apex:form>
</apex:page>
**************************
public class aptesttwo {
arecs = [select id,name, phone, billingcity from account where billingcity = 'Hyderabad'];
return null;
}
}
HELP URL about Components:
To know VF tags Syntax, CODE in Visual force
(or)
https://ap1.salesforce.com/apexpages/apexcomponents.apexp
https://ap1.salesforce.com/apexpages/apexcomponents.apexp
https://developer.salesforce.com/docs/
c) Using setup
click "preview"
setup - build - develop - apex classes - new
To execute programs
VF - apex - salesforce
Offline Programming
Testing
CVS (Concurrent Version System)
Editors
ECLIPSE Editor : java based
: java, xml, j2ee programs
Visual studio : .net program
Developer Console: VF, apex programs
*******************************************************************************************************
a) How to install JRE
Google : JRE
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
select : jre-7u72-windows-x64.exe
download
3 billions:
kilo = 3
Million: 10 lacs = 6
billion: 9 zeroes : 100 crores
3 kilo, lac(5), crore(7)
********************************************************************************************************
To configure eclipse with salesforce, requires security token
********************************************************************************************************
b) Install Eclipse
https://www.eclipse.org/downloads/
Download
takes time
Goto downloads - extract zip file -
************
Test for Perspective
File menu - new - displays java related programs
(or)
Window menu - open perspective - display only java related Perspectives