6. Data Flow without Lightning Data Service
• Duplicate calls for the
same data
• Server side code for
basic data handling
• UI Inconsistencies
7. Introducing Lightning Data Service
Standard Controller for Lightning!
Benefits :
• No APEX
• No SOQL
• FLS and Sharing built-in
• Declarative CRUD Operations
• Share cache
• Auto notify on record changes
• Offline access for Salesforce 1
8. Data flow With Lightning Data Service
Custom Component
<force:recorddata>
Custom Component
<force:recorddata>
Custom Component
<force:recorddata>
LightningDataService
9. Lightning Data Service (Beta)
• Currently in Beta
• Enabled by default in all Orgs
• Custom objects supported completely
• Opportunity and Lead currently not supported
• Formatted field values not supported completely
1 LEX page can have numerous of components. Every component calls server and stores data only to themselves.
Lots of steps, Lots of work and slow.
How many of you know Standard Controller in Visualforce ?