Design Patterns in ABAP Objects
暫譯: ABAP 物件中的設計模式
Koseoglu, Kerem
- 出版商: SAP Press
- 出版日期: 2016-11-24
- 售價: $2,810
- 貴賓價: 9.5 折 $2,670
- 語言: 英文
- 頁數: 387
- 裝訂: Hardcover - also called cloth, retail trade, or trade
- ISBN: 1493214640
- ISBN-13: 9781493214648
-
相關分類:
Design Pattern
無法訂購
相關主題
商品描述
Use design patterns to step up your object-oriented ABAP game, starting with MVC Want to create objects only when needed? Call objects only when required, minimizing runtime and memory costs? Reduce errors and effort by only coding an object once? Future-proof your code with a flexible design? Design patterns are the answer With this guide, you'll get practical examples for every design pattern that will have you writing readable, flexible, and reusable code in no time
Creational Design Patterns Create objects with the abstract factor, builder, factory, lazy initialization, multiton, prototype, and singleton design patterns
Structural Design Patterns Allow objects to interact and work together without interdependency with the adapter, bridge, composite, data access object, decorator, fa ade, flyweight, property container, and proxy design patterns.
Behavioral Design Patterns Increase the flexibility of your object communication with the chain of responsibility, command, mediator, memento, observer, servant, state, strategy, template method, and visitor design patterns.
Highlights:
- MVC (model, view, controller) pattern
- Singleton pattern
- Factory pattern
- Builder pattern
- Observer pattern
- Visitor pattern
- Lazy initialization pattern
- Template method
- Strategy pattern
- Decorator pattern
- ABAP-specific examples
- Anti-patterns
商品描述(中文翻譯)
使用設計模式提升您的物件導向 ABAP 技能,從 MVC 開始。想要在需要時才創建物件?僅在必要時調用物件,最小化運行時和記憶體成本?通過僅編碼一次物件來減少錯誤和工作量?用靈活的設計未來證明您的程式碼?設計模式就是答案。透過本指南,您將獲得每個設計模式的實用範例,讓您迅速編寫可讀、靈活且可重用的程式碼。
創建型設計模式 使用抽象工廠、建造者、工廠、延遲初始化、多例、原型和單例設計模式創建物件。
結構型設計模式 允許物件之間互動並協同工作,而不需要相互依賴,使用適配器、橋接、組合、資料存取物件、裝飾者、外觀、享元、屬性容器和代理設計模式。
行為型設計模式 通過責任鏈、命令、調解者、備忘錄、觀察者、服務者、狀態、策略、模板方法和訪問者設計模式來提高物件通信的靈活性。
重點:
- MVC(模型、視圖、控制器)模式
- 單例模式
- 工廠模式
- 建造者模式
- 觀察者模式
- 訪問者模式
- 延遲初始化模式
- 模板方法
- 策略模式
- 裝飾者模式
- ABAP 特定範例
- 反模式