EllisLab text mark
Advanced Search
     
HMVC No Documentation
Posted: 02 October 2012 10:59 AM   [ Ignore ]
Joined: 2012-08-11
9 posts

Hi,
I read people are using HMVC from https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home
But on that website, no downloads are given. I googled for codeigniter hmvc and downloaded files from other website.

Well regarding given HMVC, there is no good documentation.
In HMVC, I folder structure is like
application/modules/

Now
modules/welcome/

Under welcome, there are 3 folders, controllers, models, views.

Can I also keep my language files and libraries under modules by creating libraries and language folders in welcome ?

My aim is to have something like this ->>

application/modules/welcome/
            —>controllers/
            —>model/
            —>views/
            —>libraries/
            —>language/
            —>config/

Hence each module will play with its own things.

Thanks
Sorry if I have posted this in wrong forum

 Signature 

My Love is CI

 
Posted: 04 October 2012 10:52 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2011-02-09
38 posts

Go to the link.

Click the “Download” tab and select a download file.

The documentation - how things work, install instructions and FAQ are on the lower part of the page. Scroll down…

My understanding is that you can keep configs, libraries, etc folders in a module’s folder.

There are more hmvcrelates articles in the ci wiki.

 
Posted: 04 October 2012 11:02 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2011-02-23
882 posts

You can and actually should keep everything, that belongs to one module in the module’s folder. That said a really massive module would have these folders

modules/welcome/
  /
config
  
/controllers
  
/helpers
  
/language
  
/libraries
  
/models
  
/views 
 Signature 

ignited Community Framework (WiP)  |  Read the User’s Guide. It won’t bite.

STOP! Before posting your questions, remember the WWW Golden rule:
What did you try? What did you get? What did you expect to get?

CI example .htaccess

 
Posted: 04 October 2012 11:07 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Joined: 2011-02-09
38 posts

Doesn’t this structure provide for total portability as well?

 
Posted: 04 October 2012 12:12 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2012-10-03
4 posts

I want to mention that HMVC is getting merged into CI 3.0 if you’re interested you can check out the details here

https://github.com/EllisLab/CodeIgniter/pull/1818

 
Posted: 05 October 2012 03:19 AM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Joined: 2012-08-11
9 posts

@ Ed Robindon - On download tab, why there are two types ? i.e. Tag and Branch ?

@PhilTem - Where can I see demo such demo module with given structured directories

@ ckdarby - When CI 3.0 is coming ? I saw its nightly user guide but nothing is mentioned about HMVC

 Signature 

My Love is CI

 
Posted: 05 October 2012 03:56 AM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2012-10-02
8 posts

why must github?