R-WFW (Rusher Web FrameWork) is a backend framework designed to simplify web application development. It follows the Model-View-Controller (MVC) architecture, which separates the application logic, presentation, and data layers, facilitating the creation of clean and maintainable code. Additionally, R-WFW provides a powerful routing system, making it easy to define URL routes and map them to specific controller actions. It also includes a built-in template engine for managing application views, which enhances the separation of logic and presentation. Overall, R-WFW is a versatile framework that streamlines web application development, improving development speed and efficiency.
- Clone this repository to your local directory.
- Create a new database on your MySQL server.
- Open
Config.php
. - Edit the
Config.php
file. - The application is ready to use.
<?php
namespace App\Config\Config;
define('BASEURL', 'http://localhost:8080');
// Database
define('DB_HOST', 'incrustwerush.org');
define('DB_USER', 'incrustwerush.org');
define('DB_PASS', 'incrustwerush.org');
define('DB_NAME', 'incrustwerush.org');
// Configuration
define('UPDATER', false); // true or false
define('UPDATER_PASSWD', 'incrustwerush.org'); // Change Password for Update
define('DEV_MODE', true); // true or false
define('DB_USE', false); // true or false
define('ALLOW_ALL_CORS', false); // true or false
// Security
define('ALL_SECURITY_HEADERS', false); // true or false
define('ANTI_XSS', false); // true or false
Use this for mysqli query :
You Must Active USE Database on Config
define('DB_USE', true);
On Model Function Use
$sql['query'] = "SELECT test FROM example";
$sql['result'] = $this->db->query($query);
The documentation for R-WFW is currently under development and will be available soon.
R-WFW (Rusher Web FrameWork) uses the MIT license. See the LICENSE
file for more information.