售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Mastering Application Development with Force.com
Table of Contents
Mastering Application Development with Force.com
Credits
About the Author
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. A Conceptual Overview of Application Development on the Salesforce1 Platform
Developing for the cloud
Identifying the development tools
Object-oriented building blocks of Force.com development
Learning to master Salesforce1 development
Using the Salesforce developer console
Opening and creating metadata
Running SOQL and SOSL queries
Running unit tests
Creating and opening Lightning Components
Opening and reading debug logs and adjusting log levels
An anonymous Apex execution
Addressing problems
Developer console exercises
Summary
2. Architecting Sustainable Triggers Using a Trigger Framework
An overview of triggers
Context is king
Trigger variables
An example trigger
Safety in numbers
Infinite cosmic power, itty bitty safety rope
The SFDC-trigger-framework
A cautionary note
Using the framework
Summary
3. Asynchronous Apex for Fun and Profit
Using batchable classes
Additional extensions
Schedulable classes
Monitoring
Scheduling from Apex
Testing schedulable classes
Exploring @future annotated methods
When to use the @future annotation on methods
Queueable classes
Testing Queueable classes
Knowing when to use what
Summary
4. Lightning Concepts
The Lightning Process Builder
The @InvocableActions interface
Other caveats
Process Builder wrap up
Lightning Connect
Limitations
Example use cases
Lightning Components
Component files
@auraEnabled Apex
Lightning future
Lightning App Builder
Summary
5. Writing Efficient and Useful Unit Tests
Why do we write unit tests?
Proving functionality
Reducing the cost of change
Encouraging modular, reusable code
Identifying engineering bugs you didn't write
Documenting expected behavior
Tests + code = less likely to produce bugs
What not to test?
Managed package code
Standard platform features
When to write unit tests
Structuring unit tests
Using your own data
Starting and stopping your tests
Executing your code
Positive tests
Negative tests
Permissions-based tests
Assertions
Creating your own assertion methods
Mocking
Tips and tricks for efficient testing
Summary
6. Deploying Your Code
What does it mean to deploy?
The Ant migration toolkit
Targets, macros, and built-ins
Build properties
Choosing metadata
Alas, I have become destructiveChanges.xml, destroyer of orgs
The Force.com IDE deployments
Change is good
Summary
7. Using, Extending, and Creating API Integrations
In the beginning, we physically moved tapes around
SOAP then REST – the evolution of modern APIs
I oAuth, therefore I am
Achievement unlocked – access token
Putting it all together
Bulk data for everyone! Look under your seat!
All good things have their limits
Use cases for the bulk API
Creating your own API
Let there be new records!
Updating all that data
Another one bites the dust
The other way
Heavy lifting
Putting it all together
Summary
8. Team Development with the Salesforce1 Platform
But we've always done it that way!
Exacerbating the issues
Technology to the rescue – caveat audiens
The moving parts
A high-level narrative overview
Making it all work
Impressionism versus Cubism
All for one, and one for all
Summary
9. My Way – A Prescriptive Discussion of Application Development on Salesforce1
Keep it simple
Code reviews – pointed questions for Apex code review
I've said it before, and I'll say it again—tests help you
Make tools, and compose applications
Work as a team
Level up
Model your data
Using and abusing the platform – hic sunt dracones (here be dragons)
Summary
Where to go from here
Podcasts
Online help, training, and chat
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜