Skip to content
 
 

Repository files navigation

webmvcframework - PHP Web MVC Framework

The webmvcframework package is an object oriented PHP framework that uses MVC architectural design pattern for building web applications with MySQL database and HTML 5.

It offers to developers a complete set of functionalities for rapid development of data intensive web applications. Specifically, it provides services for system decomposition to simplify the design and development of complex web applications. It is based on the MVC design pattern and on the concept of application's decomposition, this leads to two main goals:

  • Simplifies the collaboration process among people having different knowledge (e.g. GUI designers, system designers, developers and so on)
  • It guides for a more maintanable and reusable code

The framework provides the interfaces to reduce the amount of code you have to write. So that you can focus on your web app design and not on the recurrent aspects of web application development. These aspects generally are related to the database (e.g. data listing, data listing and sorting, data listing and filtering, data listing and pagination, record management and common table’s operations for select, insert, delete and update records) and server side logic. The components are Controllers that can be aggregated to create and manage complex behaviours, in a Object Oriented fashion, and that ensure the semplification of the development process in particular in big projects and in projects managed by groups of developers. The components are generally useful to manage data sets and show it in the GUI, but can also be used only for server side logic programming.

Documentation link

Prerequisites

  • Apache web server
  • PHP 5.*

How to install

To install download and copy it into an Apache web folder. Then go to the config directory and modify application.config.php according to your MySQL server configuration and Apache web folder you used to deploy your application. By default framework is provided with simple examples. You can decide to remove them by clearing the models, controllers, templates and views directories. I will provide further examples in the future to illustrate all its functionalities.

How to autogenerate PHP Model classes from your MySQL database

The util directory contains a file named app_create_beans.php. Run it from your browser or from command line for executing ORM autogeneration engine

Before running it you must configure MySQL access parameters by modifying util\mysqlreflection\mysqlreflection.config.php according to your MySQL configuration. After running the generation utility the autogenerated PHP classes will be placed into the models\beans directory.

UML Diagrams of framework classes

Overview

alt tag

Request processing and dispatching

alt tag

See the docs folders for more information

Documentation link

Introduction to PHP WEB MVC Framework - Video Tutorial

IMAGE Video Tutorial

About

PHP MVC framework for bulding web applications

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages