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.
- Click the CODE in the upper right corner.
- Click the DOWNLOAD ZIP.
- Extract the downloaded zip to the file repository of your host. (e.g. in localhost)
- Go to Controller folder.
- Create a new file and put a code just like below. The Classname should be the same as the file name.
- Go to View Folder and Create the file that you put in the paramter of $this->view->render.
- Create index.php inside the folder you created.
- Open the file and anything you desire like build a content using HTML and CSS.
- Create a model file for your mysample_page in Model folder.
- You can copy the method in in Sample_Page_Model.php under Model Folder or create your own method.
- Lastly, use the methods by going back to mysample_page.php under Controller and use the following code.