Skip to content

ICWR-TEAM/R-WFW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R-WFW (Rusher Web FrameWork)

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.


Installation

  1. Clone this repository to your local directory.
  2. Create a new database on your MySQL server.
  3. Open Config.php.
  4. Edit the Config.php file.
  5. The application is ready to use.

Configuration

app/config/Config.php

<?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);

Documentation Status

The documentation for R-WFW is currently under development and will be available soon.


License

R-WFW (Rusher Web FrameWork) uses the MIT license. See the LICENSE file for more information.

Releases

No releases published

Packages