<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Why am I here?</title>
	<atom:link href="http://www.17od.com/2007/04/09/why-am-i-here/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.17od.com/2007/04/09/why-am-i-here/</link>
	<description></description>
	<pubDate>Sat, 22 Nov 2008 06:35:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Adrian</title>
		<link>http://www.17od.com/2007/04/09/why-am-i-here/#comment-3188</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Fri, 13 Apr 2007 13:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.17od.com/2007/04/09/why-am-i-here/#comment-3188</guid>
		<description>Hi John,

Overall I really like CI. It's accessible, easy to learn, functional and doesn't get in your way. Before I started using it I looked at both &lt;a href="http://www.symfony-project.com" rel="nofollow"&gt;symfony&lt;/a&gt; and &lt;a href="http://www.cakephp.org" rel="nofollow"&gt;CakePHP&lt;/a&gt;. Both looked really good but I find that unless I can start using a framwork (to do even basic stuff) within an hour or two of reading the documentation then it's too much work. Maybe that's just me being impatient but there you are. With CI I watched the webcast, had a quick read of the documentation (which is nice and short but still informative) and very soon I was up and running.

The scaffolding features in CI are pretty basic and not realy comparable with what's available elsewhere. In rails for example the scaffolding generates code for features that are repeatable given a few simple parameters. In CI, the scaffolding is there for one simple reason, to allow you to add/edit/delete data in your database during development.

I've seen comments around various sites saying that the ActiveRecord layer in CI is weak compared to that of CakePHP. That's probably true, I've not spent enough time with CakePHP to understand what it can and can't do. With CI you're given a very simple database interbase. What you do is create a Model class, for example User (which isn't mapped to any table in particular). Within this class you add functions to perform the actions you want. For example, add(), update(), delete(), findByEmailAddress(), etc. Within each method you can write your own SQL or use a helper library that can generate SQL based on your requirements. I find being able to write the SQL myself the best option. SQL isn't difficult so why abstract it away and make life difficult for yourself. If your SQL is a select statement then you're returned an object representing the result set. You can loop through each row in the object just like any other array in PHP and accessing a column is as easy as user-&gt;firstname. All in all the database access/ActiveRecord layer in CI is more than adequate.

I'll try and do a more indepth review at some stage.</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Overall I really like CI. It&#8217;s accessible, easy to learn, functional and doesn&#8217;t get in your way. Before I started using it I looked at both <a href="http://www.symfony-project.com" rel="nofollow" onclick="javascript:urchinTracker ('/outbound/comment/www.symfony-project.com');">symfony</a> and <a href="http://www.cakephp.org" rel="nofollow" onclick="javascript:urchinTracker ('/outbound/comment/www.cakephp.org');">CakePHP</a>. Both looked really good but I find that unless I can start using a framwork (to do even basic stuff) within an hour or two of reading the documentation then it&#8217;s too much work. Maybe that&#8217;s just me being impatient but there you are. With CI I watched the webcast, had a quick read of the documentation (which is nice and short but still informative) and very soon I was up and running.</p>
<p>The scaffolding features in CI are pretty basic and not realy comparable with what&#8217;s available elsewhere. In rails for example the scaffolding generates code for features that are repeatable given a few simple parameters. In CI, the scaffolding is there for one simple reason, to allow you to add/edit/delete data in your database during development.</p>
<p>I&#8217;ve seen comments around various sites saying that the ActiveRecord layer in CI is weak compared to that of CakePHP. That&#8217;s probably true, I&#8217;ve not spent enough time with CakePHP to understand what it can and can&#8217;t do. With CI you&#8217;re given a very simple database interbase. What you do is create a Model class, for example User (which isn&#8217;t mapped to any table in particular). Within this class you add functions to perform the actions you want. For example, add(), update(), delete(), findByEmailAddress(), etc. Within each method you can write your own SQL or use a helper library that can generate SQL based on your requirements. I find being able to write the SQL myself the best option. SQL isn&#8217;t difficult so why abstract it away and make life difficult for yourself. If your SQL is a select statement then you&#8217;re returned an object representing the result set. You can loop through each row in the object just like any other array in PHP and accessing a column is as easy as user->firstname. All in all the database access/ActiveRecord layer in CI is more than adequate.</p>
<p>I&#8217;ll try and do a more indepth review at some stage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.17od.com/2007/04/09/why-am-i-here/#comment-3160</link>
		<dc:creator>john</dc:creator>
		<pubDate>Wed, 11 Apr 2007 08:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.17od.com/2007/04/09/why-am-i-here/#comment-3160</guid>
		<description>I would be certainly interested in hearing about your experiences with Code Igniter.  I'm in the process of developing my own PHP web framework for over a year now, so I am always interested to see how others do things.  I just had a quick scan through the user guide on the Code Igniter website, which is pretty clear and concise, and I like the way they handle URLs in particular but I think they could make greater use of scaffolding.

Have you found that using an MVC framework such as Code Igniter has reduced the development time of your project significantly?</description>
		<content:encoded><![CDATA[<p>I would be certainly interested in hearing about your experiences with Code Igniter.  I&#8217;m in the process of developing my own PHP web framework for over a year now, so I am always interested to see how others do things.  I just had a quick scan through the user guide on the Code Igniter website, which is pretty clear and concise, and I like the way they handle URLs in particular but I think they could make greater use of scaffolding.</p>
<p>Have you found that using an MVC framework such as Code Igniter has reduced the development time of your project significantly?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
