I'm happy to announce a long overdue update to Qcodo. There are many, many bug fixes in this release, in addition to some major changes:
** date.timezone can now be updated in _configuration.inc (you no longer need to update php.ini)
* include_path is now *optional (again, you no longer need to update php.ini). There are some advantages to still updating include_path, and the reasons are listed in the new README. But note that this is now an optional step
** Better handling of multi-byte character sets (htmlentities now escapes based on QApplication::$EncodingType across the board, better handling of this in AJAX calls as well) <B>NOTE:</B> it is recommended that if you are working with AJAX and internationzliation, you set the QApplication::$EncodingType to UTF-8 (for now).
** Standardized on “require” (instead of “include”, “include_once”, or “require_once”) -- recommended in order to take the most advantage of APC and other PHP bytecode accelerators
** Virtual Attributes (see <http://examples.qcodo.com/examples/more_codegen/virtual_attributes.php> for more information)
** New QTreeNav control (see <http://examples.qcodo.com/examples/treenav/treenav.php> for more information)
** Better reporting of invalid/reserved word table/column names during code gen
** Added authentication to QEmailServer (thanks Kristof!)
** Support for directed graphs (e.g. _assn table that maps a many-to-many relationship for a single table) (thanks Artistan!)
The upgrade from prior versions should be almost the same as before -- simply replace /includes/qcodo/* with the new version.
But <B>PLEASE NOTE</B>: prepend.inc and _configuration.inc has been updated -- please be sure to do a “diff” between the new versions of these two files with your version, and incorporate the apprioriate changes.
<B>Codegen templates*: for those more advanced users who have overridden Codegen templates, please note that some of the codegen templates and subtemplates inside the core has been updated, as well.
[EDIT] Finally, you'll also want to update the codegen driver application, basically wwwroot/_devtools/codegen.php and _devtools/codegen.cli and _devtools/codegen.phpexe
Lots of exciting new changes and functionality -- please post with feedback!
<B><U>PHP.INI!?</U></B>
Hopefully, with 0.2.13, there should now be little to no changes required in php.ini. We're hoping that this will make it significantly easier for developers to install and test out qcodo.
As of now, the only “php.ini”-type of feature required is that magic_quotes be disabled. As this is the PHP and general recommendation (see <http://www.qcodo.com/forums/topic.php/360> for more), we're hoping this won't be an issue.
<B><U>QForge and Qcodo Hosting</U></B>
A shout out to the other Mike H and Kristof for getting QForge and Qcodo Hosting set up. Please see <http://www.qcodo.com/forums/topic.php/755> for more information. And to provide feedback, please feel free to post in the new QForge and Qcodo Hosting Forum.