CodeIgniter Forums
Need advise for CRUD Builder - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forum-31.html)
+--- Thread: Need advise for CRUD Builder (/thread-76390.html)



Need advise for CRUD Builder - munggaran - 05-08-2020

Currently I have CRUD Builder made with CI3 + HMVC and want to try make it into CI4 but not sure if CI4 will support HMVC or maybe someone will make some extension, it's simply by generating 1 instance of CRUD and putting all into 1 directory:

Module --> MyCRUD1 --> Controller
                               ---> Model
                                ---> Viewer

            ---> MyCRUD2 ---> Controller
                                 ----> Model
                                 ----> Viewer


I know there's been a lot of discussion about pro and cons of HMVC but in my case I've built this CRUD Builder with HMVC and really don't have idea on how to manage every CRUD without it, I've read someone in forum mentioning Library, Module, Helper, etc but not sure how those will manage to work so I really need some advise, is there any?, or should I just wait until HMVC supported or just stick with CI3 ?


RE: Need advise for CRUD Builder - jreklund - 05-08-2020

Hi, the function you are looking for are "Code Modules" in CI4.
https://codeigniter.com/user_guide/general/modules.html

You create a Module namespace, in the example above acme. And later on Blog or w/e you need.


RE: Need advise for CRUD Builder - munggaran - 05-08-2020

(05-08-2020, 12:51 PM)jreklund Wrote: Hi, the function you are looking for are "Code Modules" in CI4.
https://codeigniter.com/user_guide/general/modules.html

You create a Module namespace, in the example above acme. And later on Blog or w/e you need.

ahhh, great information Big Grin  , trying now, thanksss Big Grin