
Version
Rating
Compatibility
Votes
License
Views
Date Added
Developer
How many times have you written that SQL query, and then parse out the results? How about that time when you had to create a form with validation logic? How about a situation where you had to move your database back-end from MySQL to Postgresql or any other database?
All of these situations, and many more, can be simplified with QCubed. There are two key elements to the framework: the Code Generator, and the event-driven, stateful user interface framework (QForms).
The Code Generator
The Code Generator creates PHP classes based on your database schema. It uses the concept of ORM, object-relational mapping, to map your DB tables to PHP classes, to allow you to manipulate objects, instead of constantly issuing SQL queries. One-to-many relationship? No problem. Association tables? No problem. Ease of transitioning between RDBMS systems? That's the whole point. Object-oriented querying? We got it.
User Interface Library
QForms provide a framework for a true model-view-controller infrastructure in your application. Using standard HTML, create a layout of your page (view). Insert a few controls into that HTML to make it a template that will display the form data. Define those controls and their logic in a PHP class that derives from QForm (controller). Use the code-generated ORM classes to read and write from the database (model).
Customize and extend any component of the system: override properties of a QForm; create your own custom control; use a combination of controls to define a reusable QPanel that can be used as a building block across multiple pages. Abstract out the complex database logic into customizable ORM classes.
Interested? Check out these QCubed in-depth tutorials.
Project Vision
QCubed framework takes roots at QCodo, an excellent framework developed by Mike Ho, which, sadly, has not been updated for over a year. QCubed is a community effort to take QCodo forward. We have a committed team of core contributors. We have built businesses on top of this framework; we are constantly working to make it more stable, robust, and constantly growing. We very much encourage contributions from a wider community (contributor tutorial).
More information can be found on our Wiki (http://trac.qcu.be/projects/qcubed/wiki).
No comments:
Post a Comment