...
Package
MiMiMi Framework version 2.0 Developed by MiMiMi Community File size: 32 kb
This is a pilot version to form a concept.
There is still no functionality. The main goal of this version was to invent a way to launch the application's main file. The launch had to be carried out from a single endpoint, the root "index.php" file. It was necessary to declare 3 constants, load a couple of technical files ("mimimi.core/Config.php", "mimimi.core/Routines.php"), and then launch the "mimimi.core/Application.php" file directly. The second goal was to develop a minimalistic class "MimimiModule" that would serve as a basis for developing other modules. This became the "mimimi.core/Module.php" file. Based on that file, the "MimimiModuleWithTable" class was immediately written, which was supposed to be used as a basis for modules working with a specific database table. This became the "mimimi.core/ModuleWithTable.php" file. Two more modules has also been added to this framework version: 1. "mimimi.core/Db/Db.php" - provides a connection to the database based on the parameter constants from the configuration file mentioned above; 2. "mimimi.core/Ban/Ban.php" - a simple experiment to test the process of modules development.