Salesforce Kerala Developer User
Group Meetup


 Shivanath Devinarayanan
 Salesforce Evangelist
 @shivanathd
#SalesforceKerala
Agenda
 What is this community about?
 Intro to Force.com
 Point and Click
 Programmatic Approach
 Best practices
 Tools , Tips and Tricks
 Questions
What is this community about?
   Learn on the cloud
   Developer peers
   Training & Certification
   Forum to discuss
   Opportunity to speak and collaborate
   Learn from the best
   Latest about Salesforce.com and Force.com
Intro to
   Platform as a Service and Multi-tenant
   Apex - world’s 1st on demand language
   5X faster Development and 1/2th cost !
   Compilation on the cloud
   All you need is a browser
   Salesforce.com v/s Force.com
Point and Click Development

      Objects & Tabs
      Schema Builder
      Formula fields
      Validation Rules
      Workflow Rules & Approval Processes
            Email Alerts
            Outbound Messages
            Field Updates
      Page Layouts
      Chatter
Sign Up for Dev Account

    http://developer.force.com/join




Login to salesforce
    http://login.salesforce.com
Programmatic Approach

       Triggers
       Classes
          Test Classes
          Web service Classes
          VF Controllers
       API
       SOQL & SOSL
       Governor limits
       Sandboxes and Deployment
       VisualForce
       Force.com Sites
Best practices

        When to use WorkFlow V/s Trigger
        Try the AppExchange
        Mind the governors
           Bulkify your trigger
           Avoid SOQL in Loops
        Always write test methods
        Know when to do it outside Salesforce
Where to go ?
    Developer Force forum : http://developer.force.com
    Jeff Douglas blog : http://blog.jeffdouglas.com
    Salesforce Kerala Developer User Group !
    Twitter #askforce
    StackExchange : salesforce.stackexchange.com

Tools
    Force.com IDE
    Workbench : http://workbench.developerforce.com
    Salesforce.com Utility Belt
    DataLoader
What are your
                    thoughts?
shivanathd   @shivanathd   shivanathd   mail@shivanathd.com

Salesforce Kerala developer user group meetup

  • 1.
    Salesforce Kerala DeveloperUser Group Meetup Shivanath Devinarayanan Salesforce Evangelist @shivanathd
  • 2.
  • 3.
    Agenda  What isthis community about?  Intro to Force.com  Point and Click  Programmatic Approach  Best practices  Tools , Tips and Tricks  Questions
  • 4.
    What is thiscommunity about?  Learn on the cloud  Developer peers  Training & Certification  Forum to discuss  Opportunity to speak and collaborate  Learn from the best  Latest about Salesforce.com and Force.com
  • 5.
    Intro to  Platform as a Service and Multi-tenant  Apex - world’s 1st on demand language  5X faster Development and 1/2th cost !  Compilation on the cloud  All you need is a browser  Salesforce.com v/s Force.com
  • 6.
    Point and ClickDevelopment  Objects & Tabs  Schema Builder  Formula fields  Validation Rules  Workflow Rules & Approval Processes  Email Alerts  Outbound Messages  Field Updates  Page Layouts  Chatter
  • 7.
    Sign Up forDev Account  http://developer.force.com/join Login to salesforce  http://login.salesforce.com
  • 8.
    Programmatic Approach  Triggers  Classes  Test Classes  Web service Classes  VF Controllers  API  SOQL & SOSL  Governor limits  Sandboxes and Deployment  VisualForce  Force.com Sites
  • 9.
    Best practices  When to use WorkFlow V/s Trigger  Try the AppExchange  Mind the governors  Bulkify your trigger  Avoid SOQL in Loops  Always write test methods  Know when to do it outside Salesforce
  • 10.
    Where to go?  Developer Force forum : http://developer.force.com  Jeff Douglas blog : http://blog.jeffdouglas.com  Salesforce Kerala Developer User Group !  Twitter #askforce  StackExchange : salesforce.stackexchange.com Tools  Force.com IDE  Workbench : http://workbench.developerforce.com  Salesforce.com Utility Belt  DataLoader
  • 11.
    What are your thoughts? shivanathd @shivanathd shivanathd mail@shivanathd.com

Editor's Notes

  • #5 Pure Evangelism peer groupDiscuss your problem or help solve other’s Direct access to communityForce and all salesforce updatesInteractive group
  • #6 What is all the hype about ? How is it that good?Force.com is the underlying PAAS Where coding and building enterprise apps Development time is 5X faster and 1/5th costIntegrate to any existing applications
  • #7 Object is how data is defined and tabs is the way to show and access themFormula fields are for either checking a condition criteria, Basic formulas. Written in plain EnglishValidation Rules simple
  • #8 Object is how data is defined and tabs is the way to show and access themFormula fields are for either checking a condition criteria, Basic formulas. Written in plain EnglishValidation Rules simple
  • #9 Bulkified TriggerClasses are unit logic separated to executefrom triggers or other contexts or to host VF controllersTest classes @istest unit testing 75 % code coverageExpose webservice from salesforce, WSDL and create appsAPI – Force.com native API for CRUD, Upsert and different applicationsEmail Services are inbound email managing Goveror limits on multi tenant platform prevent runaway code and sharing practiceVF- Improve the UI and achieve complex scenarios visuallySandboxes – production , full Configuration and configuration onlyDeploy to prod 75% code coverage – cannot edit code in prod ; deploy via changesetForce.com sites - Websites
  • #10 Point and Click always preferred – maintainable and stable tested outWorkflow rule when you have a small update on the same object on a limited criteriaTrigger when complex or cross object CRUD to be done Don’t Re-create the wheel, Appexchange apps native to SF can always be usedGovernors are something to learn and to overcome, very high limits now, and can be avoidedbulkify the code for triggerSOQL is easily hit governorTest all possible scenariosSometimes salesforce is quite not the option, if you know other languages we may need to do it outside and integrate it back
  • #11 Forums are very responsive and get answered immediatelyUS !! ToolsWorkbench is very useful for all types of activitiesUtility belt gives you quick reference (chrome extensions)Dataloader for huge data intensive uploads