PHP Classes

PHP Design Patterns with Example Classes: Demonstration of several popular design patterns

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 102 All time: 9,782 This week: 47Up
Version License PHP version Categories
designpattern 1.0The PHP License5PHP 5, Design Patterns
Description 

Author

This package provides a practical demonstration of several popular design patterns.

It provides classes and example code that calls classes that implement well-known design patterns.

Currently, it provides examples of design patterns like:

- Decorator

- Observer

- Strategy

- Template

Picture of Nahidul Hasan
  Performance   Level  
Name: Nahidul Hasan <contact>
Classes: 16 packages by
Country: Bangladesh Bangladesh
Age: ???
All time rank: 257332 in Bangladesh Bangladesh
Week rank: 192 Up3 in Bangladesh Bangladesh Up
Innovation award
Innovation award
Nominee: 7x

Documentation

Welcome to Design Pattern

Introduction

Design patterns are used to represent some of the best practices adapted by experienced object-oriented software developers. A design pattern systematically names, motivates, and explains a general design that addresses a recurring design problem in object-oriented systems.


Wikipedia describes them as

Types of Design Patterns

- Creational design patterns - Structural design patterns - Behavioral design patterns


  Files folder image Files (12)  
File Role Description
Files folder image.idea (6 files, 1 directory)
Plain text file decorator.php Class Class source
Plain text file observer.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation
Plain text file strategy.php Class Class source
Plain text file template.php Class Class source

  Files folder image Files (12)  /  .idea  
File Role Description
Files folder imagescopes (1 file)
  Accessible without login Plain text file designPattern.iml Data Auxiliary data
  Accessible without login Plain text file encodings.xml Data Auxiliary data
  Accessible without login Plain text file misc.xml Data Auxiliary data
  Accessible without login Plain text file modules.xml Data Auxiliary data
  Accessible without login Plain text file vcs.xml Data Auxiliary data
  Accessible without login Plain text file workspace.xml Data Auxiliary data

  Files folder image Files (12)  /  .idea  /  scopes  
File Role Description
  Accessible without login Plain text file scope_settings.xml Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:102
This week:0
All time:9,782
This week:47Up