Development with the Platform: Building Business Applications in the Cloud [NOOK Book]


This is the eBook version of the printed book.

Build Cloud-Based Enterprise Applications Fast—and Drive More Value at Lower Cost! Using the platform, enterprise developers can build and deploy powerful applications far more rapidly than traditional J2EE, Microsoft .NET, or LAMP technology stacks permit. With a free subscription to the platform, developers can build apps that solve virtually any enterprise challenge with remarkable value, scalability, and ...

See more details below
Development with the Platform: Building Business Applications in the Cloud

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$22.99 price
(Save 42%)$39.99 List Price


This is the eBook version of the printed book.

Build Cloud-Based Enterprise Applications Fast—and Drive More Value at Lower Cost! Using the platform, enterprise developers can build and deploy powerful applications far more rapidly than traditional J2EE, Microsoft .NET, or LAMP technology stacks permit. With a free subscription to the platform, developers can build apps that solve virtually any enterprise challenge with remarkable value, scalability, and reliability. This is the first book that brings together all the practical, technical guidance you need to make the most of in your own custom enterprise applications. Leading developer Jason Ouellette helps you identify suitable uses for and provides all the insights and sample code needed to rapidly prototype, deploy, and integrate with production-quality applications. Ouellette provides realistic code examples at every step, emphasizing maintainability, flexibility, and interoperability throughout. Writing for developers, architects, and analysts, he shows how to • Create custom enterprise apps on in days or weeks, not months or years • Leverage’s extensive capabilities for storing, managing, and securing data • Quickly create sophisticated business logic with the Apex programming language • Use Visualforce to construct custom user interfaces • Establish automated or semiautomated workflows • Implement Ajax behaviors without writing JavaScript code or learning new JavaScript libraries • Integrate data and processes with other applications, inside and outside the platform • Display reports as state-of-the-art dashboards • Integrate applications with existing Single Sign-On systems NOTE: This Safari Rough Cut is an early version of the manuscript currently being written by the author. New chapters and content will be posted here as the author completes them. Feedback that will help the author improve upon the content is welcome.

Read More Show Less

Product Details

  • ISBN-13: 9780321648044
  • Publisher: Pearson Education
  • Publication date: 10/20/2009
  • Series: Developer's Library
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 432
  • Sales rank: 616,526
  • File size: 17 MB
  • Note: This product may take a few minutes to download.

Meet the Author

Jason Ouellette has been working with since 2004. He developed three of the ten most popular applications on AppExchange, the official application marketplace, including the #1 most installed application, Appirio Calendar Sync for Salesforce and Google Apps. He is Chief Architect for Appirio, a leading Independent Software Vendor and Salesforce Consulting partner. He has been inventing cutting-edge enterprise software for more than 13 years. Prior to joining Appirio, he served as a director of R&D for application products at Composite Software, where he led development of data services for Siebel, SAP, and At webMethods, he helped architect the industry’s first XML-based B2B server.

He lives with his wife and two geriatric cats in San Francisco, California.

Read More Show Less

Table of Contents

Foreword xvi

Preface xix

Acknowledgments xxi

About the Author xxii

Chapter 1 Introducing 1 in the Cloud Computing Landscape 1

Platform as a Service (PaaS) 2 as a Platform 4 Services 7

Inside a Project 9

Project Selection 9

Team Selection 11

Lifecycle 12

Tools and Resources 15

Sample Application: Services Manager 17

Background 17

User Roles 18

Development Plan 18

Summary 19

Chapter 2 Database Essentials 21

Overview of’s Database 21

Objects 21

Fields 23

Relationships 25

Query Language 25

Data Integration 28

Working with Custom Objects 31 Developer Edition 31

Tools for Custom Objects 31

Object Creation 33

Field Creation 36

Entering and Browsing Data 38

Sample Application: Data Model 41

Logical Data Model 41 Data Model 47

Implementing the Data Model 50

Importing Data 55

Summary 60

Chapter 3 Database Security 63

Overview of Database Security 63

Object-Level Security 65

Profiles 66

Field-Level Security 67

Record-Level Security 69

Record Ownership 69

User Groups 70

Sharing Model 70

Sample Application: Securing Data 73

Designing the Security Model 74

Implementing the Security Model 78

Testing the Security Model 83

Summary 88

Chapter 4 Additional Database Features 89

Dependent Fields 90

Record Types 90

Defining Record Types 91

Securing Record Types 92

Using Record Types 93

Roll-Up Summary Fields 95

Field History Tracking 97

Tags 98

Enabling Tags 99

Using Tags 99 Connect Offline 100

Administration of Connect Offline 100

Using Connect Offline 102

Sample Application: Applying the Features 103

Dependent Fields for Skill Types 104

Roll-Up Summary Fields for Project Reporting 104 Connect Offline for Staffing 107

Summary 109

Chapter 5 Business Logic 111

Introduction to Apex 112

Introducing the IDE 113

Installation 113 Perspective 113 Projects 114

Problems View 115

Schema Explorer 115

Apex Test Runner View 116

Execute Anonymous View 116

Apex Language Basics 116

Variables 117

Operators 121

Arrays and Collections 122

Control Logic 124

Understanding Governor Limits 129

Database Integration in Apex 130

Database Records as Objects 130

Database Queries 132

Persisting Database Records 137

Database Triggers 139

Database Security in Apex 142

Object-Oriented Apex 143

Encapsulation 143

Information Hiding 147

Modularity 148

Inheritance 149

Polymorphism 150

Debugging and Testing 151

Debugging 151

Testing 154

Sample Application: Validating Timecards 155 IDE Setup 156

Creating the Trigger 156

Unit Testing 157

Summary 159

Chapter 6 Advanced Business Logic 161

Additional SOQL Features 161

Inner Join and Outer Join 162

Semi-Join and Anti-Join 163

Multi-Select Picklists 166

Salesforce Object Search Language (SOSL) 167

SOSL Basics 167

SOSL in Apex 168

Transaction Processing 170

Data Manipulation Language (DML) Database Methods 170

Savepoints 171

Record Locking 173

Apex Managed Sharing 174

Sharing Objects 175

Creating Sharing Rules in Apex 176

Sending and Receiving Email 180

Sending Email 181

Receiving Email 185

Dynamic Apex 187

Dynamic Database Queries 188

Schema Metadata 189

Sample Application: Adding Email Notifications 192

Summary 193

Chapter 7 User Interfaces 195

Introduction to Visualforce 196

Overview of Visualforce 196

Getting Started with Visualforce 198

Visualforce Controllers 201

Standard Controllers 201

Custom Controllers 203

Controller Extensions 206

View Components 207

View Component Basics 208

Data Components 210

Action Components 213

Primitive Components 214 Components 215 User Interface Components 218

Visualforce and the Native User Interface 222

Standard Pages 222

Standard Buttons 224

Page Layouts 225

Custom Buttons and Links 226

Custom Tabs 227

Visualforce in Production 227

Security 228

Error Handling 230

Governor Limits 232

Unit Tests 232

Sample Application: Skills Matrix 233

Basic Implementation 234

Full Implementation 235

Implementation Walkthrough 236

Summary 242

Chapter 8 Advanced User Interfaces 245

Asynchronous Actions 245

Partial Page Refresh 246

Action as JavaScript Function 247

Action as Timed Event 248

Action as JavaScript Event 249

Indicating Action Status 250

Modular Visualforce 252

Static Resources 252

Inclusion 253

Composition 253

Custom Visualforce Components 255

Extending Visualforce 257

Using JavaScript Libraries 257

Adobe Flex and Visualforce 258 Sites 264

Sample Application: Enhanced Skills Matrix 268

Summary 272

Chapter 9 Integration 273 Integration Solutions 273

Outbound Messaging 274

Salesforce-to-Salesforce (S2S) 279

Developing Custom Integrations 288

Calling Web Services from Apex Code 289

Using HTTP Integration 290

Sample Application: Anonymous Benchmarking 293

Visualforce Page Design 294

Visualforce Controller Design 295

Integrating the Web Service 296

Sample Implementation 299

Summary 302

Chapter 10 Advanced Integration 303

Understanding Web Services 304

Basics of Web Services 304

Generating the Web Service Client 306

Logging In 310 Data Types in SOAP 313

Error Handling 314

Using the Enterprise API 314

Retrieving Records 315

Writing Records 317

Building Custom Web Services in Apex 319

Understanding Custom Web Services 320

Service Definition 321

Calling a Custom Web Service 322

Introduction to the Metadata API 323

Overview 323

Getting Started with the Metadata API 324

Sample Application: Database Integration 326

Integration Scenario 326

Implementation Strategy 326

Sample Implementation 327

Summary 330

Chapter 11 Additional Platform Features 333

Workflow and Approvals 333

Introduction to Workflow 334

Getting Started with Approval Processes 335

Introduction to Analytics 342

Working with Reports 343

Configuring Dashboards 345

Using Analytic Snapshots 346 for International Organizations 347

Multilingual Support 348

Using Multiple Currencies 350

Advanced Currency Management (ACM) 353

Using Single Sign-On 354

Federated Single Sign-On 354

Delegated Single Sign-On 359

Sample Application: Project Map Dashboard 362

Summary 368

Index 369

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)