Apex Design Patterns
暫譯: Apex 設計模式
Jitendra Zaa, Anshul Verma
- 出版商: Packt Publishing
- 出版日期: 2016-04-20
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 256
- 裝訂: Paperback
- ISBN: 178217365X
- ISBN-13: 9781782173656
-
相關分類:
Design Pattern
海外代購書籍(需單獨結帳)
商品描述
Harness the power of Apex Design patterns to build robust and scalable code architecture 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
商品描述(中文翻譯)
利用 Apex 設計模式的力量,在 Force.com 平台上構建穩健且可擴展的代碼架構
本書介紹
- 應用創建型、結構型和行為型模式於 Apex,以解決治理限制問題。
- 掌握 Apex 中需要注意的反模式,這些反模式可能對應用程序產生不利影響。
- 作者 Jitendra Zaa 是 Salesforce MVP,Anshul Verma 在應用開發領域擁有超過 12 年的經驗。
本書適合誰閱讀
如果您是一位具備 Apex 工作知識的合格開發者,並希望深入了解 Apex 設計模式以優化應用性能,那麼這本書適合您。建議具備 Salesforce 和 Force.com 平台的先前知識。
您將學到什麼
- 在 Apex 中應用物件導向程式設計(OOP)原則,設計穩健且高效的解決方案,以解決業務問題的各個方面
- 掌握在 Apex 中使用不同設計模式的好處和適用性
- 在實例化、結構化和賦予 Apex 類動態行為時解決問題
- 理解創建型、結構型、行為型、併發型和反模式在您的應用中的實現
- 遵循 Apex 最佳實踐以解決治理限制問題
- 了解繼承、抽象類別和多型在 Apex 中的應用,以處理物件機制
- 掌握各種設計模式並確定最佳選擇
- 探索不適用於 Apex 的反模式及其適當解決方案
詳細內容
Apex 是一種按需編程語言,提供了一整套構建業務應用的功能,包括數據模型和對象來管理數據。Apex 作為 Salesforce 的專有編程語言,需在多租戶環境中運行,與傳統的 OOP 語言如 Java 和 C# 有很大不同。它充當用戶之間數據協作的工作流引擎,處理表單和其他交互的用戶界面模型,以及用於編程訪問和集成的 SOAP API。
Apex 設計模式讓您深入了解在 Force.com 平台開發過程中可能出現的幾種問題情況,以及使用設計模式來解決這些問題。這本書充滿了現實生活中的例子,帶您從學習 Apex 提供的設計模式,到在您自己的應用中實施適當的模式。此外,我們還學習了處理對象創建機制的創建型模式和幫助識別實體之間關係的結構型模式。同時,行為型和併發型模式也被提出,分別解釋了對象之間的通信和多線程編程範式。接下來,我們將處理有關類的結構、實例化或如何在運行時賦予動態行為的問題,並借助反模式來解決。我們以多型和模組化的方式學習基本的 OOP 原則,以增強其能力。此外,還解釋了編寫 Apex 代碼的最佳實踐,以區分適當模式的實現。本書還將解釋一些獨特的模式,這些模式可以用來繞過治理限制。
在本書結束時,您將成為在 Force.com 上為 Salesforce 開發應用的高手。