
- 256 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Apex Design Patterns
About this book
Harness the power of Apex design patterns to build robust and scalable code architectures on the Force.com platform
About This Book
- Apply Creational, Structural and behavioural patterns in Apex to fix governor limit issues.
- Have a grasp of the anti patterns to be taken care in Apex which could have adverse effect on the application.
- The authors, Jitendra Zaa is a salesforce MVP and Anshul Verma has 12+ years of experience in the area of application development.
Who This Book Is For
If you are a competent developer with working knowledge of Apex, and now want to deep dive into the world of Apex design patterns to optimize the application performance, then this book is for you. Prior knowledge of Salesforce and Force.com platform is recommended.
What You Will Learn
- Apply OOPs principal in Apex to design a robust and efficient solution to address various facets to a business problem
- Get to grips with the benefits and applicability of using different design patterns in Apex
- Solve problems while instantiating, structuring and giving dynamic behavior to Apex classes
- Understand the implementation of creational, structural, behavioral, concurrency and anti-patterns in your application
- Follow the Apex best practices to resolve governor limit issues
- Get clued up about the Inheritance, abstract classes, polymorphism in Apex to deal with the object mechanism
- Master various design patterns and determine the best out of them
- Explore the anti patterns that could not be applied to Apex and their appropriate solutions
In Detail
Apex is an on-demand programming language providing a complete set of features for building business applications – including data models and objects to manage data. Apex being a proprietor programming language from Salesforce to be worked with multi tenant environment is a lot different than traditional OOPs languages like Java and C#. It acts as a workflow engine for managing collaboration of the data between users, a user interface model to handle forms and other interactions, and a SOAP API for programmatic access and integration.
Apex Design Patterns gives you an insight to several problematic situations that can arise while developing on Force.com platform and the usage of Design patterns to solve them. Packed with real life examples, it gives you a walkthrough from learning design patterns that Apex can offer us, to implementing the appropriate ones in your own application. Furthermore, we learn about the creational patterns that deal with object creation mechanism and structural patterns that helps to identify the relationship between entities. Also, the behavioural and concurrency patterns are put forward explaining the communication between objects and multi-threaded programming paradigm respectively. We later on, deal with the issues regarding structuring of classes, instantiating or how to give a dynamic behaviour at a runtime, with the help of anti-patterns. We learn the basic OOPs principal in polymorphic and modular way to enhance its capability. Also, best practices of writing Apex code are explained to differentiate between the implementation of appropriate patterns. This book will also explain some unique patterns that could be applied to get around governor limits.
By the end of this book, you will be a maestro in developing your applications on Force.com for Salesforce
Style and approach
This book is a step-by-step guide, complete with well-tested programs and real world situations to solve your common occurring problems in Apex design by using the anti-patterns. It gets crackling from exploring every appropriate solution to comparing the best one as per OOps principal.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Apex Design Patterns
Apex Design Patterns
Credits
| Authors Jitendra Zaa Anshul Verma | Copy Editor Rashmi Sawant |
| Reviewer John M. Daniel | Project Coordinator Nidhi Joshi |
| Commissioning Editor Julian Ursell | Proofreader Safis Editing |
| Acquisition Editor Nadeem Bagban | Indexer Priya Sane |
| Content Development Editor Aishwarya Pandere | Production Coordinator Shantanu N. Zagade |
| Technical Editor Madhunikita Sunil Chindarkar | Cover Work Shantanu N. Zagade |
About the Authors
@toanshulverma.@JitendraZaa.About the Reviewer
@ImJohnMDaniel.I would like to thank my wife, Allison, for always giving me the freedom to pursue my interests.
www.PacktPub.com
eBooks, discount offers, and more
<[email protected]> for more details.
Why subscribe?
- Fully searchable across every book published by Packt
- Copy and paste, print, and bookmark content
- On demand and accessible via a web browser
Free access for Packt account holders
@PacktEnterprise on Twitter or the Packt Enterprise Facebook page.Preface
Table of contents
- Apex Design Patterns
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app