Fluid PHP Framework 0.3.2
Pre-release
Pre-release
Fluid PHP Framework 0.3.2 release
This is a pre-release version, and no version of the 0.x.x branch is guaranteed to be either backwards- or forwards-compatible. Use at your own risk.
Changelog from 0.3.1:
- The Autoloader has been moved into an Autoloader component to be expanded upon as needed. This also makes it possible to add multiple, differently configured Autoloaders when needed.
- All references to ob_* output buffering functions have been moved into the Response object and are now called from there. This makes it clearer when output buffering is used and what type.
- Default output buffering has been changed from using ob_gzhandler to regular, since ob_gzhandler would cause flicker before first byte sometimes. I need to look into this before enabling it again.
- app\modules\Base has been renamed to app\modules\Core since it functions as a 'core' for completely standard functionality such as errors.
- Removed \Devvoh\Fluid\Controller as base since it'd be unwise to alter this as a developer building on top of Fluid. An update of Fluid would overwrite it or an annoying merging issue would arise. Replaced with user-alterable \Core\Controller\Base.
- Added a number of currentModule-related functions to App, most important of which is getModuleFromPath, which
is used by Routes.php to determine the module to set on all the routes instead of having to manually set it. - Changed the 'magic' references to App in index.phtml to self:: instead of $this for consistency's sake.Both still work, to allow the developer to decide which one they'd prefer.
- \Devvoh\Fluid\App\View's __call magic method has been updated to use call_user_func_array to properly pass
all parameters as they should. - App::start() has been renamed to App::boot() because it looks nicer. For some reason this is important to me.
- Speaking of pretty things, redesigned the default 'hello' page to be more modern and playful.
- Many less important for the end user improvements (reworked almost all comments, cody style fixes, etc.)