Apex Design Patterns

Jitendra Zaa, Anshul Verma

  • 出版商: Packt Publishing
  • 出版日期: 2016-04-20
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 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 中應用物件導向原則,設計堅固且高效的解決方案,應對各種業務問題。
- 瞭解在 Apex 中使用不同設計模式的好處和適用性。
- 解決在實例化、結構化和賦予 Apex 類別動態行為時遇到的問題。
- 瞭解在應用程式中實現創建、結構、行為、並行和反模式。
- 遵循 Apex 最佳實踐,解決管理限制問題。
- 瞭解 Apex 中的繼承、抽象類別、多型性,以處理物件機制。
- 掌握各種設計模式,並確定最適合的模式。
- 探索無法應用於 Apex 的反模式及其適當解決方案。

詳細內容
Apex 是一種即時的程式語言,提供了一整套功能,用於構建業務應用程式,包括數據模型和對象管理。Apex 是 Salesforce 的專有程式語言,用於多租戶環境,與傳統的 Java 和 C# 等物件導向程式語言有很大的不同。它充當數據協作管理的工作流引擎,用於處理表單和其他交互的用戶界面模型,以及用於編程訪問和集成的 SOAP API。

《Apex 設計模式》讓您深入了解在 Force.com 平台上開發時可能遇到的幾種問題情況,以及使用設計模式解決這些問題的方法。書中包含了實際案例,從學習 Apex 可提供的設計模式開始,逐步實施適合您自己應用程式的模式。此外,我們還學習了處理物件創建機制的創建模式,以及有助於識別實體之間關係的結構模式。同時,我們還介紹了行為和並行模式,分別解釋了物件之間的通信和多線程編程範式。接著,我們討論了有關類的結構、實例化或如何在運行時提供動態行為的問題,並提供了反模式的幫助。我們以多態和模塊化的方式學習基本的物件導向原則,以增強其功能。同時,解釋了編寫 Apex 代碼的最佳實踐,以區分適當模式的實現。本書還將解釋一些可應用於解決管理限制的獨特模式。

通過閱讀本書,您將成為在 Salesforce 的 Force.com 平台上開發應用程式的大師。