开发者

Current common practices in web application architecture

Here's a very broad question:

I've been building a small MVC framework in PHP, mostly for the sake of learning better practices in my coding (and so I have a system to manage my home finances). In reading up, I've discovered a lot on VOs and DAOs, which were new to me, a开发者_JS百科t least in a formalized way. This made me realize that even though I've been programming in PHP for a few years, I've only been in one project, and have been kind of isolated.

So I'm familiar with MVC, VO/DAO, and 3-Tier. My question is, are there other key architecture patterns I might be missing in web application development? Are there any other common practices or "industry standards", and if so, where are some good places to read up on them? (PHP-specific is a plus)


I'd also look into code generation/scaffolding/ORM, or ActiveRecord.


Model-View-Presenter (MVP) is a derivative of the MVC pattern. Application of MVP is similar to MVC; it's worth taking a look at and having in your bag of tricks.


well, basically the same patterns as in normal applications apply, with gui patterns for the design and the "usual" patterns for the code. You coul read the gang of four "Design Patterns" book, which covers a lot of ground. Here's a short article with 5 common software design patterns, with php examples

Also, Common Design Patterns for use in MVC Web Applications

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜