On a few certain projects with CakePHP I found not being able use type hinting a problem. Also holding onto PHP 4 for as long as it can hurt us OOP practices especially with namespace collisions and class prefixes. Don't get me wrong, the implementation of Active Record is amazing in CakePHP but when you build complex HABTM relationships loading data can be a PITA, thus requiring me to go into each model and set the recursion for how deep it will dig into the database because the arrays coming back are massive.
In regards to the HABTM complex relationships it was more of a flying by the seat of your pants, for example once the application grew we noticed that the memory utilization was growing exponentially. Unfortunately it grew so much over a certain amount of time (Site got hit with the Digg effect.) that one night it took the box offline. The client got angry and basically blamed us, after finding the docs on how to reduce the depth of calls into the DB the damage was done. We moved to Kohana after that where they implement a different system for calling related objects. -Anthony On Sat, Apr 17, 2010 at 5:11 PM, Mutaz Musa <mutazm...@gmail.com> wrote: > > I used to use CakePHP extensively in my projects but found its limitations > on certain projects. > > I'd also be interested to hear what limitations you came across with Cake. > > > On Sat, Apr 17, 2010 at 5:24 PM, Anthony Wlodarski <ant92...@gmail.com>wrote: > >> Yes, you are correct. So far during today experiments I have seen that it >> is a loosely coupled library. The experience so far has been positive. >> With Ubuntu I installed it via Apt and I have the "zf" program in my program >> path so using it anywhere in the file system is easy. One thing that took >> me a while was to figure out where the library was stored with the Apt >> install. I found the folder then created a symlink and everything was in >> proper order. >> >> -Anthony >> >> >> On Sat, Apr 17, 2010 at 4:06 PM, Ajai Khattri <a...@bitblit.net> wrote: >> >>> On Fri, 16 Apr 2010, Anthony Wlodarski wrote: >>> >>> > What are your thoughts on ZF, what do you like about it and what do you >>> > dislike about it? >>> >>> Its not a framework, its a library of components. >>> >>> >>> >>> -- >>> Aj. >>> >>> _______________________________________________ >>> New York PHP Users Group Community Talk Mailing List >>> http://lists.nyphp.org/mailman/listinfo/talk >>> >>> http://www.nyphp.org/Show-Participation >>> >> >> >> >> -- >> Anthony W. >> ant92...@gmail.com >> >> _______________________________________________ >> New York PHP Users Group Community Talk Mailing List >> http://lists.nyphp.org/mailman/listinfo/talk >> >> http://www.nyphp.org/Show-Participation >> > > > _______________________________________________ > New York PHP Users Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/Show-Participation > -- Anthony W. ant92...@gmail.com
_______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation