Welcome Guest, Not a member yet? Register   Sign In
HMVC No Documentation
#1

[eluser]ankur0101[/eluser]
Hi,
I read people are using HMVC from https://bitbucket.org/wiredesignz/codeig.../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
#2

[eluser]Ed Robindon[/eluser]
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.

#3

[eluser]PhilTem[/eluser]
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

Code:
modules/welcome/
  /config
  /controllers
  /helpers
  /language
  /libraries
  /models
  /views
#4

[eluser]Ed Robindon[/eluser]
Doesn't this structure provide for total portability as well?
#5

[eluser]ckdarby[/eluser]
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
#6

[eluser]ankur0101[/eluser]
@ 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
#7

[eluser]deamra[/eluser]
why must github?




Theme © iAndrew 2016 - Forum software by © MyBB