dsoft / mvc4php
This package allow users to manage most common operations with databases, based on mysqli functions. It also includes support for MVC components.
v3.4.2
2021-02-10 22:05 UTC
Requires
- php: ^7.2
- phpmailer/phpmailer: ^6.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Template files to apply mvc pattern with native php By Daniel F. Rivera C.
In order to use this library your web project must look like this
- rootFolder
- .vscode
- sftp.json
- controllers
- [EachNewControllerHere...]
- documentation
- [DBStructureFiles...]
- [MockUps...]
- mailing
- [MailingTemplateFiles...]
- models
- [EachNewModelHere...]
- resources
- audios
- [AudioFilesHere...]
- docs
- [DocumentFilesHere...]
- images
- icon.ico (optional)
- [AdditionalImagesHere...]
- scripts
- mvc4php
- dbconf.json (optional)
- globals4app.php
- globals4controllers.php
- globals4views.php
- [EachPersonalCSSLibsHere...]
- [EachPersonalJSLibsHere...]
- mvc4php
- videos
- [VideoFilesHere...]
- audios
- vendor
- [ComposerFilesAndFolders...]
- views
- shared
- components (optional)
- [EachNewComponentHere...]
- template.php
- components (optional)
- [EachNewViewHere...]
- shared
- .gitignore
- .htaccess
- composer.json
- composer.lock
- index.php
- LICENSE
- README.md
- .vscode
It's important to keep structure like this to get better performance. Also you have to keep in mind the next advices:
- Controllers must be named with the Controller prefix. Example: userController.php
- Views must be named with the View prefix. Example: homeView.php