• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need advise for CRUD Builder

#1
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 ?
Reply

#2
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.
Reply

#3
(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
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.