Introduction to Force.com

Preview:

DESCRIPTION

Presentation for the course" Force.com Development Quick Start" 9-10 April 2013

Citation preview

Introduction toForce.com

Assoc. Prof. Dr. Thanachart NumnondaExecutive DirectorIMC Institute9-10 April 2013

2

Cloud Computing

3

Mobile ComputingCloud Computing

Social Technologies Information

4

Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a

shared pool of configurable computing resources (e.g., networks, servers, storage,

applications and services) that can be rapidly provisioned

and released with minimal management effort or service provider interaction..

Definition (NIST)

5

Cloud Computing Characteristics

On-demand self service

Broad network access

Resource pooling

Rapid elasticity

Measured service

6

7Source : Kent Langley's Blog

8

Cloud Computing changeIT as electricity industry

9

Comparison of Traditional Marketing solutions with Cloud Marketing..

Traditional MarketingSolution (on Premise)

Cloud Marketing (as a Service)

10

Three layers of Cloud services

11

12

13

“80% of new commercial enterprise apps will be deployed on cloud platforms in 2012.”

IDCPredictions 2012: Competing for 2020

14

“Public and private IT cloud services will generate nearly 14 million jobs worldwide by 2015.”

IDC, March 2012

15

Skill Change

Local OS

Server Management

HardwareAcquisition

Less More Revived Skills

New Skills

Networking

Application Support

SLA

Contracts

Monitoring

Public Cloud: Applications Development

Private Cloud: Virtualization

16

The Salesforce Platform

17

Force.com Platform

18

“ 800,000 Force.com developers currently and2.5x increase in demand for Force.com developers.”

IDC, March 2012

19

Force.com

20

What is Force.com

The world's first PaaS platform

focus on business applications

a part of Salesforce.com

but Force.com is not CRM.

runs in a hosted multi-tenant environment,

21

Salesforce.com applications

Salesforce Automation, Sales Cloud

Service and Support Center, Service Cloud

Collaboration Center, Chatter

22

Force.com: MVC architecture

Model-View-Controller (MVC) architecture.

Model: – Salesforce Objects, Metadata

View: – Tabs, Forms and Visualforce pages

Controller– Workflows, Apex Controllers, Trigger

23

Force.com: Key Technologies

Multi-tenant kernal

Force.com metadata

Force.com Webservice API

Apex and Visualforce

Salesforce Object Query Language (SOQL)

AppExchange

24

Force.com: Development

Building the database (Database.com)

Connection to the database• Salesforce metadata API

Developer IDE• Online Page Editor and App Setup

• Force.com IDE or Eclipse plugin

Development Environment• Force.com real time sandboxes

25

developer.force.com

26

27

Force.comWorkshop

28

Applications

A collection of tabs and objects used together to form a business process.

Standard Applications

– Sales

– Call Center

– Marketing

– Community

Custom Applications

29

Objects

Standard Object– Objects that are created and made available by

Salesforce.com

Custom Objects– Objects that you create in your org to store

information unique to your business

30

Standard Objects

Account

Contact

Lead

Campaign

Opportunity

Forecast

Quote

Product and price book

Case

31

Custom Application

Tutorial #1: Creating Warehouse App

Source: Force.com Workbook: SUMMER '12

32

Force.com Fields

Standard Fields– Created By

– Last Modified By

– Owner

– CreatedDate

– ModifiedDate

Custom Fields

33

Custom Fields

Text fields

Picklists

Dependent picklist

Currency field

Date

Date/Time

Email

Etc.

34

User Interface

Tabs

Page Layout

Visualforce pages

35

Relationships

Lookup (1:n)– relationships are loosely coupled relationships

Master-Detail relationship (1:n)– relationships are more tightly coupled

relationships

– the detail/child follows the master

36

Tutorial #2: Adding Relationships

Source: Force.com Workbook: SUMMER '12

Exercise: Adding more fields and edit page layout

37

Formula fields

A formula is similar to a spread sheet formula field that is executed at run time

Roll-up summary fields

38

Validation rules

Validation rules are attached to fields.

They are executed when a record is created or updated.

We can define with with an error message

39

Tutorial #3: Using Formulas and Validation Rules

Source: Force.com Workbook: SUMMER '12

40

Workflow

Source:Force.com Developer Certification Handbook (DEV401)

41

Tutorial #4: Automating Processes Using Workflow

Source: Force.com Workbook: SUMMER '12

42

Profile

A profile is a collection of permissions and other settings associated with a user or a group of users.

Your organization has a number of standard profiles already defined.

If you create an app, the permissions and settings to access the app and associated

objects are disabled for most profiles.

43

Tutorial #5: Creating an Approval Process

Source: Force.com Workbook: SUMMER '12

44

Reports and Dashboard

Tabular reports

Summary report

Matrix report

Dashboard

45

Tutorial #6: Creating Reports and Dashboards

Source: Force.com Workbook: SUMMER '12

46

Import & Export Data

Data can be exported for making periodic backups or downloading the entire data

We can insert data into existing standard and custom objects

Exercise: Import & Export Data

47

Apex

Apex is a stored procedure-like language

Apex is not a general-purpose programming language like Java or C.

Apex is the only language that runs on the Force.com platform

48

Tutorial #7: Adding Programmatic Logic with Apex

Source: Force.com Workbook: SUMMER '12

Tutorial #8: Adding Tests to Your App

49

Visualforce

Visualforce is a combination of a page containing the presentation and Apex classes containing

the business logic

logic.The presentation is usually HTML rendered in the Web browser, but Visualforce also supports content types such as XML and PDF. HTML output.

50

Tutorial #9: Building a Custom User Interface Using Visualforce

Source: Force.com Workbook: SUMMER '12

51

Tutorial #10: Creating a Public Web Page Using Sites

Source: Force.com Workbook: SUMMER '12

52

Tutorial #11: Creating a Store Front

Source: Force.com Workbook: SUMMER '12

53

References

Force.com Developer Certification Handbook (DEV401), Siddhesh Kabe; Jan 2012

Force.com Tips and Tricks, Abhinav Gupta; Ankit Arora, Feb 2013.

Force.com Workbook, 2013, http://www.salesforce.com/us/developer/docs/workbook/forcecom_workbook.pdf

Development with the Force.com Platform, Second Edition, Jason Ouellette, 2012

54

Thank you

thanachart@imcinstitute.comwww.facebook.com/imcinstitutewww.slideshare.net/imcinstitute