function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ANKITAANKITA 

Reg: Apex Code

HI,

 

I am very new to salesforce.

Could you please  tell me, what are the areas (Concepts)  that i need to concentrate in apex to handle  tasks in project.

I worked on .net for a long time before . just changed my technology to Salesforce.

could you please give the list of topics. That will helps to the newly coming people.

Any help will save my time.

 

 

Thanks,

ANKITA

 

Best Answer chosen by Admin (Salesforce Developers) 
Ankit AroraAnkit Arora

If you have an overview of salesforce then you can go with Apex Language Reference guide:

 

http://www.salesforce.com/us/developer/docs/apexcode/salesforce_apex_language_reference.pdf

 

No while writing (trigger or class) an apex code you must take good care of governor limits, here are the limits : 

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm

 

How you can take care of them : 

 

http://wiki.developerforce.com/index.php/Governors_in_Apex_Code

 

If you are writing a trigger then you must Handel the bulk case, a very good explanation is provided here:

 

http://blog.jeffdouglas.com/2009/04/20/writing-bulk-triggers-for-salesforce/

 

http://wiki.developerforce.com/index.php/Apex_Code_Best_Practices

 

Now after you are done with writing an apex code you need a test class for it.

 

http://wiki.developerforce.com/index.php/An_Introduction_to_Apex_Code_Test_Methods

 

Sample Test Class :

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_testing_example.htm

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

All Answers

Shashikant SharmaShashikant Sharma

Briefly I can tell you Task is a salesforce native object, Any object can have task. TO associate a task to any objects record just create a task and assign whoId to from object record.

 

for more read this

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_task.htm

 

To Strat With you Apex Readings to handle your project tasks

 

1) Triggers : My blog has some content for this ,  http://forceschool.blogspot.com/search/label/Apex%20Triggers

2) Test Classes : See http://wiki.developerforce.com/index.php/Apex_Language_Reference_-_PDF_Download for this

3)Go through all Data Types and there methods , like string methods snd date methods in Lang Ref Guide

3)Visualforce Page : Read All components from componenet  : http://www.salesforce.com/us/developer/docs/pages/salesforce_pages_developers_guide.pdf

 

One very impotant topic to cover is Governor Limits, it is very essential ti know limits when you develop any thing in APEX.

 

Go to http://wiki.developerforce.com/index.php/Documentation , You will see all sort of documenation here , so just download it to you computer and don't worry to read them all , whenever any task comes read related content.

 

In any case if you do not find any solution from any guide, please ask it on community. 

Ankit AroraAnkit Arora

If you have an overview of salesforce then you can go with Apex Language Reference guide:

 

http://www.salesforce.com/us/developer/docs/apexcode/salesforce_apex_language_reference.pdf

 

No while writing (trigger or class) an apex code you must take good care of governor limits, here are the limits : 

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm

 

How you can take care of them : 

 

http://wiki.developerforce.com/index.php/Governors_in_Apex_Code

 

If you are writing a trigger then you must Handel the bulk case, a very good explanation is provided here:

 

http://blog.jeffdouglas.com/2009/04/20/writing-bulk-triggers-for-salesforce/

 

http://wiki.developerforce.com/index.php/Apex_Code_Best_Practices

 

Now after you are done with writing an apex code you need a test class for it.

 

http://wiki.developerforce.com/index.php/An_Introduction_to_Apex_Code_Test_Methods

 

Sample Test Class :

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_testing_example.htm

 

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

This was selected as the best answer