Force.com Enterprise Architecture - Second Edition

Architect and deliver packaged Force.com applications that cater to enterprise business needsA must-read for all Force.com Architects!

Force.com Enterprise Architecture - Second Edition

Andrew Fawcett

Architect and deliver packaged Force.com applications that cater to enterprise business needsA must-read for all Force.com Architects!
Mapt Subscription
FREE
$29.99/m after trial
eBook
$33.60
RRP $47.99
Save 29%
Print + eBook
$59.99
RRP $59.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$33.60
$59.99
$29.99p/m after trial
RRP $47.99
RRP $59.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781786463685
Paperback504 pages

Book Description

Companies of all sizes have seen the need for Force.com's architectural strategy focused on enabling their business objectives. Successful enterprise applications require planning, commitment, and investment in the best tools, processes, and features available.

This book will teach you how to architect and support enduring applications for enterprise clients with Salesforce by exploring how to identify architecture needs and design solutions based on industry standard patterns. There are several ways to build solutions on Force.com, and this book will guide you through a logical path and show you the steps and considerations required to build packaged solutions from start to finish. It covers all aspects, from engineering to getting your application into the hands of your customers, and ensuring that they get the best value possible from your Force.com application. You will get acquainted with extending tools such as Lightning App Builder, Process Builder, and Flow with your own application logic. In addition to building your own application API, you will learn the techniques required to leverage the latest Lightning technologies on desktop and mobile platforms.

Table of Contents

Chapter 1: Building, Publishing, and Supporting Your Application
Required organizations
Introducing the book's sample application
Package types and benefits
Creating your first managed package
Package dependencies and uploading
Becoming a Salesforce partner and benefits
Introduction to AppExchange and listings
Installing and testing your package
Licensing
Providing support
Customer metrics
Trialforce and Test Drive
Summary
Chapter 2: Leveraging Platform Features
Packaging and upgradable components
Understanding the custom field features
Understanding the available security features
Platform APIs
Localization and translation
Building customizable user interfaces
E-mail customization with e-mail templates
Process Builder, Workflow and Flow
Social features and mobile
Summary
Chapter 3: Application Storage
Mapping out end user storage requirements
Understanding the different storage types
Reusing the existing Standard Objects
Importing and exporting data
Options for replicating and archiving data
External data sources
Summary
Chapter 4: Apex Execution and Separation of Concerns
Execution contexts
Apex governors and namespaces
Where is Apex used?
Separation of Concerns
Patterns of Enterprise Application Architecture
Unit testing versus system testing
Packaging the code
Summary
Chapter 5: Application Service Layer
Introducing the Service layer pattern
Implementation of design guidelines
Handling DML with the Unit Of Work pattern
Services calling services
Contract Driven Development
Testing the Service layer
Calling the Service layer
Summary
Chapter 6: Application Domain Layer
Introducing the Domain layer pattern
Implementation design guidelines
Domain class template
Implementing Domain Trigger logic
Implementing custom Domain logic
Object-oriented programming
Testing the Domain layer
Calling the Domain layer
Updating the FormulaForce package
Summary
Chapter 7: Application Selector Layer
Introducing the Selector layer pattern
Implementing design guidelines
The Selector class template
Implementing the standard query logic
Implementing custom query logic
Introducing the Selector factory
Updating the FormulaForce package
Summary
Chapter 8: User Interface
Which devices should you target?
Introducing Salesforce Standard UIs and Lightning
Leveraging the Salesforce standard UIs
Generating downloadable content
Generating printable content
Client server communication
Managing limits
Object and field-level security
Managing performance and response times
Using the Service layer and database access
Considerations for using JavaScript libraries
Custom Publisher Actions
Creating websites and communities
Mobile application strategy
Custom reporting and the Analytics API
Updating the FormulaForce package
Summary
Chapter 9: Lightning
Building a basic Lightning user interface
Lightning architecture
FormulaForce Lightning Components
Making components customizable
Integrating with Lightning Experience
Lightning Out and Visualforce
Integrating with communities
Testing
Updating the FormulaForce package
Summary
Chapter 10: Providing Integration and Extensibility
Reviewing your integration and extensibility needs
Force.com platform APIs for integration
Application integration APIs
Exposing Lightning Components
Extending Process Builder and Visualflow
Alignment with Force.com extensibility features
Extending the application logic with Apex interfaces
Summary
Chapter 11: Asynchronous Processing and Big Data Volumes
Creating test data for volume testing
Indexes, being selective, and query optimization
Skinny tables
Asynchronous execution contexts
Volume testing
Summary
Chapter 12: Unit Testing
Comparing Unit testing and Integration Testing
Dependency Injection, Mocking, and Unit Testing
Writing Unit Tests with the Apex Stub API
ApexMocks and Apex Enterprise Patterns
Summary
Chapter 13: Source Control and Continuous Integration
Development workflow and infrastructure
Developing with Source Control
Hooking up Continuous Integration
Releasing from Source Control
Automated regression testing
Summary

What You Will Learn

  • Package, install, test, and upgrade an application
  • Define architecture-aligning data storage and functional requirements
  • Develop Apex code that is easy to navigate, self-documenting, testable, robust, and organic
  • Leverage your application’s clientagnostic Service layer backbone to support numerous platform areas
  • Get the most from hosting your application within the Lightning Experience and Salesforce1 Mobile clients
  • Apply querying, indexing, and asynchronous best practices
  • Leverage mocking and dependency injection in your Apex tests
  • Explore tips for developing advanced applications

Authors

Table of Contents

Chapter 1: Building, Publishing, and Supporting Your Application
Required organizations
Introducing the book's sample application
Package types and benefits
Creating your first managed package
Package dependencies and uploading
Becoming a Salesforce partner and benefits
Introduction to AppExchange and listings
Installing and testing your package
Licensing
Providing support
Customer metrics
Trialforce and Test Drive
Summary
Chapter 2: Leveraging Platform Features
Packaging and upgradable components
Understanding the custom field features
Understanding the available security features
Platform APIs
Localization and translation
Building customizable user interfaces
E-mail customization with e-mail templates
Process Builder, Workflow and Flow
Social features and mobile
Summary
Chapter 3: Application Storage
Mapping out end user storage requirements
Understanding the different storage types
Reusing the existing Standard Objects
Importing and exporting data
Options for replicating and archiving data
External data sources
Summary
Chapter 4: Apex Execution and Separation of Concerns
Execution contexts
Apex governors and namespaces
Where is Apex used?
Separation of Concerns
Patterns of Enterprise Application Architecture
Unit testing versus system testing
Packaging the code
Summary
Chapter 5: Application Service Layer
Introducing the Service layer pattern
Implementation of design guidelines
Handling DML with the Unit Of Work pattern
Services calling services
Contract Driven Development
Testing the Service layer
Calling the Service layer
Summary
Chapter 6: Application Domain Layer
Introducing the Domain layer pattern
Implementation design guidelines
Domain class template
Implementing Domain Trigger logic
Implementing custom Domain logic
Object-oriented programming
Testing the Domain layer
Calling the Domain layer
Updating the FormulaForce package
Summary
Chapter 7: Application Selector Layer
Introducing the Selector layer pattern
Implementing design guidelines
The Selector class template
Implementing the standard query logic
Implementing custom query logic
Introducing the Selector factory
Updating the FormulaForce package
Summary
Chapter 8: User Interface
Which devices should you target?
Introducing Salesforce Standard UIs and Lightning
Leveraging the Salesforce standard UIs
Generating downloadable content
Generating printable content
Client server communication
Managing limits
Object and field-level security
Managing performance and response times
Using the Service layer and database access
Considerations for using JavaScript libraries
Custom Publisher Actions
Creating websites and communities
Mobile application strategy
Custom reporting and the Analytics API
Updating the FormulaForce package
Summary
Chapter 9: Lightning
Building a basic Lightning user interface
Lightning architecture
FormulaForce Lightning Components
Making components customizable
Integrating with Lightning Experience
Lightning Out and Visualforce
Integrating with communities
Testing
Updating the FormulaForce package
Summary
Chapter 10: Providing Integration and Extensibility
Reviewing your integration and extensibility needs
Force.com platform APIs for integration
Application integration APIs
Exposing Lightning Components
Extending Process Builder and Visualflow
Alignment with Force.com extensibility features
Extending the application logic with Apex interfaces
Summary
Chapter 11: Asynchronous Processing and Big Data Volumes
Creating test data for volume testing
Indexes, being selective, and query optimization
Skinny tables
Asynchronous execution contexts
Volume testing
Summary
Chapter 12: Unit Testing
Comparing Unit testing and Integration Testing
Dependency Injection, Mocking, and Unit Testing
Writing Unit Tests with the Apex Stub API
ApexMocks and Apex Enterprise Patterns
Summary
Chapter 13: Source Control and Continuous Integration
Development workflow and infrastructure
Developing with Source Control
Hooking up Continuous Integration
Releasing from Source Control
Automated regression testing
Summary

Book Details

ISBN 139781786463685
Paperback504 pages
Read More

Read More Reviews

Recommended for You

Force.com Enterprise Architecture Book Cover
Force.com Enterprise Architecture
$ 35.99
$ 25.20
Apex Design Patterns Book Cover
Apex Design Patterns
$ 35.99
$ 25.20
Salesforce Platform App Builder Certification Handbook Book Cover
Salesforce Platform App Builder Certification Handbook
$ 35.99
$ 25.20
Force.com Development Blueprints Book Cover
Force.com Development Blueprints
$ 32.99
$ 23.10
Learning Apex Programming Book Cover
Learning Apex Programming
$ 26.99
$ 18.90
Learning Salesforce Visual Workflow Book Cover
Learning Salesforce Visual Workflow
$ 39.99
$ 28.00