<?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: Codeigniter: Helpers, Plugins and Libraries</title>
	<atom:link href="http://www.askaboutphp.com/51/codeigniter-helpers-plugins-and-libraries.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.askaboutphp.com/51/codeigniter-helpers-plugins-and-libraries.html</link>
	<description></description>
	<lastBuildDate>Sat, 13 Mar 2010 23:05:45 +0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dlogan</title>
		<link>http://www.askaboutphp.com/51/codeigniter-helpers-plugins-and-libraries.html/comment-page-1#comment-18924</link>
		<dc:creator>dlogan</dc:creator>
		<pubDate>Thu, 28 Jan 2010 19:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=51#comment-18924</guid>
		<description>While you can put things many places within CodeIgniter, there is typically a &quot;correct&quot; place to put the code depending on what the code does and includes. The logic and differences between a library, helper, and plugin are outlined in the CodeIgniter user manual.

A helper is a collection of functions that are related, but not grouped in a class. A plugin is suppose to serve a single function, and a library is for custom classes.

One of the big thing that CodeIgniter does is provide organization and in the process a modular nature to development. While all the &quot;rules&quot; about where to put things can easily be broken, sticking to the layout helps insure code can be used and allows you to greater leverage the capabilities Codeigniter has to offer.

If you like, CodeIgniter will let you do data processing within a model, import a library as a helper or a helper as a library, or directly edit and modify the CodeIgniter core instead of extending it.

Doing so will have your project be disorganized, make upgrading CodeIgniter more difficult, and generally limit the ability you are able to leverage the CodeIgniter framework.

At that point you have to ask yourself, why am I using CodeIgniter? Why not just download a few classes/scripts from Hotscripts and attempt to integrate them with my project?</description>
		<content:encoded><![CDATA[<p>While you can put things many places within CodeIgniter, there is typically a &#8220;correct&#8221; place to put the code depending on what the code does and includes. The logic and differences between a library, helper, and plugin are outlined in the CodeIgniter user manual.</p>
<p>A helper is a collection of functions that are related, but not grouped in a class. A plugin is suppose to serve a single function, and a library is for custom classes.</p>
<p>One of the big thing that CodeIgniter does is provide organization and in the process a modular nature to development. While all the &#8220;rules&#8221; about where to put things can easily be broken, sticking to the layout helps insure code can be used and allows you to greater leverage the capabilities Codeigniter has to offer.</p>
<p>If you like, CodeIgniter will let you do data processing within a model, import a library as a helper or a helper as a library, or directly edit and modify the CodeIgniter core instead of extending it.</p>
<p>Doing so will have your project be disorganized, make upgrading CodeIgniter more difficult, and generally limit the ability you are able to leverage the CodeIgniter framework.</p>
<p>At that point you have to ask yourself, why am I using CodeIgniter? Why not just download a few classes/scripts from Hotscripts and attempt to integrate them with my project?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Strickler</title>
		<link>http://www.askaboutphp.com/51/codeigniter-helpers-plugins-and-libraries.html/comment-page-1#comment-17278</link>
		<dc:creator>Dave Strickler</dc:creator>
		<pubDate>Wed, 16 Dec 2009 01:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=51#comment-17278</guid>
		<description>Very helpful - got it working for me quickly. 

I did find a &#039;feature&#039; in the Google API. Since it uses the URL to get data, you&#039;re limited to about 2k characters, and thus about 400 data points. You will find varying amounts depending on the char count of your data.

This is not a limitation for the casual user, but a major problem for larger graphs.</description>
		<content:encoded><![CDATA[<p>Very helpful &#8211; got it working for me quickly. </p>
<p>I did find a &#8216;feature&#8217; in the Google API. Since it uses the URL to get data, you&#8217;re limited to about 2k characters, and thus about 400 data points. You will find varying amounts depending on the char count of your data.</p>
<p>This is not a limitation for the casual user, but a major problem for larger graphs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tahsin</title>
		<link>http://www.askaboutphp.com/51/codeigniter-helpers-plugins-and-libraries.html/comment-page-1#comment-13244</link>
		<dc:creator>tahsin</dc:creator>
		<pubDate>Tue, 11 Aug 2009 07:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=51#comment-13244</guid>
		<description>nice helpful post. I was searching for these difference. thnks.

by the way, any one can helpful notes on php and zend php 5 certification on &lt;a href=&quot;http://newdailyblog.blospot.com&quot; rel=&quot;nofollow&quot;&gt;newdailyblog.blogspot.com&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>nice helpful post. I was searching for these difference. thnks.</p>
<p>by the way, any one can helpful notes on php and zend php 5 certification on <a href="http://newdailyblog.blospot.com" rel="nofollow">newdailyblog.blogspot.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: codeignitee</title>
		<link>http://www.askaboutphp.com/51/codeigniter-helpers-plugins-and-libraries.html/comment-page-1#comment-12510</link>
		<dc:creator>codeignitee</dc:creator>
		<pubDate>Wed, 15 Jul 2009 13:35:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=51#comment-12510</guid>
		<description>nice writeup! :-)</description>
		<content:encoded><![CDATA[<p>nice writeup! <img src='http://www.askaboutphp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piccolo Principe</title>
		<link>http://www.askaboutphp.com/51/codeigniter-helpers-plugins-and-libraries.html/comment-page-1#comment-4379</link>
		<dc:creator>Piccolo Principe</dc:creator>
		<pubDate>Wed, 03 Dec 2008 16:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.askaboutphp.com/?p=51#comment-4379</guid>
		<description>&quot;As I found out during the course of my CI project, Helpers, Plugins and Libraries are nothing more than glorified includes.&quot;
In fact, the helper/plugin/library loading line can be easily replaced by a require_once. It does not require a framework integrating a one-file external library. What about a bunch of classes that comes with an autoloader?</description>
		<content:encoded><![CDATA[<p>&#8220;As I found out during the course of my CI project, Helpers, Plugins and Libraries are nothing more than glorified includes.&#8221;<br />
In fact, the helper/plugin/library loading line can be easily replaced by a require_once. It does not require a framework integrating a one-file external library. What about a bunch of classes that comes with an autoloader?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
