3. What is Apex?
Programming language of the Salesforce1 Platform
– Java style syntax
– Object orientated
– Strongly typed
– Billions of lines
4. Why use Apex?
Runs in the Cloud
Automatically Integrated to Your Data
In-Built Testing Framework
Backwardly Compatibility
5. You’re never alone in the cloud
The Salesforce1 Platform is a Multi-Tenant Environment
6. What can you do with Apex?
Extend when configuration isn’t enough
Visualforce controllers
Database triggers
Custom web services
Email Services
Scheduled and batched tasks
7. Example Use Case
Keep the Contact address the same as the Account
BUT
– Only in some circumstances
10. Quick Recap
Apex is a really powerful tool
– Once we’ve tried “clicks” rather than code
– Is constrained by governor limits
Common programming paradigms
– Object orientated
– Strongly typed
– Loops, Collections, Conditions
– Data Model awareness
11. What’s Next?
Try It!
Sign up for a developer org
– developer.salesforce.com
Follow the apex workbook
– Bit.ly/apexworkbook
Get help
– developer.salesforce.com/forums
– Stack Exchange
12. Assistez à notre atelier thématique pour les Développeurs
16h00 –16h40
Les applications web mobiles surSalesforce1
PrésentéparPeterChittum,EvangélistepourlesdéveloppeurschezSalesforce.com
13. La communauté dedéveloppeursSalesforce enFrance
Paris: http://www.meetup.com/Paris-Salesforce-Developer-User-Group/
St Quentin: http://www.meetup.com/Saint-Quentin-Salesforce-Developer-Group/
This is the good things about Apex
Runs in cloud – everything is setup for you, lowers the barriers to entry
Integrated to Data – all data is there and ready for you to use, Apex understands the metadata
Testing Framework – test coverage is needed, data setup framework in place
Backward Compatibility – you code is guaranteed to run against the same version of the API at all times, even as the language changes
This is the good things about Apex
Runs in cloud – everything is setup for you, lowers the barriers to entry
Integrated to Data – all data is there and ready for you to use, Apex understands the metadata
Testing Framework – test coverage is needed, data setup framework in place
Backward Compatibility – you code is guaranteed to run against the same version of the API at all times, even as the language changes
Main point Config comes first
Talk about simplicity.
EG Webservice is just an annotation
Main point Config comes first
Talk about simplicity.
EG Webservice is just an annotation
Main point Config comes first
Talk about simplicity.
EG Webservice is just an annotation