Your SlideShare is downloading. ×
Introduction to the Data Model
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction to the Data Model

3,367

Published on

Force.com provides a powerful data persistence layer. It lets you create database tables and adds a lot of features right out of the box like triggers, relationships, default values, validation rules, …

Force.com provides a powerful data persistence layer. It lets you create database tables and adds a lot of features right out of the box like triggers, relationships, default values, validation rules, reporting, and search. This session covers how to create your first database and use these powerful features to easily build a rich application.

Published in: Business
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,367
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
206
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Why? Project Management is a popular topic.
  • Transcript

    • 1. Introduction to the Data Model
      Developers
      Reid Carlberg: salesforce.com
      @ReidCarlberg
      @ForceDotComLabs
    • 2. Safe Harbor
      Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.
      The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year ended January 31, 2010. This documents and others are available on the SEC Filings section of the Investor Information section of our Web site.
      Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
    • 3. Ask your questions in the Dreamforce Org!
    • 4. Who Has…
      No or very little force.com experience?
      Modified a standard object?
      Created a custom object?
      Developed a complex app on the platform?
      Professional experience writing SQL?
    • 5. Force.com: More Than a Repository
      Store
      Manage
      Understand
      Secure
      UI
      Search
      Scale
      DR
    • 6. Today’s Goals
      Create objects, fields and relationships.
      Leverage relationship, summary and formula fields.
      Connect to security, analytics, UI, API and other services.
      Next steps!
    • 7. The Lingo (Old  New)
      Tables  Objects
      Columns  Fields
      Keys  Ids, External Ids
      Foreign Keys  Relationships
      Row  Record
    • 8. Standard Objects
      Users, Accounts, Contacts, Opportunities, Cases, etc.
    • 9. Standard Objects Are Well Documented
      http://developer.force.com
    • 10. Custom Objects
    • 11. The Joy of Data Types
      Currency
      Percentage
      Phone
      Email
      URL
      Lookup Fields
      Master Detail Fields
      Roll Up Summary
      Rich Text
      Number, Text, Long Text, Date, Checkbox
    • 12. Today’s Demo App: Project Management
      Project__c
      Milestone__c
      User
      Action__c
      No suffix: Standard; “__c”, custom; “__r”, relationship;
      “Feed” & “__Feed”; “Share” & “__Share”; “History” & “__History”; “Tag” & “__Tag”
    • 13. Let’s Build an App!
    • 14. Common Fields: Identity, Ownership and Audit
      ID*  GUID
      Name  Text or Autonumber
      Owner  Lookup to User
      CreatedBy*  Lookup to User
      CreatedOn*  Date time
      LastModifiedBy*  Lookup to User
      LastModifiedOn*  Date time
      *100% managed by Force.com
    • 15. Relationships Are Easy!
      Standard Lookup
      “OwnerId”
      Project__c
      “Project__c”
      Milestone__c
      User
      Custom
      Master
      Detail
      “Milestone__c”
      Action__c
      “User__c”
      Custom Lookup
    • 16. Many to Many Relationships Are Easy
      Project__c
      Account
      Twin Custom Master Detail
      AccountProjectJoin__c
    • 17. Roll Ups, Formulas, External IDs
    • 18. Relationships Are Powerful
      30 Open Tasks
      Project__c
      5 Open Tasks
      Milestone__c
      User
      “Show me Mary’s
      Assignment”
      Action__c
    • 19. Formulas
      Spreadsheet like syntax
      Field default value
      Standalone & combination formulas
      Evaluated at access (view, API, report, etc)
    • 20. External IDs
      Great for integration / migration.
      Required for the UPSERT operation.
      Facilitate automatic foreign key resolution.
    • 21. Search, Analytics & Security
    • 22. Misc Topics
      API: SOAP, REST, Bulk, Metadata
      SOQL and the Force.com IDE
      Record types
      Custom settings
      Recycle bins: record, field & object
    • 23. Keys to Success
      Know your problem domain
      Model smart…
      …but don’t over normalize
      Use native force.com features
      Be security aware
    • 24. Next Steps
      Get a Developer Edition
      http://developer.force.com
      Attend Another Intro Session!
      Workflow – Today 2:15p
      Force.com Code - Apex – Today 3:45p
      Force.com Pages - Visualforce – Today 5:15p
      Chatter Resources
      Twitter Resources
      @ReidCarlberg, @ForceDotComLabs
    • 25. Introduction to the Data Model
    • 26. Visit the Developer Training and Support Booth in Force.com Zone
      D I S C O V E R
      Developer training, certification and support resources
      that help you achieve
      S U C C E S S
      Find us in the Partner Demo Area of
      Force.com Zone 2nd Floor Moscone West
      Learn about Developer Certifications
      Discover Developer Learning Paths
    • 27. Remember. . .
      • Check Chatter for additional session information
      • 28. Get your developer Workbooks and Cheat Sheets in the Force.com Zone
      • 29. Visit for more information related to this topic
      Don’t forget the survey!
    • 30. How Could Dreamforce Be Better? Tell Us!
      Log in to the Dreamforce app to submit
      surveys for the sessions you attended
      Use the Dreamforce Mobile app to submit surveys
      OR
      Every session survey you submit is a chance to win an iPod nano!

    ×