Download .zip |
Info | Example | View files (43) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2016-07-28 (1 year ago) | 76% | Total: 289 | All time: 7,216 This week: 521 |
Version | License | PHP version | Categories | |||
dp2 1.0.1 | GNU General Publi... | 5 | PHP 5, Design Patterns |
Description | Author | |
This package implements several well known design patterns. |
This repo is an example for my second Design Pattern workshop on the AionHill - Magento Development company.
- Facade pattern - Strategy pattern - Command pattern - Proxy pattern
Files |
File | Role | Description | ||
---|---|---|---|---|
templates (1 file) | ||||
vendor (1 file, 2 directories) | ||||
command.php | Example | Example script | ||
composer.json | Data | Auxiliary data | ||
facade.php | Example | Example script | ||
index.php | Aux. | Auxiliary script | ||
LICENSE | Lic. | License text | ||
proxy.php | Example | Example script | ||
README.md | Doc. | Documentation | ||
strategy.php | Example | Example script |
Files | / | vendor |
File | Role | Description | ||
---|---|---|---|---|
composer (8 files) | ||||
DP (5 directories) | ||||
autoload.php | Aux. | Auxiliary script |
Files | / | vendor | / | composer |
File | Role | Description |
---|---|---|
autoload_classmap.php | Aux. | Auxiliary script |
autoload_namespaces.php | Aux. | Auxiliary script |
autoload_psr4.php | Aux. | Auxiliary script |
autoload_real.php | Class | Class source |
autoload_static.php | Class | Class source |
ClassLoader.php | Class | Class source |
installed.json | Data | Auxiliary data |
LICENSE | Lic. | License text |
Files | / | vendor | / | DP | / | Command | / | Model |
File | Role | Description |
---|---|---|
Broker.php | Class | Class source |
IStock.php | Class | Class source |
Order.php | Class | Class source |
Stock.php | Class | Class source |
Files | / | vendor | / | DP | / | Facade |
File | Role | Description | ||
---|---|---|---|---|
Model (2 files) | ||||
Service (5 files) | ||||
FacadeOrder.php | Class | Class source |
Files | / | vendor | / | DP | / | Facade | / | Model |
File | Role | Description |
---|---|---|
Order.php | Class | Class source |
Product.php | Class | Class source |
Files | / | vendor | / | DP | / | Facade | / | Service |
File | Role | Description |
---|---|---|
Inventory.php | Class | Class source |
OrderManager.php | Class | Class source |
OrderServiceInterface.php | Class | Class source |
Payment.php | Class | Class source |
Shipping.php | Class | Class source |
Files | / | vendor | / | DP | / | Proxy | / | Model |
File | Role | Description |
---|---|---|
Cache.php | Class | Class source |
Client.php | Class | Class source |
ProxyServer.php | Class | Class source |
ServerInterface.php | Class | Class source |
WebServer.php | Class | Class source |
Files | / | vendor | / | DP | / | Strategy | / | Strategy |
File | Role | Description |
---|---|---|
JsonRenderingStrategy.php | Class | Class source |
PhpRenderingStrategy.php | Class | Class source |
RenderingStrategyInterface.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.