-1

As you know other than GOF, there are design patterns for each layer which should be used in coding. Each layer has separate design patterns. Please the picture below.

enter image description here

I have identified below layers to be implemented.

 Presentation Layer
        |
        v
  Service Layer
        |
        v
  Business Layer
        |
        v
Data Access Layer
        |
        v
 Persistence Layer

I have gone through this questions but it does not provide a answer how to implement them in a framework.

How can I implement layered architecture in a PHP framework with design patterns?

Frameworks interested in laravel, symfony, zend

Community
  • 1
  • 1
Techie
  • 44,706
  • 42
  • 157
  • 243

1 Answers1

0

I think you are referring to the Model View Controller framework. I use it occasionally instead of MVP (Model View Presenter).

There is a similar framework for PHP here: http://simplemvcframework.com/. I have not used it so I do not know how good it is.

Have a look here: http://msdn.microsoft.com/en-us/library/bb288041.aspx. Whilst this is for .NET Developers; the patterns still apply to PHP development. I was not the down voter.

w0051977
  • 15,099
  • 32
  • 152
  • 329