Welcome Guest, Not a member yet? Register   Sign In
Poll: Do you think CI should have HMVC in itself without having to use third party codes?
You do not have permission to vote in this poll.
Yes
77.50%
62 77.50%
No
18.75%
15 18.75%
Not Sure
3.75%
3 3.75%
Total 80 vote(s) 100%
* You voted for this item. [Show Results]

HMVC into CI itself without third party codes
#19

(11-01-2014, 08:08 AM)Narf Wrote:
(10-31-2014, 02:55 PM)spjonez Wrote: If CI doesn't implement HMVC it's a bad sign for it's development path. Every single company I've worked for in the last 5y has used HVMC in their frameworks, you're really doing a disservice to yourself at this point by not using it.

And I'd guess those companies' development has problems exactly because of HMVC. Few people get it right.

I think you should run another poll. After reading some of the other posts I too took this to mean assets contained in a single folder, not controllers calling other controllers. That usually is bad design.

If we had a folder structure like this;

/controllers/main/Main_controller.php
/controllers/main/views/post.html
/controllers/main/css/style.css
/controllers/main/js/module.js
...

We could bundle modules, the default folder structure does a poor job of making code reusable. That's what I voted 'Yes' for. You can do this now without editing core files, the only thing you can't change is the controller's file name.
Reply


Messages In This Thread
RE: HMVC into CI itself without third party codes - by spjonez - 11-16-2014, 04:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB