Table of Contents

1 Introducing Force.com

Force.com in the Cloud Computing Landscape

Platform as a Service (PaaS)

Force.com as a Platform

Force.com Services

Inside a Force.com Project

Project Selection

Team Selection

Lifecycle

Tools and Resources

Sample Application: Services Manager

Background

User Roles

Development Plan

Summary

2 Database Essentials

Overview of Force.com’s Database

Objects

Fields

Relationships

Query Language

Data Integration

Working with Custom Objects

Force.com Developer Edition

Tools for Custom Objects

Object Creation

Field Creation

Entering and Browsing Data

Additional Database Features

Sample Application: Data Model

Data Model Design Goals

Data Model Specification

Implementing the Data Model

Importing Data

Summary

3 Database Security

Overview of Database Security

Object-Level Security

Profiles

Permission Sets

Field-Level Security

Record-Level Security

Record Ownership

User Groups

Sharing Model

Sample Application: Securing Data

Designing the Security Model

Implementing the Security Model

Testing the Security Model

Summary

4 Business Logic

Introduction to Apex

Introducing the Force.com IDE

Installation

Force.com Perspective

Force.com Projects

Problems View

Schema Explorer

Apex Test Runner View

Execute Anonymous View

Apex Language Basics

Variables

Operators

Arrays and Collections

Control Logic

Object-Oriented Apex

Understanding Governor Limits

Database Integration in Apex

Database Records as Objects

Database Queries

Persisting Database Records

Database Triggers

Database Security in Apex

Debugging Apex Using Developer Console

Checkpoints

Execution Logs

Unit Tests in Apex

Test Methods

Test Data

Running Tests

Sample Application: Validating Timecards

Force.com IDE Setup

Creating the Trigger

Unit Testing

Summary

5 Advanced Business Logic

Aggregate SOQL Queries

Aggregate Functions

Grouping Records

Grouping Records with Subtotals

Additional SOQL Features

Inner Join and Outer Join

Semi-Join and Anti-Join

Multi-Select Picklists

Salesforce Object Search Language (SOSL)

SOSL Basics

SOSL in Apex

Transaction Processing

Data Manipulation Language (DML) Database Methods

Savepoints

Record Locking

Apex Managed Sharing

Sharing Objects

Creating Sharing Rules in Apex

Sending and Receiving Email

Sending Email

Receiving Email

Dynamic Apex

Dynamic Database Queries

Schema Metadata

Dynamic Instance Creation

Custom Settings in Apex

Sample Application: Adding Email Notifications

Summary

6 User Interfaces

Introduction to Visualforce

Overview of Visualforce

Getting Started with Visualforce

Visualforce Controllers

Standard Controllers

Custom Controllers

Controller Extensions

View Components

View Component Basics

Data Components

Action Components

Primitive Components

Force.com-Styled Components

Force.com User Interface Components

Visualforce and the Native User Interface

Standard Pages

Standard Buttons

Page Layouts

Custom Buttons and Links

Custom Tabs

Visualforce in Production

Debugging and Tuning

Security

Error Handling

Governor Limits

Unit Tests

Sample Application: Skills Matrix

Basic Implementation

Full Implementation

Implementation Walk-Through

Summary

7 Advanced User Interfaces

Asynchronous Actions

Partial Page Refresh

Action as JavaScript Function

Action as Timed Event

Action as JavaScript Event

Indicating Action Status

Modular Visualforce

Static Resources

Inclusion

Composition

Custom Visualforce Components

Dynamic Visualforce

Dynamic Field References

Component Generation

Single-Page Applications in Force.com

JavaScript Remoting

Force.com with AngularJS

Introduction to Force.com Sites

Enabling and Creating a Site

Security Configuration

Adding Pages to a Site

Authenticating Users

Sample Application: Enhanced Skills Matrix

Summary

8 Mobile User Interfaces

Overview of Salesforce Mobile Technology

Salesforce Applications

Custom Applications

Getting Started with Mobile Web Applications

Frameworks

Data Access

Deployment

Sample Application: Mobile Timecard Entry

Summary

9 Batch Processing

Introduction to Batch Apex

Batch Apex Concepts

Understanding the Batchable Interface

Applications of Batch Apex

Getting Started with Batch Apex

Developing a Batch Apex Class

Working with Batch Apex Jobs

Using Stateful Batch Apex

Using an Iterable Batch Scope

Limits of Batch Apex

Testing Batch Apex

Scheduling Batch Apex

Developing Schedulable Code

Scheduling Batch Apex Jobs

Sample Application: Missing Timecard Report

Creating the Custom Object

Developing the Batch Apex Class

Testing the Missing Timecard Feature

Summary

10 Integration with Force.com

Apex Callouts

Calling RESTful Services from Apex

Calling SOAP Services from Apex

Calling into Force.com Using REST

Getting Started with Force.com REST API

Force.com REST API Walk-Through

Creating Custom Apex REST Web Services

Calling into Force.com Using SOAP

Understanding Force.com SOAP API

Using the Enterprise API

Creating Custom Apex SOAP Web Services

Sample Application: Anonymous Benchmarking

Visualforce Page Design

Visualforce Controller Design

Integrating the SOAP Web Service

Sample Implementation

Summary

11 Advanced Integration

Introduction to the Force.com Streaming API

Overview

Getting Started with Force.com Streaming API

Working with the Force.com Bulk API

Overview

Importing Records

Exporting Records

Getting Started with Force.com Canvas

Overview

Getting Started with Force.com Canvas

Introduction to the Force.com Tooling API

Overview

Getting Started with Force.com Tooling API

Understanding the Force.com Metadata API

Overview

Getting Started with the Metadata API

Sample Application: Database Integration

Integration Scenario

Implementation Strategy

Sample Implementation

Summary

12 Social Applications

Overview of the Chatter Data Model

Chatter Posts

Chatter Comments

Feed-Tracked Changes

Followed Records

Using Chatter in Apex

Introduction to the Chatter REST API

Working with Chatter Visualforce Components

Sample Application: Follow Project Team

Summary

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.170.92