• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code Modules

#1
Lightbulb 
Get started now with Code Modules at the beginning of CI4
- I think it is very essential for a future with many projects sharing 1 Famework CI4
- I will start from now
PHP Code:
/acme
    
/Blog
        
/Config
        
/Controllers
        
/Database
            
/Migrations
            
/Seeds
        
/Helpers
        
/Language
            
/en
        
/Libraries
        
/Models
        
/Views 

Guide here https://codeigniter.com/user_guide/general/modules.html

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply

#2
Add an Entities folder also if you use them.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#3
(10-02-2020, 07:12 PM)InsiteFX Wrote: Add an Entities folder also if you use them.

Thanks

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply

#4
Also don’t forget that Composer can auto-include modules for you! If there is code you typically use between many projects, or that your interested in sharing, it would probably be worth publishing in a separate module and then including it via Composer.
Reply

#5
(10-03-2020, 08:46 AM)MGatner Wrote: Also don’t forget that Composer can auto-include modules for you! If there is code you typically use between many projects, or that your interested in sharing, it would probably be worth publishing in a separate module and then including it via Composer.

Woh, Composer is powerful
Thank you so much MGatner

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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