CodeIgniter Forums
Difference between library VS package VS plugin - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Difference between library VS package VS plugin (/showthread.php?tid=49134)



Difference between library VS package VS plugin - El Forum - 02-09-2012

[eluser]WebMada[/eluser]
Hello!

Since when the package is built in CI? I use the 2.XX version since its release last year but it's the first that i find out the existence of package!

As I know, it is the plugin which has been removed since 2.0 version. Is package the substitution of plugin?
How to well use package which looks like library, isn't it?



Difference between library VS package VS plugin - El Forum - 02-09-2012

[eluser]Phil Sturgeon[/eluser]
Plugins were a single PHP file that contained a class or functions.

Libraries are a single class.

Packages are a folder, which can contain libraries, models, views, helpers and languages.


Difference between library VS package VS plugin - El Forum - 02-09-2012

[eluser]WebMada[/eluser]
OK, I see that
When package is introduced in CodeIgniter? I don't remember an announcement about it, I just saw it in certain open source cms built with CI.


Difference between library VS package VS plugin - El Forum - 02-10-2012

[eluser]Phil Sturgeon[/eluser]
It's been in there since CodeIgniter 2.0-dev was made available on BitBucket which was what... 2 years ago?

Keep an eye on the change-log.