A simple example could be the next one:
You have some information in a DB that you want to read from a controller. Then you generate some code with this and give it to the view. Here is no problem except when you have 2 other controllers that need the same generated code (just to avoid the code duplication, ok?).
So, what if I want to do the same I could do with Java or PHP5 ("ZFless")?
Thanks in advance!
|