Skip to content

Latest commit

 

History

History
62 lines (28 loc) · 2.66 KB

README.md

File metadata and controls

62 lines (28 loc) · 2.66 KB

BitsHost MMVC

Modular MODEL VIEW CONTROLLER with Router

/*

  • Created on Tue Oct 31 2023
  • Copyright (c) 2023 BitsHost

*/

////////////////////////////////////////////////////////////////

Rasmus Lerdorf: PHP Frameworks all suck!

https://www.youtube.com/watch?v=DuB6UjEsY_Y&ab_channel=matperino

////////////////////////////////////////////////////////////////

BistHost MMVC. PHP MVC with modules. Modular MVC(Model, View, Controller) derive from Hierarchical Model‐View‐Controller (HMVC).

(https://github.com/BitsHost/BitsHost-MMVC/wiki)

Introducing MODULAR MVC - Empowering Your Development

In the realm of modern frameworks, it often feels like they do everything except what truly matters. These frameworks tend to add layers of abstraction that demand you to learn new skills and pathways whenever you decide to switch. They also tend to clutter themselves with superfluous options, solving simple problems in needlessly convoluted ways.

Consider PHP, including its blade templating engine. Why introduce yet another template engine when PHP is already equipped for the task? Delving into a new framework often necessitates a substantial relearning effort, pushing you far beyond your existing PHP knowledge.

So, why should you choose MMVC?

MMVC, standing for Modular Model View Controller, is not about reinventing the wheel. Instead, it's about optimizing the use of exceptional components. It offers a structured, straightforward approach, and its versatility proves invaluable for project management and development.

But why MMVC specifically?

  1. Modularity: MMVC allows you to work on a module without impacting the rest of your project. Modules can be interchanged and integrated seamlessly, enhancing your development agility.

  2. Language Freedom: Perhaps most importantly, you have the freedom to write your modules in your preferred language, whether it's PHP, JS, PYTHON, or modern technologies like TS and React. There are no constraints on your creativity.

  3. Development-Centric: MMVC was designed with development in mind. You can steer your project in any direction you desire, utilizing your own autoloader or composer autoload. Composer/packagist usage is optional, not obligatory.

What truly sets MMVC apart is its ability to harness the latest PHP capabilities without constraint. No more endless loops, as this framework liberates your development possibilities.

BitsHost Team

Diagram: Diagram

File Structure:

FileStructure