[_] codeigniter php framework
Jon Bennett
jmbennett at gmail.com
Wed Mar 5 11:46:50 GMT 2008
Hi Rick, > That's what I was after when I bought up the question of php > frameworks some time ago - ideally I could just think about a database > schema and the code would just start to appear. However the more I get > into it, the more I have found that the more you ask of a framework, > the more it asks of you, and hence why I have been pleasantly > surprised by codeigniter as something that isn't as prescriptive and > intrusive as other things i've tried, at the cost of not being as > fully featured as some of the larger frameworks - i've found it very > useful for bolting on some extra functionality to a legacy php site > that uses no framework. > > I think the key of any framework is that you need to get to know it > properley before it makes you more productive than you would be > without it - i'm not at that stage with anything yet as my curious > nature means i'll need to do a project with each of them before I can > fix on a favorite (then end up supporting them to the end of time lol) here's a basic comparison between the two to illustrate lines of code between the 2 http://bin.cakephp.org/view/929254989 Now, if you add in associations, cake wins hands down http://bin.cakephp.org/view/42078969 This situation gets worse [for CI] when you bring in data models with tables many jumps apart, or with tables that link to lots of tables, or compound associations. jon -- jon bennett w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett