4 ms·
CodeIgniter, which is what the author recommends and I have used extensively, is already a very lightweight framework, or at least compared to some of the very
by nuclear_eclipse 15y ago
CodeIgniter, which is what the author recommends and I have used extensively, is already a very lightweight framework, or at least compared to some of the very opinionated ones like Zend. CI goes out of its way to make sure you can use or ignore as much of the framework as you want, with the exception of its core controller and routes system.
Components like templating, views, active record, form validation, etc, are completely optional, and it's trivial to replace or extend components without having to mess around with any of the core code. Just don't load that component, and use something else instead.
- te_chris 15y agoWait, isn't Zend the opposite of a rails-style opinionated framework and basically just a collection of classes that you can assemble however you want for your project? I've only done a little bit with it, but that's always been the impression I've got from the literature I've read.
- nuclear_eclipse 15y agoI think it's supposed to be, but every time I've looked at using Zend, I always get the impression that you can't just give or take individual pieces of Zend like you can with CI. Certain bits of the framework are interdependent on other bits, and before you know it you're pulling in about 50 of its core components just to make a basic MVC application. But then again, I haven't looked at Zend in the last year or so; perhaps its gotten better in the mean time.