Blockquote

Edited:

http://blog.fedecarg.com/2008/06/28/a-modular-approach-to-web-development/

The above mentioned approach is exactly what I am searching for. So might be there php frameworks available that will let me create modular structure like above for my code ?

Edited:

Blockquote

I must know the current best php framework that is 100% modular like joomla component architecture.

In joomla all you want do is upload some files underneath the "components" directory and you will add "any" type of complex functionality to joomla.

I wish to develop php programs on your own and that i want all my programs to achieve the same easy joomla's component architecture. So Im presently searching for a php framework.

So the best idea approach to take about if I wish to perform the above ?

Must I select a php framework like codeignitor or zend etc ? however, you see, even when is rely on them, Suppose if I must produce a new function I must upload files to atleast 3 sites i.e controller, model and examine. However, you see in joomla all I must do is upload all of the files obviously superbly structured into only a single directory known as "components" and also the relaxation is taken proper care of instantly

What exactly is the easiest method to move forward ?

Shanthi

Joomla is really a Content management systems system AFAIK which means you cant really compare a PHP framework into it.

When it comes to modularity Zend Framework comes with an excellent excellent, easy to implement module structure.

You sitting that to include complex functionality to joomla you upload files within the correct structure and joomla will it for you personally, well as lengthy while you make your module files within the right structure for ZF it'll work too......

Your real question is just like my question. however it was for 4 several weeks ago. I attempted to discover how do i create such modular system. After a little searching I understood that people must have just one directory like 'components' while you stated, and set every data of modules inside it. but exactly how we ought to rely on them ?. Easy !. just create an handler (php file) that take control of your installation, removing, positioning, configurations. Actually i simply solve 3 of these. positioning is really hard i believe so, i never get it done till now.

if you would like a good example of my explanation, just let me know to produce it. I'll send it for you personally. :)

To be sure that there's a positive change as Joomla et al as CMS's and for that reason are available in in a greater degree of functionality than the usual framework, however with less versatility.

However you might like to explore Symfony 2 and Lithium (Cake 3?). Both are made to just use PHP 5.3 and greater and both make use of the namespace functionality in PHP. I've done less with Lithium and surely in Symfony 2 everything (well nearly things are a wordpress plugin making the framework modular and far simpler to handle.

However you won't ever have the ability to compare the 2 Framework/Content management systems in much the same way because they are both built and created for different reasons with different constraints.

N.B. Neither Symfony 2 or Lithium are production ready at the moment. Symfony is striving at March 2011, not obvious on Lithium's 1 us dot oh date

[edit] Numerous solutions here plump for Zend. What must be obvious is the fact that you will find two kinds of framework (yes ok lot's and lot's) when you are simplistic you will find Full Stack and Glue.

Glue frameworks like Zend are usually free and simple permitting you to employ certain parts and never others as you want. So although nominally MVC it is simple to implement Zend with V and C although not use M. You are able to write all of your database calls by hand within the controller etc.

Full Stack for example Symfony mean you pretty much make use of all of whether you want it or otherwise. Around the data side you utilize and ORM, Doctrine or Propel and a lot of the framework is controlled from configuration files in YAML/XML. In this way Symfony is extremely like Ruby et al. Please be aware this isn't a recommendation or critique of either.

Joomla for me is gluey (although not a framework) however why would you use something that's 90% built after which rewrite 75% from it? Indeed since the customer asks as well as your boss is not aware from the problems, i recall now.