WebFiori Framework v2.1.0 Stable
Change Log
-
Refactoring
- Renamed class
WebFiori
toWebFioriApp
.
- Renamed class
-
New Features
- Allow the developer to set custom sessions storage engine using the constant
WF_SESSION_STORAGE
. - Added new class:
WebPage
. This class is used to build web pages instead of using the classPage
. - Added the class
AppConfig
which holds all different global configurations. - Now the framework will render web pages which uses the class
WebPage
automatically. - Added support for new language class creation when a new display language is added.
- Added a way to allow the developer to register database table classes using the method
DB::register()
- Allow the developer to set custom sessions storage engine using the constant
-
Added database session storage implementation.
-
Deprecations and Removals:
- Removed the class
Config
,MailConfig
andSiteConfig
. - Deprecated the class
Page
. Will be removed next release.
- Removed the class
-
Other Changes:
- Added new method to the class
File
which can be used to append data (File::append()
). - Updated all themes to depend on the class
WebPage
instead of using the classPage
.
- Added new method to the class
Installation
Using Composer
To install the latest release using composer, use the following command:
php composer.phar create-project --prefer-dist "webfiori/framework" <project-folder>
Replace <project-folder>
with the name of the folder that will hold your project.
Using Attached File
Optionally, you can download the file webfiori-v2.0.0.zip
which is part of this release if you don't want to use composer in installation. Once downloaded, extract the content of the file in your project folder.
Running Using PHP's Built-in Server
To run the project, open command line interface and navigate to <project-folder>/src
. While inside the folder, run the following command:
path/to/php.exe -S localhost:8080 -t public
In your web browser, open http://localhost:8080 . Note that if the framework is installed using attached release, no need to add the src
folder. Just navigate to <project-folder>
Wondering what is WebFiori Framework? Check following link for more information: https://webfiori.com/learn/introduction
Learning Resources
If you are new to the framework and would like to learn how to use it, you can check at https://webfiori.com/learn .