Time is flying when you are having fun, so in that respect is has been a very short week.
We’ve made lots of progress, so here’s a quick summary:
Lots of work here – looks like it is almost ready to move into HEAD, at least to provide basic functionality.
We do have a new
Settingsclass that improves and extends the current
ZMSettingscode. It also now supports imports: – something also found in symfony config files.
Also, the reorganized setting of config files/locations now also supports environments. The environment can be controlled by:
SetEnv ZM_ENVIRONMENT production
- front controller
index_devel.php?rid=… or index_test.php?rid=…
The event system has been upgraded too, building on and extending the symfony2 EventDispatcher.
The bootstrap code (
bootstrap.php) has been slimmed down quite a bit and a few things have changed order to make more sense.
The currents system of auto loading static PHP code (per convention all .php files in the class path with a filename starting with a lower case letter) has been deprecated and removed from the bootstrap sequence and all other places (plugins/themes).
There are a few outstanding items that still need to be tackled for the next release, most importantly Dependency Injection. With the current core.php system already removed from the code base there is definite need to allow plugins and themes to customize core classes.
With the improved bootstrap and settings code the location of config files (and support of local.php, etc) have changed. This will require a little bit of work for theme and plugin authors. For the next release documentation should be ready to guide upgrades and changes.
There are a number of bugs that have been fixed, most notably a bug in the zen-cart admin integration, removal of debug code and a couple of edge cases in the WordPress plugin.