Welcome Guest, Not a member yet? Register   Sign In
Modular MVC or Classic MVC
#1

Hi,

I was asked to develop an e-commerce with Codeigniter v4, and I would like to know your opinion on the structure of the file in terms of performance and best practice , Classic MVC or Modular MVC? 
thank you
Reply
#2

Code modules %100
Splite project to small parts which can export and inport easily and change
So see math auth for ci4 its best pratice
Enlightenment  Is  Freedom
Reply
#3

I answered you on Slack but I will copy my opinion here for forum readers.

Application architecture is not nearly as important with autoloading these days. I’m in favor of the using the framework’s native structure (“MVC”) so new developers to a project will already know the structure; anything I think I will reuse across other projects I publish as a separate module, which ends up making the final product a bit of a hybrid with HMVC.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB