3 ms·
CodeIgniter is nothing like Rails - there's little magic involved; the framework is very 'humble' (that is - it almost never forces you to do things its way) pl
by shadowsun7 15y ago
CodeIgniter is nothing like Rails - there's little magic involved; the framework is very 'humble' (that is - it almost never forces you to do things its way) plus its entire philosophy consists of giving you classes to work with (and an MVC pattern) ... and then getting out of your way.
I'd argue that CI is to PHP what web.py is to Python, or Merb (pre-merge? - correct me if I'm wrong, maybe there's a better example) to Ruby.
- jallmann 15y agoCI is not a carbon copy of Rails, which would be quite difficult anyway given the base language, but the inspiration is undeniable. All the pieces are there -- the MVC pattern and associated features like routes, helpers, etc. CakePHP-Rails would have been a better analogy, but my point still stands. The language plays a large role in making a framework nice to use, as much as the intrinsic design of the framework itself.
- wdewind 15y agoDon't confused "Rails" with "Every web MVC framework out there."
- roel_v 15y ago"the MVC pattern and associated features like routes, helpers, etc" Eh some people (like myself, and my colleagues at the time) were using those concepts in PHP (albeit that 'routes' and 'helpers' were just called 'mod_rewrite paths' and 'utility functions') in 2000, long before Rails was even conceived.