售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Learning Apex Programming
Table of Contents
Learning Apex Programming
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Instant updates on new Packt books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
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
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
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
More than meets the eye
Building skynet
More scheduling options
Master control
Summary
4. Triggers and Classes
A brief history of triggers
Trigger happy
Pulling the trigger
Execution time
Inside the mind of a trigger
All for one and one for all
Class is in session
Inner space
Share and share alike
Staying classy
Wrap it up
No libraries, no problem
Rinse, lather, and repeat
Put your hands together
Behind the scenes
The Pablo Picasso of Apex
Summary
5. Visualforce Development with Apex
s-con, what?
Your own personal Force.com
Creating a Visualforce page
Not much to see here
Tag, you're it!
Taking control
Tags that bind us
Paging the doctor variable
Actions speak louder than methods
Ajax your actions
Communication is key
Param face
Put your hands together
Extending control
More internal goodies
Global variables
Functions galore
Static cling
Dynamic pages
Creating a custom label
Creating a custom setting object
Data-driven pages
Visualforce components
Your component library
Controlling components
Summary
6. Exposing Force.com to the World
Three ways to skin a cat
Seeing is believing
What happened?
At your service
Let's REST
Getting SOAP
JavaScript buttons jubilee
For your consideration
Pros and cons
Limits
Pitfalls and gotchas
Profile permissions
Code happens
My turn!
Permissions again…
Let's get loud
Well RESTed
Console my Force.com developer
Squeaky clean
Anonymous Eclipse
Summary
7. Use Case – Integration with Google Calendar
Gimme an O!
Googol
Hello, I'm new
Ooo shiny!
Needle in a haystack
Forget me not
I'm late, very, very late!
O, Auth me mighty Google!
Manual labour
Let me google that for you
Not so fast
My, aren't we busy?
Custom settings
Picking up where we left off
Summary
8. Creating a Property Management Application
Why
What
Who
How
When and Where
A custom model
Account (standard object)
Contact (standard object)
Property (custom object)
Rental Unit
Rental Agreement (custom junction object)
Statement (custom object)
Payment (custom object)
The Authorize.net setting (custom setting)
Paying your dues
Mine, all mine
Black magic
I did it my way!
Ain't no mountain
Upgrade to the app status
Summary
9. Test Coverage
@isTest
Always on my mind
The rundown
At the parallel
Products
Batches and @future
Workflows and validation rules
Get tested
Helping hands
Itchy trigger finger
Mocking you
AI – Sans input
Batch tests
Fruits of our labour
The ultimate goal
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜