What PHP application design/design patterns do you use?

前端 未结 9 1364
爱一瞬间的悲伤
爱一瞬间的悲伤 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:21

    I started out with the smarty templating engine when i first got tired of mixing code and html. After hacking for a while, I realized that writing my own framework is just duplicating work.

    I've done a few projects with Joomla, which is really a CMS but it gives clients a lot of control over content.

    Ultimately I've settled on using a real framework for my projects. I'm using symfony, which is inspired by Rails and is very well documented, but I've heard cakePHP and ZendFramework are also very good.

提交回复
热议问题