since php5 started and all programmers put them eyes on OOP

Object Oriented programming started to show programmers the best ways to develop, Create and design their Software…

some programmers believe that no programming language without OOP so , they was put the php as scripting language tools

Since the introduction of php5 we see the one of the most famous programming language started

but What is the relation between this words and Design pattern …

if you were using php as scripting language and don’t have information about  oop you need to search and learn what OOP is or you have another solution that you wait me to started my posts in php

now we need to know what about design pattern and what it is

Programmer in oop system find problems with Classes and objects such as

the one instance of a class is required or Controlled access to a single object is necessary

so you must have an way to do that

Design patter have a solutions:

Design pattern is the best way to solve OOP issue i think you must read about it in java or C++ to understanding it well so, early i read cheetcheet book which talking about Design pattern and i will get some quote form it and if we need to explaing i will :)

  • Creational Patterns: Used to construct objects such that they can be decoupled from their implementing system
    1- Abstract Factory    2- Builder   3-Factory Method 4- Prototype 5- Singleton
  • Structural Patterns: Used to form large object structures between many disparate objects
    1- adapter 2- bridge 3- Composite 4- Decorator 5- Proxy 6- Flyweight
  • Behavioral Patterns: Used to manage algorithms, relationships, and responsibilities between objects

    1- Chain of Responsibility 2-Command 3-Interpreter 4-Iterator 5-Mediator 6-Memento 7-Observer
    8-State 9- strategy 10-Template Method 11-visitors

All this pattern you can use if you need the pattern which issue is related with it so you must know

In software engineering, a design pattern is a general reusable solution to a commonly occurring problem in software design. A design pattern is not a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations. Object-oriented design patterns typically show relationships and interactions between classes or objects, without specifying the final application classes or objects that are involved. Algorithms are not thought of as design patterns, since they solve computational problems rather than design problems.

you can downloading This cheetcheet from

www.Dzone.com

read more about this topic:

http://en.wikipedia.org/wiki/Design_pattern_(computer_science)

with my best wishes


This is my first blog in the blogging world,

right that this is not a blog with the first filing, but I think that entering the blogging world from a wider doors require special host from WordPress.com
- don’t worry i will not break your mind with my biography just know what i must do for blogging
just require information to know me
name : Call undefined proberty
age : for ($age = 1985; $age = date(“Y”, U); $age ++){ break;}
Crime : php developer
address : 404 HTTP street
Blood color : <style type=”blood/unknown”> color : smile </style>
Blood type : integer
life type : bolean
life style : inhert
hobbies : exit();
else : return
this is all about me ! then the ugly question ……………………… what about you ?
out of post : in this blog i will explain more things in programming and developing ASAP;
be right back
bye