-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.php
62 lines (28 loc) · 2.65 KB
/
readme.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# 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). Hierarchical Model‐View‐Controller (HMVC).
(https://github.com/BitsHost/BitsHost-MMVC/wiki)
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?
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](https://github.com/BitsHost/BitsHost-MMVC/assets/23263143/2162ae66-bf4d-4cdd-8a34-2e7dccd0d5de)
File Structure:
![FileStructure](https://github.com/BitsHost/BitsHost-MMVC/assets/23263143/ee1068e0-d9c2-4436-b0a5-c13a619b7c56)