|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not enough user ratings||Total: 1,068 ||All time: 3,471 This week: 291|
This package is a framework that uses MVC design pattern under PHP 7.
It provides a set of classes that implement the model view controller design pattern, as well other general purpose classes for Web application development.
Currently it provides a base controller to dispatch requests to other controllers, a session handler, a database connector and mailer class.
Manon Systems MVC Framework
To create a new Controller
Create a new PHP Class and name it exactly as the route will be.
If you will create a dashboard and the route will be Dashboard, then the file will be Dashboard.php
Into Dashboard.php you need to use the following namespaces:
\Session\Handler To handle the Session library
\Views\Main To handle the Views
\Db\Connect To handle the Database library
Create a class named Dashboard exactly like the same file name
Create a public static magic function called __init() and you can assign a retun type fot it like:
__init() : int
__init() : string
__init() : boolean
__init() : float
Using this function, you can use your own custom functions from within the class.
Then, you need to edit your DB Definitions using the file DbDefinitions into the libs folder.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.