BerandaComputers and TechnologyShow HN: WebFiori Framework v2.0.0 Beta 1 is Out

Show HN: WebFiori Framework v2.0.0 Beta 1 is Out

Version 2.0 of the framework will be a full refactor of version 1.0. It includes many changes. Some of them are:

  • All standard libraries where updated.
  • Moved all framework core files to new namespace.
  • All standard libraries are now part of the namespace webfiori.
  • Root framework file changed from WebFiori.php to index.php.
  • New sessions management sub-system.
  • Fully supports composer.
  • Added new public folder which should be server root.
  • Added new app folder. Developer must use this folder to add his code.
  • Changed how CRON jobs should be implemented.
  • CRON jobs which are created in the folder app/jobs are auto registered.
  • Commands which are created in the folder app/commands are auto registered.
  • Removed the class webfiorilogicController as it is not needed.
  • Updated database library from phMysql to use a new database abstraction layer.
  • Now it is possible to create more than one instance of the class EmailMessage.
  • Themes resources (js, css, images or fonts) now should be placed inside the folder public/assets.
  • Changed how web services created.
  • Updated the add CLI command.
  • Added new command: update-table.

In addition to listed changes, All changes which are planned for v1.1.0 are included in this release.

Now the framework has a written documentation that covers most framework features. The documentation can be found at . The actual docs are hosted on . Note that the documentation is still under development.

To install the new release using composer, use the following command:

php composer.phar create-project --prefer-dist "webfiori/framework:v2.0.0-beta.1"

Replace with the name of the folder that will hold your project.

Optionally, you can download the file which is part of this release if you don’t want to use composer in installation.

Read More



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments