Skip to content
BitsHost edited this page Nov 2, 2023 · 7 revisions

Welcome to the BitsHost-MMVC wiki!

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

Introducing MODULAR MMVC - 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?

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.

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.

Development-Centric: MMVC was designed with development in mind. You can steer your project i![Diagram] n 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: (https://github.com/BitsHost/BitsHost-MMVC/assets/23263143/e15ae7f8-e37e-41e3-8c0b-5eab38b6a425)

File Structure: (https://github.com/BitsHost/BitsHost-MMVC/assets/23263143/62148f96-02b1-40ed-8f8c-663a5038f1e0)