<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Sample CodeIgniter Blog Controller</title>
	<atom:link href="http://null-logic.net/blog/2008/02/13/blog-controller/feed/" rel="self" type="application/rss+xml" />
	<link>http://null-logic.net/blog/2008/02/13/blog-controller/</link>
	<description></description>
	<lastBuildDate>Tue, 08 Jun 2010 19:48:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: dprevite</title>
		<link>http://null-logic.net/blog/2008/02/13/blog-controller/comment-page-1/#comment-14574</link>
		<dc:creator>dprevite</dc:creator>
		<pubDate>Tue, 05 May 2009 15:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://null-logic.net/blog/2008/02/13/blog-controller/#comment-14574</guid>
		<description>Yeah, _load_links() and _load_content() should definitely be in the model. I was just trying to keep it short in the blog post.</description>
		<content:encoded><![CDATA[<p>Yeah, _load_links() and _load_content() should definitely be in the model. I was just trying to keep it short in the blog post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahbub</title>
		<link>http://null-logic.net/blog/2008/02/13/blog-controller/comment-page-1/#comment-14361</link>
		<dc:creator>Mahbub</dc:creator>
		<pubDate>Thu, 09 Apr 2009 11:55:50 +0000</pubDate>
		<guid isPermaLink="false">http://null-logic.net/blog/2008/02/13/blog-controller/#comment-14361</guid>
		<description>Although this is an old post, but why do you have DB related routines in Blog Controller ? Aren&#039;t they supposed to be in a Model for re-use? If you need to get the links in another controller by this function 

    function _load_links() {
      $query = $this-&gt;db-&gt;get(&#039;links&#039;);
      return $query-&gt;result();
    }

You&#039;ll probably have to write it again because you can&#039;t call this _load_links mehtod in another controller (And of course you can&#039;t call a controller method in another controller). So no MVC is followed here.</description>
		<content:encoded><![CDATA[<p>Although this is an old post, but why do you have DB related routines in Blog Controller ? Aren&#8217;t they supposed to be in a Model for re-use? If you need to get the links in another controller by this function </p>
<p>    function _load_links() {<br />
      $query = $this-&gt;db-&gt;get(&#8216;links&#8217;);<br />
      return $query-&gt;result();<br />
    }</p>
<p>You&#8217;ll probably have to write it again because you can&#8217;t call this _load_links mehtod in another controller (And of course you can&#8217;t call a controller method in another controller). So no MVC is followed here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://null-logic.net/blog/2008/02/13/blog-controller/comment-page-1/#comment-77</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Mon, 18 Feb 2008 13:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://null-logic.net/blog/2008/02/13/blog-controller/#comment-77</guid>
		<description>very txs for ur reaply man, iam apreciate a lot this, iam working in the code now, i was reading the documentation too, i will show u my advance :)

txs again!</description>
		<content:encoded><![CDATA[<p>very txs for ur reaply man, iam apreciate a lot this, iam working in the code now, i was reading the documentation too, i will show u my advance <img src='http://null-logic.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>txs again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
