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

This ebook is included in a Mapt subscription
Andrew Fawcett

Architect and deliver packaged Force.com applications that cater to enterprise business needsA must-read for all Force.com Architects!
$10.00
$59.99
RRP $47.99
RRP $59.99
eBook
Print + eBook
Access every Packt eBook & Video for just $100
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Find Out More
 
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