CodeIgniter Forums
Package VS third party VS modules - 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: Package VS third party VS modules (/showthread.php?tid=55874)



Package VS third party VS modules - El Forum - 11-14-2012

[eluser]WebMada[/eluser]
Hi!

What are the differences between package and third party?

In CI 2.0, there is a new folder "third party" but there is nothing about a package folder or module folder.

By reading this item: Package VS module, I know now that module is for HMVC which is not yet supported by CI.

I also want to know the role of the CI 2.0 new folder "core" in application folder?


Package VS third party VS modules - El Forum - 11-14-2012

[eluser]noslen1[/eluser]
/application/core/ folder allows you to extend the core classes in CI system.


Package VS third party VS modules - El Forum - 11-14-2012

[eluser]Aken[/eluser]
"third_party" is just an example of a package folder. You can rename it "packages" or whatever you want. See Application "Packages" here.


Package VS third party VS modules - El Forum - 11-15-2012

[eluser]WebMada[/eluser]
Thanks for these answers! Ok I think I understand third_party now: third_party = packages, it's just a set of library+helper+core+config!

HMVC is another story, it is a set of model+view+controller?

Some Codeigniter-built CMS (PyroCMS, openblog, ionize, etc.) all use HMVC, is there a codeigniter common library to implement HMVC?


Package VS third party VS modules - El Forum - 11-16-2012

[eluser]noslen1[/eluser]
How do you set up the package feature outside of an app, in order to share its resources within different applications ?
See my thread here