Free Sample
+ Collection

Learning Apex Programming

Learning
Matt Kaufman, Michael Wicherski

Create business applications using Apex to extend and improve the usefulness of the Salesforce1 Platform
$26.99
$44.99
RRP $26.99
RRP $44.99
eBook
Print + eBook

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782173977
Paperback302 pages

About This Book

  • Create Apex triggers and classes and build interactive Visualforce pages
  • Understand best practices and workarounds to platform limitations
  • Hands-on examples that will help you create business applications using Apex quickly and efficiently

Who This Book Is For

If you are a developer who has some object-oriented programming experience, Learning Apex Programming is the perfect book for you. This book is most appropriate for developers who wish to gain an understanding of the Force.com platform and how to use Apex to create business applications.

Table of Contents

Chapter 1: Apex Assumptions and Comparisons
Before you start
A gift to our readers
Safety first
The Force.com IDE
Getting comfortable with Eclipse
Linking Eclipse to the Salesforce1 Platform
Under the hood
Data and metadata
Writing code
Summary
Chapter 2: Apex Limits
Exceptions prove the rule
Embracing an exception
An exception to end all exceptions
Obeying the speed limit
More limits
Edition limits
API limits
E-mail limits
Time and relative limits in space
You want me to process how many records?
How many times and how many things
Techniques to avoid query limits
These aren't the queries you're looking for
Visualforce limits
Summary
Chapter 3: More and Later
Chain reactions
Where we're going, we don't need roads
I fought the law and won
Please sir, I want some more
Combining forces
Bigger, better, and batchier
Dyna batch
Building skynet
Master control
Summary
Chapter 4: Triggers and Classes
A brief history of triggers
Trigger happy
Pulling the trigger
Inside the mind of a trigger
Class is in session
Staying classy
Put your hands together
Behind the scenes
The Pablo Picasso of Apex
Summary
Chapter 5: Visualforce Development with Apex
s-con, what?
Your own personal Force.com
Tag, you're it!
Taking control
Extending control
More internal goodies
Static cling
Dynamic pages
Visualforce components
Your component library
Controlling components
Summary
Chapter 6: Exposing Force.com to the World
Three ways to skin a cat
JavaScript buttons jubilee
For your consideration
My turn!
Summary
Chapter 7: Use Case – Integration with Google Calendar
Gimme an O!
Googol
Forget me not
I'm late, very, very late!
O, Auth me mighty Google!
Summary
Chapter 8: Creating a Property Management Application
Why
What
Who
How
When and Where
A custom model
Paying your dues
Mine, all mine
Ain't no mountain
Upgrade to the app status
Summary
Chapter 9: Test Coverage
@isTest
Always on my mind
Get tested
Fruits of our labour
The ultimate goal
Summary

What You Will Learn

  • Create an Eclipse workspace and a sandbox, and learn about IDE best practices
  • Write code within the limits of the platform and discover the best practices to stay out of trouble with queries
  • Understand transactional and batch processes
  • Discover classes and triggers and the best practices for using both
  • Design a Visualforce page using Apex and JavaScript
  • Customize sites to display Visualforce pages to the world
  • Integrate Google and Salesforce calendars

In Detail

Starting with the syntax and common use cases for developing in Salesforce, this book will teach you how to create and deploy applications on the fly. You will learn how to approach new projects and learn the basics of Apex, including how to use Eclipse and the sandbox.

Salesforce limits and batch processes are explained in an easy-to-understand format, and you will gain a deep understanding of triggers, classes, test coverage, and Visualforce pages. You will also discover how you can share your Force.com data and code with the outside world and how to integrate with Google calendar using Apex.

Finally, the book covers the creation of real-world web service integrations with Salesforce.com; you will create a Force.com application from start to finish using Apex as the business logic. By the end of this book, you will know all the best practices for development using Apex.

Authors

Read More