What PHP application design/design patterns do you use?

前端 未结 9 1360
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-29 18:12

Please share your favorite application design / design patterns for use in PHP with me. Some things I\'d like to know:

  • How your folders are designed
  • How y
9条回答
  •  悲哀的现实
    2021-01-29 18:24

    I use Zend Framework, which pretty much defines folder layout and OOP (MVC paradigm). For common tasks, such as for example pagination I use Zend_Paginator (my model classes implement Zend_Paginator_Adapter_Interface), for validation I use Zend_Validate classes etc. Thanks to that I can fully concentrate on business logic instead of reinventing the wheel.

提交回复
热议问题