Skip to content

DRIX MVC: An easy-to-use PHP Model-View-Controller Framework for educating students in learning MVC framework

License

Notifications You must be signed in to change notification settings

codeinquirer/DRIX-MVC

Repository files navigation

DRIX MVC

DRIX MVC is a PHP Model-View Controller framework that is easy to use especially for the beginners as they desire to build a flexible and secure web programs or web sites. The framework can be a baseline in learning other advanced framework as it shows how basically the MVC architecture works in software engineering. It supports clean URL that is good in Search Engine Optimization. The framework was built in optimize and clean manner wherein developer can able to add whatever they want to add as to fulfill their desire to the said framework.

Downloading DRIX MVC from the GITHUB
  1. Click the CODE in the upper right corner.
  2. Click the DOWNLOAD ZIP.
Importing DRIX MVC to host
  1. Extract the downloaded zip to the file repository of your host. (e.g. in localhost)
How to create new page for you app
  1. Go to Controller folder.
  2. Create a new file and put a code just like below. The Classname should be the same as the file name.
  3. Go to View Folder and Create the file that you put in the paramter of $this->view->render.
  4. Create index.php inside the folder you created.
  5. Open the file and anything you desire like build a content using HTML and CSS.
How to do CRUD or ADD, EDIT, DELETE AND VIEW
  1. Create a model file for your mysample_page in Model folder.
  2. You can copy the method in in Sample_Page_Model.php under Model Folder or create your own method.
  3. Lastly, use the methods by going back to mysample_page.php under Controller and use the following code.

About

DRIX MVC: An easy-to-use PHP Model-View-Controller Framework for educating students in learning MVC framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published