Book Image

Learning Force.com Application Development

By : Chamil Madusanka
Book Image

Learning Force.com Application Development

By: Chamil Madusanka

Overview of this book

Table of Contents (21 chapters)
Learning Force.com Application Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

Learning Force.com Application Development is a hands-on guide aimed at developing Force.com applications on the Force.com platform. As you read through the content, you will notice that this book focuses on a single real-world example. This book builds upon this example to help you understand and use the tools and features of the Force.com platform.

Cloud computing has made significant changes to the IT/software development industry. Cloud platforms are one of the important directions of cloud computing. Cloud platforms allow the developers to develop apps and run them on the cloud, including platforms for building on-demand applications and platforms as a service (PaaS). Salesforce.com has introduced the first on-demand platform, called Force.com.

What this book covers

Chapter 1, Getting Started with Force.com, introduces the Force.com platform and explains the design and development aspects of the Force.com platform. The sample application scenario and ERD are introduced at the end of this chapter.

Chapter 2, Building the Data Model, introduces the data model of the Force.com platform and explains about creating custom objects, custom fields, and the various data types of the Force.com platform.

Chapter 3, Building the User Interface, explains how to create custom applications, custom tabs, and customized page layouts. The overview of Visualforce will be there at the end of the chapter and that overview will link to Chapter 8, Building Custom Pages with Visualforce.

Chapter 4, Designing Apps for Multiple Users and Protecting Data, explains the security aspects of the Force.com platform. That means design considerations for Force.com applications, which are accommodating multiple users and the security framework of the Force.com platform.

Chapter 5, Implementing Business Processes, describes the capabilities of data validation rules and the ways of automating business processes with workflows and approval processes. The troubleshooting of automated processes are explained at the end of the chapter.

Chapter 6, Data Management on the Force.com Platform, describes typical data management operations and data management tools. There is a section to talk about the record IDs and a consideration of the object relationships in data management.

Chapter 7, Custom Coding with Apex, introduces custom coding on the Force.com platform. Apex controllers and Apex triggers will be explained with examples of the sample application. The Force.com platform query language and data manipulation language will be described with syntaxes and examples.

Chapter 8, Building Custom Pages with Visualforce, introduces Visualforce, the architecture of Visualforce, the advantages of Visualforce and the use of Visualforce. There are sections to describe Visualforce pages and Visualforce controllers with examples of the sample application. Finally, there is an explanation section on Visualforce custom components.

Chapter 9, Analytics as a Service with the Force.com Platform, introduces the reports and dashboard of the Force.com platform and analytical features of the Force.com platform.

Chapter 10, E-mail Services with the Force.com Platform, introduces the e-mail feature of the Force.com platform that allows the extension of the application out to a broader population of users, through the use of e-mails.

Chapter 11, Building Public Websites with Force.com Sites, introduces the Force.com sites that allow extending the application out into the broader population of users, through the use of the public website.

Chapter 12, Deploying the Force.com Application, introduces deployment methodologies that allow for the distribution of Force.com applications to other end users.

Appendix, Force.com Tools, explains Force.com tools by looking at the Force.com IDE.

What you need for this book

The prerequisites for the Force.com platform are:

  • A basic knowledge of Internet/websites

  • An overview knowledge of cloud computing

Who this book is for

This book is aimed at both beginners to Force.com development and developers who already have some experience with Force.com application development and are looking forward to taking your Force.com application development skills to the next level.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "We can reference a static resource by name in page markup by using the $Resource global variable instead of hardcoding document ID."

A block of code is set as follows:

global class ProcessApplicants implements Messaging.InboundEmailHandler
{
global Messaging.InboundEmailResult handleInboundEmail(Messaging.InboundEmail email, Messaging.InboundEnvelope env)
{
Messaging.InboundEmailResult result = new Messaging.InboundEmailresult();
return result;
}
}

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on Next. Then you will get the last step called Add custom related lists".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.