EllisLab text mark
Advanced Search
     
Package VS third party VS modules
Posted: 14 November 2012 06:11 AM   [ Ignore ]
Avatar
Joined: 2010-03-12
85 posts

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?

 Signature 

WebMada hacker’s profile on WABLAB

 
Posted: 14 November 2012 07:15 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2010-07-20
74 posts

/application/core/ folder allows you to extend the core classes in CI system.

 
Posted: 15 November 2012 12:33 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2007-11-28
2435 posts

“third_party” is just an example of a package folder. You can rename it “packages” or whatever you want. See Application “Packages” here.

 
Posted: 16 November 2012 02:23 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2010-03-12
85 posts

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?

 Signature 

WebMada hacker’s profile on WABLAB

 
Posted: 16 November 2012 04:22 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2010-07-20
74 posts

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