Welcome Guest, Not a member yet? Register   Sign In
Difference between library VS package VS plugin
#1

[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?
#2

[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.
#3

[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.
#4

[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.




Theme © iAndrew 2016 - Forum software by © MyBB