2009年12月5日星期六

[fw-mvc] Zend Framework modularity and application structure

Hello everyone,

as you know, Zend Framework 2.0 is having a major rewrite in some parts and a lot things can be arranged to make development easier/more flexible/etc.

After discussing this with Matthew, I'm asking you to:

Write in short, how do you use Zend Framework

What interests us is how you work with modules (blog, products, news, users), how you divide your applications in to parts (admin, public, something else) and how other parts of code (acl, configuration, resources) comes into play here. 

The reason why I'm asking this, is because I'm using Zend Framework for quote big applications and for me it's important to have ability to create application with self-contained modules and sub-applications. For example I have e-commerce products having admin, public and supplier sub-applications, but everything is still nicely divided into modules (products, warehouse, orders, customers etc.) and App_Application and FrontController plugins does some work to make one application code to be divided in these parts. 

However, I know that some people use applications completely based on acl - there is one site and only depending on what your permissions are, you see data, can edit or delete if you want to. Here again somewhat different structure comes into play. Also quite popular thing to do is to have admin/default modules. Even though I completely don't understand this approach, some people like it and use everyday, hence it should also be possible to use. 

So please write what you think about such things, I will try to read them all, generalize into a comparison table and make it into a proposal of what functions from core are needed to support it (without any hacking, which I done quite a lot)

--
Juozas Kaziukėnas (juozas@juokaz.com)
Aš internete - JuoKaz (http://www.juokaz.com)

没有评论: