panique / huge

Simple user-authentication solution, embedded into a small framework.
2.14k stars 788 forks source link

[3.0] HMVC architecture ? #499

Closed abmmhasan closed 9 years ago

abmmhasan commented 10 years ago

Almost all the major PHP framework now converting/converted into HMVC pattern. I wanna request you to open another project called php-login-hmvc and rearrange php-login mvc to hmvc pattern. Then keep both updating. I need this huge update from php-login.

sopitz commented 10 years ago

Sounds solid for people who use it with huge traffic as it seems. Could you give guidance of how that could be achieved without rewriting major parts of this project? Maybe you can simply post the link to the branch of your fork with the examples! Thanks.

panique commented 10 years ago

@abmmhasan Hi, first, (please don't get me wrong here) please note that this is a freetime project made by unpaid volunteers in their freetime. So, if you need a feature, then please build this by yourself and then commit it to the project (maybe as a commit or as a new branch). The developers behind this project cannot and should not do (business) work for others.

I'll always try to improve the project when there's time, but in the end it's a tiny free open-source project. Laravel, Symfony and Zend are real companies with paid developers, so they have totally different possibilites. Best and fastest way is still to rework this by yourself.

By the way: Can you share useful info on how to move to HMVC?

abmmhasan commented 10 years ago

A source: http://somethingstatic.com/hierarchical-model-view-controller-planning-future/ In Wikipedia {too short though}: http://en.wikipedia.org/wiki/Hierarchical_model-view-controller A good article: http://techportal.inviqa.com/2010/02/22/scaling-web-applications-with-hmvc/ Brief from the main inventors: http://www.javaworld.com/article/2076128/design-patterns/hmvc--the-layered-pattern-for-developing-strong-client-tiers.html And a brief process how CI converted to HMVC : http://code.tutsplus.com/tutorials/hmvc-an-introduction-and-application--net-11850 A good presentation: http://www.slideshare.net/samsoir/design-for-scalability-with-hmvc I don't know but as far the owner claims this video might help too {I not seen it clearly yet} http://www.youtube.com/watch?v=hyzxQFQLI7k

nyubbie commented 10 years ago

This might help explain the flow. http://techportal.inviqa.com/2010/02/22/scaling-web-applications-with-hmvc/

panique commented 10 years ago

He, 3.0 will be on top of Slim, the micro framework. Can you please have a look if Slim support the HMVC architechture ? Personally I cannot judge this...

panique commented 9 years ago

I'm closing this as I've absolutly no skills with HMVC and also no time for this :)