Flash Framework - a high performance, open source web application framework for hackers


Flash is a high performance, open-source web application framework. Flash web framework follows the MVT (Model-View-Template) architectural pattern or you can say MVC (Model-View-Controller) pattern because the controller is handle by the system. Flash is fast, lightweight, powerful, simple, and easy to use.

It allows users to create web applications in an easy and simplest way, in the framework users can create their own services and library.


  • Fast and powerful web framework.
  • Extremely Light Weight.
  • MVT Architecture.
  • You can build RESTful APIs faster.
  • Security and XSS Filtering.
  • Simple and easy to learn.
  • Easy to deploy on any server.

Flash architecture

Flash web framework based on MVT (Model-View-Template) architecture. The MVT (Model-View-Template) is a software design pattern. The Model helps to handle database. It is a data access layer that handles the database. The Template is a presentation layer that handles the User Interface part. The View is used to execute the business logic and interact with a model to carry data and renders a template.

Directory Structure of Flash


System directory

System directory is the main system directory of the framework, where all the system files are stored.

Application directory

Application is the main project directory that contains all your apps and project files. you can change this default application directory to a different location, set the new APP_DIR path in index.php to change the default application directory. All your app project files (settings, URLs) should be inside the application directory.

App directory

The app is a demo application of your project. You can create new apps like login, admin, news, blogs, or any app that you want. your app directory contains views, models, and URLs files.

Templates directory

The templates directory contains all your HTML template files.


Flash web framework is for PHP, so it requires PHP 5.6 or newer. now you won’t need to setup anything just yet.

Flash can be installed in few steps:

  • Download the files.
  • Unzip the package.
  • Upload all the Flash folders and files (application, system, .htaccess, index.php) on the server.

That's it, in the web framework, there is nothing to configure and setup. it's always ready to go.

For Linux

A quick setup for Linux and Android devices.

$ git clone https://github.com/rajkumardusad/flash
$ cd flash
$ php -S localhost:8080 index.php

That's it, in the Flash web framework, there is nothing to configure and setup. it's always ready to go.

Simple Example

A simple Hello, World web application in the Flash web framework.

Create View

Let’s write the first view. Open the app/views.php file and put the following PHP code in it:

class view extends Views {

  function __construct() {

  function hello_world() {
    return $this->response("hello, world !!");

Hello world view is created now map this view with URLs.

Map URLs with Views

Let's create a URL and map with views. open app/urls.php file and put the following code in it:

//include views to route URLs

  '/' => 'view.hello_world',

Now a simple hello world web app is created.


More: https://github.com/rajkumardusad/flash

June 3, 2020


Hakin9 TEAM
Hakin9 is a monthly magazine dedicated to hacking and cybersecurity. In every edition, we try to focus on different approaches to show various techniques - defensive and offensive. This knowledge will help you understand how most popular attacks are performed and how to protect your data from them. Our tutorials, case studies and online courses will prepare you for the upcoming, potential threats in the cyber security world. We collaborate with many individuals and universities and public institutions, but also with companies such as Xento Systems, CATO Networks, EY, CIPHER Intelligence LAB, redBorder, TSG, and others.
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments
© HAKIN9 MEDIA SP. Z O.O. SP. K. 2023