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!
* Use design patterns to write better code, faster
* Implement common architectural, structural, and behavioral design patterns
* See design patterns in action with real-world SAP applications
Creational Design Patterns
Create objects with the abstract factory, 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.
* 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