QCubed - A PHP5 rapid development framework.
Home  |  Updates

There's a lot of cool stuff coming out in v1.1, but I'm just going to talk about the stuff I've had my hand in. This includes adding filters to datagrids (without a plugin), bringing back formbase, adding js actions for QHtml controls, updating the way MetaDataGrid controls display some values, PHP based templates, and Magic Quote support.

Filtering DataGrids

Most of you are familiar with my QFilteredDataGrid control, and you will be pleased with how similar the new feature will be in core. One of the benefits of having it part of core is that now metadatagrids will be filtered automatically, and you will be more easily able to set up filters for QQNodes. The examples will walk you through exactly what is needed to use them. :)

Formbase

Formbase is something that was lost when metacontrols were introduced, and a good chunk of interface code moved to them. Unfortunately, that still left a lot of code in the new form draft classes that was no longer simply overridable or updatable with just another codegen.

The re-introduction of form base classes means that a change to your database now just requires a codegen and all your GUIs will be updated, without the need for any hand-coding or re-copying of files.

Javascript Actions for QHtml Controls

This may not actually survive to see the light of day, since the new jQuery code may replace it, but there is now support to do basic javascript actions (such as QToggleDisplay) on QHtml controls as well as the normal server-side QControls.

Updated MetaDataGrid Controls

Nothing terribly exciting here, but now Time and Boolean types will display nicely in datagrids.

PHP based templates

We haven't thrown out the old templates (yet), but we've added support for PHP based templates. The basic system is the same, but now, if the filename ends in .tpl.php instead of just .tpl, the template file (and any includes it uses) is interpreted using the PHP language itself instead of QCodo's custom template language.

Over time, we will be re-writing the existing templates to use pure PHP templates, to promote the ability for normal developers to modify them with ease, and the support of their favorite IDE.

Magic Quote Support

Hopefully you're not one of the poor developers relegated to a shared hosting or other setup where Magic Quotes are forced on, but if you are, we have good news.

Version 1.1 will automatically detect if this is the case, and reverse all the bad effects that it causes. You can write your code as if it were turned off, and QCubed itself will operate without any changes.