print Migrating from 0.2.X to 0.3.X

Other Changes

The following are other changes not covered so far.

Removal of MySQL Objects

Many of the data access objects (DAOs) have now been removed. This includes things like the systemSite and controller / plugin system, country, currency and mime-types. The WURFL classes remain but will likely be removed or refactored to use SQLite.

This is inline with reducing the reliance on MySQL as Scorpio should be database agnostic.

Utility Updates

The utility classes now incorporate validators for common data types. These can be used with the MVC system or where needed for validation duties.

Some libraries have been moved into separate folders, however this does not affect their usage as the names remain the same.

Logging Changes

Logging via the MVC log plugin now logs into a folder for the website in question - rather than all logs being dumped into the websites folder. Memory tracking, execution logs and audit logs will all be logged into the website folder.

Various bugs have been fixed so that logging should be much more consistent that it was. This includes duplicate log messages, incorrect paths, Cygwin compatibility and improved error messages that truncate the path from the files in the error message (a separate "base path" is included in the error message).

CLI Changes

There are a few minor changes to the CLI layer. The log and help commands can now be used more easily outside of the cliApplication and have been added to the logging daemon.

The process tools have been fixed so the correct user and group ids are now used, along with the correct handling of the process id when setting PID files.

Generator Templates

With the move to Smarty 3, the generator systems have been changed to use a single brace for the mark-up. This drastically improves the readability of the templates, but it does mean that any existing templates must be updated otherwise they will error.

Further: you can no longer use <?php directly in your templates. If you need to output the PHP tags you should wrap them in braces and single quotes: {'<?php'} this will write it in directly.