Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Force.com Enterprise Architecture. - Second Edition

You're reading from  Force.com Enterprise Architecture. - Second Edition

Product type Book
Published in Mar 2017
Publisher Packt
ISBN-13 9781786463685
Pages 504 pages
Edition 2nd Edition
Languages

Table of Contents (23) Chapters

Force.com Enterprise Architecture - Second Edition
Credits
Foreword
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
Building, Publishing, and Supporting Your Application Leveraging Platform Features Application Storage Apex Execution and Separation of Concerns Application Service Layer Application Domain Layer Application Selector Layer User Interface Lightning Providing Integration and Extensibility Asynchronous Processing and Big Data Volumes Unit Testing Source Control and Continuous Integration Index

Contract Driven Development


If you have a large piece of functionality to develop, with a complex Service layer and user interface client logic, it can be an advantage to decouple these two streams of development activity so that developers can continue in parallel, meeting up sometime in the future to combine efforts.

An approach to this is sometimes referred to as Contract Driven Development. This is where there is an agreement on a contract (or service definition) between the two development streams before they start their respective developments. Naturally, the contract can be adjusted over time, but having a solid starting point will lead to a smoother parallel development activity.

This type of development can be applied by implementing a small factory pattern within the Service layer class. The main methods on the service class are defined as normal, but their internal implementation can be routed to respective inner classes to provide an initial dummy implementation of the service...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}