Getting started with BF
Bossanova is an open source, light, fast and easy to learn PHP Framework, that includes free support for developers. The BF was created oriented to RESTful requests and covers various modern application needs. It has a very optimized code and has a lower memory consumption in comparison to other frameworks. Although it has a very small library that keeps the simplicity of a truly plug and play tool, the framework is a really powerful development tool.
It is really easy, because you can run your code creating none or just a few configuration rules. It is powerful, because developers can work directly with the core classes with very centralized information availability. Thus, is fast to find exactly what is needed, easier to debug, deploy and keep your application under control.
Bossanova has just a few requirements, and in this tutorial, we are going to cover all needs using Bitnami Wamp, including Postgresql extension. But of course, you can run the framework in any environment that includes the following technologies.
- PHP 5.3+
- PDO PHP Extension
- ImageMagick (required only by some social network modules).
- APC (optional, but it will help in your application performance).
The BF has a similar structure to any other frameworks, having just a few, but not less powerful libraries. So, you can get the job done with a much less effort. Because its simplicity and internal optimization, you will be able to save server resources and deploy better applications.
config.inc.php: your bossanova framework settings.
If you already have a web server installed, you can simply place the downloaded files in your web server, check the configuration config.inc.php and start to code. But, if you don't have a web server you can refer to our article From zero to Bossanova PHP Framework with Bitnami before continue reading this documentation.
All configuration settings are available in the config.inc.php file. As a plug and play tool, you can start developing without virtually none configuration, except in case you are willing to work with users, permissions, special routing, CMS or any other advanced plugins
So, to run your application with all advanced features, you need to create a database restored from the default dump file: bossanova_mysql.sql or bossanova_pgsql.sql, then add your database connection configuration in your config.inc.php file.