qcubed
Welcome to QCubed!
QCubed (pronounced 'Q' - cubed) is a PHP5 Model-View-Controller framework. The goal of the framework is to save the time for developers around mundane, repeatable tasks - allowing them to concentrate on things that are useful AND fun.
How many times have you written that SQL query, and then parsed 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 another 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 QCubed video screencasts or text-based QCubed tutorials.
Project Vision
QCubed framework takes roots at QCodo, an excellent framework developed by Mike Ho, which, unfortunately is managed solely by him, and when real life interferes has had gaps in updates stretching for over a year. QCubed is a community effort to take QCodo forward and to keep moving regardless of real life. 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.
Checking QDrupal's Pulse
Hello Fellow QCubed Bootstrappers ("QDrupal People"),
I'm working on a Drupal project and recently identified a need to leverage some better automation in the area of generating models of off external schemas. I initially started a search on ORM's, one of which was QCodo and took a liking to its powerful code generation. Shortly thereafter, I stumbled into QDrupal and QCubed and made a commitment to leverage them for my Drupal project. With an initial 80 hour journey into the QDrupal project and some installation battles, I came to the conclusion that this project deserves much more attention and has the potential for greater usage than what is currently captured at drupal.org (at the time of this writing, low to mid teens based on sites sending update statuses).
After reaching out to a few members of the core team, it was suggested that I post a new topic on this forum and find out if anyone would like to see QDrupal get a heart transplant? Who out there is currently using QDrupal and would like to see a new version based off of the latest QCubed release v2.0.1?
Respond back to this forum with your thoughts and any suggestions. How about a code name for this project? I'll risk mockery and make the first suggestion-
"Project QDOM" - QDrupal Operation Migration
- QDrupal being the subject
- Operation Migration because we're bootstrapping to the latest version of QCubed
- Perhaps, QDOM gives connotation to "QDrupal over QCubed's latest jQuery party"?? I told you I was going to risk mockery..
Thanks for reading,
sashman
Weird file being generated on server
Not sure if this is a Qcubed thing, but I am pretty sure it is. A weird text file is being generated on my server, but I can't pin down which action of my website is doing it. It's being generated in /tmp and has the name "*username*_license.txt _readme.txt deprecated drop.sql" and it lists a few more files. This are the names of the directories/files in my public_html folder.
The files content is some weird characters and
"
Usage:
Cannot open argument file(argrcv)
MDY//
"
Any ideas? I'm at a loss for what to do.
Thanks
Rory
QCubed and QCodo
As you all probably know, Mike Ho updated QCodo website. I'm a big QCubed/QCodo fan and use it heavily.
I haven't found people on IRC. That's probably because I'm in Europe and all of you are sleeping when I'm online and vice versa.
Visual programming of PHP-based QCubed
Hello.
It is an excuse for my bad English.
Use a dictionary to write in the forum:)
Up a small project that I use primarily as an aid for development projects of my PHP.
These small tool for visual programming of PHP, the basis for serving QCubed.
My problem is that I can not choose the instrument with which to build its program.
Waver between Microsoft Visual Studio 2008 and Java.
I work in an environment of Windows and prefer the speed of Microsoft Visual Studio 2008. On the other hand, enables Java to work on different platforms.
Running QCUBED on IIS Server
Good day Guys,
I am about deploying my application on the production server. However, I woke up to the glaring fact that the server is an IIS Server. I just pressed the PAUSE button on deployment and ran over to clear the air first! lol....
Please is it ok to deploy a Qcubed based application on IIS (Version, i dont yet know but it might be 6 or 7)?
Are there any warnings to look out for?
Please I await your honest replies.
Regards all.
Display alert upon no connectivity during ajax calls
I have developed a JavaScript modification to QCubed.
This JS is basically to avoid frozen browser whenever there is no network when triggering any ajaxaction. It will display an alert window (div) in the position described in post.js: 171. Perhaps the function is similar to gmail or facebook when you have network problem.
qcodo.alertDisplay(250,20,"Network Connection Error\r\n. Please try again later. If it does not work, try to refresh the page.\r\nClick Ok button to close this message.", true, false);How to use it:
QCUBED Versus CAKE!!! Please Help!
HEEEEEEEEEEEEEEELP!
My boss is about to phase out development with Qcube in favour of CakePHP. He just feels it time to stop Qcoding and start Baking...lol
I, on the other hand feels like I need to continue with Qcodo. He won't switch if I can convince him. Now that's where you people come in. I have little experience and most of you here have years upon years of experience. Please, can you give me a NON-BIASED comparism of both frameworks so I can speak well on the D-Day (Decision Day) and its gonna be anytime soon. Please. Thanks People, I love you all! :)
QCubed - Website Re-Design Concept
Myself and a few others all thought the website could use some work, and since I thought it needed a complete redesign, based on standards and professionalism, I started working up a concept. Keep in mind, this is not a final product, and that anything can change, and I am taking opinions as I go along.

