This site has been generated by Phreeze classbuilder and contains basic DB read and write capability. One UI page has been created for each table in your database. Click on the links in the top navigation bar to view the pages.
The application is not intended to use as-is unless you only want a simple web interface to your data tables and you require some type of authorization to access the app. In order to convert this into a real working application you will need to customize each page as needed. The philosophy behind the auto-generated code is to generate more code than you need. You can and should delete the controllers, methods and views that you don't need.
The UI controls for editing fields are generated based on the database column types. The generator doesn't know the purpose of each field, though. For example an INT field may be best displayed as a regular input, a slider or an on/off switch. It's possible that the field shouldn't be editable by the user at all. The generator doesn't know these things and so it makes a best guess based on column types and sizes. You will most likely have to switch out UI controls that are best for your application. Bootstrap provides a lot of great UI controls for you to use.
One controller has been created for each table in the application. The controllers are located in /libs/Controller/. If a particular table is not directly editable then the controller and view templates should be deleted. An example might be a table used in a many-to-many assignment.
Several Model files have been created for each table in the application. The model files are located in /libs/Model/. If your schema changes you can re-generate only the DAO (data-access object) files by selecting the DAO-Only package in class builder. As long as you don't touch files in the /libs/Model/DAO/ folder then you can safely make changes to your database schema and regenerate code without losing any of your customizations.
This application has been automatically generated by Phreeze. This code should be considered a starting point with some of the repetitive work done for you. This leaves you to focus on the functionality that makes your app unique. Read below for more information about the technologies used to generate this application.
Generated with Phreeze 3.3.1. Running on Phreeze 3.3.5 HEAD.Get Started »
Phreeze is a MVC+ORM framework for PHP that provides URL routing, object-oriented DB access and RESTful JSON services which are consumed by the view layer.
Bootstrap by Twitter provides a clean, cross-browser layout and user interface components. Bootstrap is a complete front-end toolkit with ready-to-use functional components.