Hi Nino, > 1. > It's not the default project but default MVC project layout. > That's an important distinction because ZF mainly is not a MVC framework > but a swiss-knife toolbox, also offering (M)VC, even not having the M... > Beginners to ZF could have the impression that every project using ZF > should have this structure.
Ok, I do get that point. Though I do think that the ZF can both be used both as a MVC framework (like CakePHP or Symfony) and as a component toolbox (like PEAR or eZ Components). But I really prefer to use the ZF as a framework and I guess most other users will do so as well. But I might be wrong. > 2. > The more important one: > You should never, and I mean never, design your application around a > technology. Design your software for doing what it should do not for > being dependant on external technologies. They may change, evolve, die > and so on. But your software still should do what it was created for, > just by replacing the technology. > If you sell books online and you build your application with ZF, > changing it to, say, CakePHP you are still selling books. > It shouldn't matter which MVC framwork you are using. > That's the way to go. Sorry, I really don't get it. If I build my book shop with the ZF than I build it to use the ZF and the infrastructure of the framework. If it is recommended to place my controller classes in a directory called /application/controllers/ I am willing to do so. Then maybe one day when I really go absolutely mad I might get the idea that I should rebuild my book shop with CakePHP. If I want to do so, I will need to rebuild my applicatoon to use CakePHP and the infrastructure of the framework. So now I need to place my controller classes in a directory called /app/controllers/ and I will be willing to do so. So are you saying that I should build my controller classes indepently of the particular framework implementation to be able to use the same controller classes in both my ZF and CakePHP implementations? Well, as I said, I don't get your second point at all. Maybe this is due to the 12 hours of todays work... ;-) Best regards, Ralf
