万本电子书0元读

万本电子书0元读

顶部广告

Mastering Application Development with Force.com电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Kevin J. Poorman

出  版  社:Packt Publishing

出版时间:2016-01-28

字       数:129.9万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Design and develop state-of-the-art applications using Force.com's powerful development platformAbout This BookFlaunt your skillsets by developing complex applications that include demanding concepts such as triggers, Visualforce controllers, batch jobs, and Lightning componentsEarn the gratitude of your colleagues by structuring a project so that multiple developers can work independently of each otherKevin Poorman, the author of the book and a Force.com MVP, shares his years of Force.com knowledge and experience with you through the medium of telling examplesWho This Book Is ForIf you're a Force.com developer with a fundamental understanding of Apex and JavaScript but now want to enhance your skills with tips, tricks, and guidance on the best architectural and engineering practices, then this book is for you.What You Will LearnCreating triggers, and the best practices for writing themDeveloping a number of Visualforce controllers and extensionsIntegrating third-party web APIs into your Apex codeWriting unit tests that cover testing bulk safety, user and profile settings, and negative testsCreating a Lightning component for use in Salesforce1Getting acquainted with various methods for deploying metadata between orgsUsing the Rest sObject API for access to Salesforce objects and data using the REST methodologyLearning about overarching architectural considerations such as naming conventions, testing practices, and data modeling practicesIn DetailForce.com is an extremely powerful, scalable, and secure cloud platform, delivering a complete technology stack, ranging from databases and security to workflow and the user interface. With salesforce.com's Force.com cloud platform, you can build any business application and run it on your servers.The book will help you enhance your skillset and develop complex applications using Force.com. It gets you started with a quick refresher of Force.com's development tools and methodologies, and moves to an in-depth discussion of triggers, bulkification, DML order of operations, and trigger frameworks. Next, you will learn to use batchable and schedulable interfaces to process massive amounts of information asynchronously. You will also be introduced to Salesforce Lightning and cover components—including backend (apex) controllers, frontend (JavaScript) controllers, events, and attributes—in detail.Moving on, the book will focus on testing various apex components: what to test, when to write the tests, and—most importantly—how to test. Next, you will develop a changeset and use it to migrate your code from one org to another, and learn what other tools are out there for deploying metadata. You will also use command-line tools to authenticate and access the Force.com Rest sObject API and the Bulk sObject API; additionally, you will write a custom Rest endpoint, and learn how to structure a project so that multiple developers can work independently of each other without causing metadata conflicts.Finally, you will take an in-depth look at the overarching best practices for architecture (structure) and engineering (code) applications on the Force.com platform.Style and approach A step-by-step tutorial, with plenty of tips and tricks that will help you develop complex Force.com applications.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部