54
Introduction to Force.com Assoc. Prof. Dr. Thanachart Numnonda Executive Director IMC Institute 9-10 April 2013

Introduction to Force.com

Embed Size (px)

DESCRIPTION

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

Citation preview

Page 1: Introduction to Force.com

Introduction toForce.com

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

Page 2: Introduction to Force.com

2

Cloud Computing

Page 3: Introduction to Force.com

3

Mobile ComputingCloud Computing

Social Technologies Information

Page 4: Introduction to Force.com

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)

Page 5: Introduction to Force.com

5

Cloud Computing Characteristics

On-demand self service

Broad network access

Resource pooling

Rapid elasticity

Measured service

Page 6: Introduction to Force.com

6

Page 7: Introduction to Force.com

7Source : Kent Langley's Blog

Page 8: Introduction to Force.com

8

Cloud Computing changeIT as electricity industry

Page 9: Introduction to Force.com

9

Comparison of Traditional Marketing solutions with Cloud Marketing..

Traditional MarketingSolution (on Premise)

Cloud Marketing (as a Service)

Page 10: Introduction to Force.com

10

Three layers of Cloud services

Page 11: Introduction to Force.com

11

Page 12: Introduction to Force.com

12

Page 13: Introduction to Force.com

13

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

IDCPredictions 2012: Competing for 2020

Page 14: Introduction to Force.com

14

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

IDC, March 2012

Page 15: Introduction to Force.com

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

Page 16: Introduction to Force.com

16

The Salesforce Platform

Page 17: Introduction to Force.com

17

Force.com Platform

Page 18: Introduction to Force.com

18

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

IDC, March 2012

Page 19: Introduction to Force.com

19

Force.com

Page 20: Introduction to 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,

Page 21: Introduction to Force.com

21

Salesforce.com applications

Salesforce Automation, Sales Cloud

Service and Support Center, Service Cloud

Collaboration Center, Chatter

Page 22: Introduction to Force.com

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

Page 23: Introduction to Force.com

23

Force.com: Key Technologies

Multi-tenant kernal

Force.com metadata

Force.com Webservice API

Apex and Visualforce

Salesforce Object Query Language (SOQL)

AppExchange

Page 24: Introduction to Force.com

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

Page 25: Introduction to Force.com

25

developer.force.com

Page 26: Introduction to Force.com

26

Page 27: Introduction to Force.com

27

Force.comWorkshop

Page 28: Introduction to Force.com

28

Applications

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

Standard Applications

– Sales

– Call Center

– Marketing

– Community

Custom Applications

Page 29: Introduction to Force.com

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

Page 30: Introduction to Force.com

30

Standard Objects

Account

Contact

Lead

Campaign

Opportunity

Forecast

Quote

Product and price book

Case

Page 31: Introduction to Force.com

31

Custom Application

Tutorial #1: Creating Warehouse App

Source: Force.com Workbook: SUMMER '12

Page 32: Introduction to Force.com

32

Force.com Fields

Standard Fields– Created By

– Last Modified By

– Owner

– CreatedDate

– ModifiedDate

Custom Fields

Page 33: Introduction to Force.com

33

Custom Fields

Text fields

Picklists

Dependent picklist

Currency field

Date

Date/Time

Email

Etc.

Page 34: Introduction to Force.com

34

User Interface

Tabs

Page Layout

Visualforce pages

Page 35: Introduction to Force.com

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

Page 36: Introduction to Force.com

36

Tutorial #2: Adding Relationships

Source: Force.com Workbook: SUMMER '12

Exercise: Adding more fields and edit page layout

Page 37: Introduction to Force.com

37

Formula fields

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

Roll-up summary fields

Page 38: Introduction to Force.com

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

Page 39: Introduction to Force.com

39

Tutorial #3: Using Formulas and Validation Rules

Source: Force.com Workbook: SUMMER '12

Page 40: Introduction to Force.com

40

Workflow

Source:Force.com Developer Certification Handbook (DEV401)

Page 41: Introduction to Force.com

41

Tutorial #4: Automating Processes Using Workflow

Source: Force.com Workbook: SUMMER '12

Page 42: Introduction to Force.com

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.

Page 43: Introduction to Force.com

43

Tutorial #5: Creating an Approval Process

Source: Force.com Workbook: SUMMER '12

Page 44: Introduction to Force.com

44

Reports and Dashboard

Tabular reports

Summary report

Matrix report

Dashboard

Page 45: Introduction to Force.com

45

Tutorial #6: Creating Reports and Dashboards

Source: Force.com Workbook: SUMMER '12

Page 46: Introduction to Force.com

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

Page 47: Introduction to Force.com

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

Page 48: Introduction to Force.com

48

Tutorial #7: Adding Programmatic Logic with Apex

Source: Force.com Workbook: SUMMER '12

Tutorial #8: Adding Tests to Your App

Page 49: Introduction to Force.com

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.

Page 50: Introduction to Force.com

50

Tutorial #9: Building a Custom User Interface Using Visualforce

Source: Force.com Workbook: SUMMER '12

Page 51: Introduction to Force.com

51

Tutorial #10: Creating a Public Web Page Using Sites

Source: Force.com Workbook: SUMMER '12

Page 52: Introduction to Force.com

52

Tutorial #11: Creating a Store Front

Source: Force.com Workbook: SUMMER '12

Page 53: Introduction to Force.com

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

Page 54: Introduction to Force.com

54

Thank you

[email protected]/imcinstitutewww.slideshare.net/imcinstitute