Demystifying salesforce for developers

Preview:

Citation preview

Demystifying Salesforce for developers

Jimens Lima

Software Engineer

Heitor Nascimento

Software Engineer

Agenda

❏ What is a CRM/Salesforce

❏ Architecture

❏ How much cost

❏ Salesforce Platform

❏ How to develop on Salesforce

❏ Questions

What is CRM?

❏ Customer Relationship Management.

❏ A strategy to manage the company's relationships and interactions with clients

and potential clients.

❏ Information compilation through multiple channels such as: email, phone, text

file and social media data.

❏ Integration among differents sectors such as: Sales, Marketing and Services.

What is Salesforce?

Salesforce offers nowadays separate products according to the

customer needs. The services break down into:

- Sales Cloud

- Marketing Cloud

- Community Cloud

- Analytics Cloud

- IoT

- App Cloud

http://www.salesforce.com/what-is-salesforce/

What is Cloud Computing?

Salesforce Platform

❏ Supporting +100.000 corporations

❏ 55 instances - https://trust.salesforce.com/trust/instances

❏ The provider never needs to worry about

❏ High-availability, load-balancing, scalability, system backups,

patches and security, and other infrastructure-related concerns.

❏ 3 releases per year.

❏ One single release takes 5 minutes long - 200+ features.

Costing

The more expensive license costs $300 per user per month.

http://www.salesforce.com/crm/editions-pricing.jsp

Salesforce Platform

CRMCRM

Salesforce

Salesforce

CRM Custom AppsCRM Custom Apps

Salesforce Platform

CRM Custom AppsCRM App ExchangeCustom Apps

Salesforce

Salesforce Platform

+CRM Custom AppsCRM App ExchangeCustom Apps

Salesforce

Salesforce Platform

Force.com

The fastest way to create Enterprise Cloud Apps.

https://developer.salesforce.com/platform/force.com

Force.com

Force.com

Sandbox and Production

What is Apex?

❏ Salesforce Platform Language❏ Similar to Java❏ Object-Oriented❏ Strongly typed❏ Support Classes and Interfaces❏ Cloud based compiling, debugging and unit testing

What's SOQL?

❏ Salesforce Object Query Language❏ Similar to SQL❏ Custom Object based ❏ Built into Apex

What's SOSL?

❏ Salesforce Object Search Language❏ Used to search text inside Custom Objects, Classes,

Visual Pages.❏ Unlike SOQL, which can only query one object at a

time, SOSL enables you to search text, email, and

phone fields for multiple objects simultaneously.

Demo

Demo

❏ Step 1 : Create CRUD❏ Step 2 : Create Custom Object.❏ Step 3 : Create Relationship. ❏ Step 4 : Create a trigger.❏ Step 5 : Run trigger’s code in a separate thread.❏ Step 6 : Create a REST Api.

❏ Developer console - "IDE Inside Salesforce"❏ Force.com - Eclipse IDE❏ Workbench - Web based❏ MavensMate - Atom / Sublime editor❏ Force CLI - Command line

Development tools

Governor Limits

Total number of records retrieved by SOQL queries

50.000

Maximum number of Apex jobs added to the queue with System.enqueueJob

50

DML Operations 150

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_gov_limits.htm

Recommended