WebFiori Framework v1.1.0 Beta 1
Pre-release
Pre-release
New Features:
Core
- New command line interface engine.
- Improved existing CLI commands.
- Added new command
create
. It can be used to create system entities such as query classes or controllers. - Support for redirect to non-www URL is added. It is possible to force the website to use non-www URLs.
- Added a way to enable and disable cron web interface.
- New class added:
AbstractJob
. This class can be used to implement custom cron jobs. - New class added:
CronEmail
. This class is used to send cron output and cron notifications. - New class added:
GlobalConstants
. The main aim of this class is to allow the developer to define his own global constants in one place.
Standard Libraries
- Chaining support is added to the method
HTMLNode::addChild()
.
Fixes:
- Many minor bugs where fixed.
Other changes:
- A public folder that contains framework assets is added.
- Applied coding standards using PHP CS Fixer.
- Now the framework can be fully loaded using composer. Also, it supports the loading of composer packages.
- A 404 error page that uses default theme will appear if a route is not found. In case of API call, a JSON object is sent with 404 status code.
- Now the framework has its own set of exceptions which are found under the namespace
webfiori\entity\exceptions
. - Moved all UI related components to the namespace
webfiori\entity\ui
- The method
Theme::setDirectoryName()
was removed since the name of theme directory is now detected automatically. - Error messages and error pages have changed a little bit.
Installation
To install the new release using composer, use the following command:
php composer.phar require "webfiori/framework:1.1.0-beta-1"