14
Coding the Salesforce1 Platfor with Apex

Coding the Salesforce1 Platform

  • Upload
    sg8002

  • View
    44

  • Download
    2

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Coding the Salesforce1 Platform

Coding the Salesforce1 Platform with Apex

Page 2: Coding the Salesforce1 Platform

Welcome

Simon Goodyear

Advanced Developer

Force.com MVP

@simongoodyear

Page 3: Coding the Salesforce1 Platform

What is Apex?

Programming language of the Salesforce1 Platform– Java style syntax

– Object orientated

– Strongly typed

– Billions of lines

Page 4: Coding the Salesforce1 Platform

Why use Apex?

Runs in the Cloud

Automatically Integrated to Your Data

In-Built Testing Framework

Backwardly Compatibility

Page 5: Coding the Salesforce1 Platform

You’re never alone in the cloud

The Salesforce1 Platform is a Multi-Tenant Environment

Page 6: Coding the Salesforce1 Platform

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

Page 7: Coding the Salesforce1 Platform

Example Use Case

Keep the Contact address the same as the Account

BUT– Only in some circumstances

Page 8: Coding the Salesforce1 Platform

Example Trigger

Page 9: Coding the Salesforce1 Platform

Example Test Class

Page 10: Coding the Salesforce1 Platform

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

Page 11: Coding the Salesforce1 Platform

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

Page 12: Coding the Salesforce1 Platform

Assistez à notre atelier thématique pour les Développeurs

16h00 – 16h40

Les applications web mobiles sur Salesforce1Présenté par Peter Chittum, Evangéliste pour les développeurs chez Salesforce.com

Page 13: Coding the Salesforce1 Platform

La communauté de développeurs Salesforce en France

Paris: http://www.meetup.com/Paris-Salesforce-Developer-User-Group/

St Quentin: http://www.meetup.com/Saint-Quentin-Salesforce-Developer-Group/

Page 14: Coding the Salesforce1 Platform

Thank You