MV framework logo
  • Architecture
    • Philosophy
    • Technologies
  • Admin Panel
  • Changelog
  • Support
  • Feedback
Download Version 2.6 from 07.10.2022
Documentation
  • Architecture
    • Philosophy
    • Technologies
  • Admin Panel
  • Changelog
  • Support
  • Feedback
Getting started
  • Installation and launch
  • System folders
  • Launch of simple website
  • Pre-installed models
  • System settings
Models
  • General principles of models
  • Data types
  • Model settings
  • Simple models
  • Foreign keys
  • Trees
  • Many to many
  • Group
  • Records management
  • Simple model management
  • Additional options
Views and routes
  • General principles of views
  • Router object
  • MV object
  • Index, default and 404 templates
  • Creating a new template
  • Data display in template
  • Object of Record class
  • Files and images
  • Date and time
  • Redirects
  • Email delivery
  • Special methods
Forms
  • Forms creation
  • Form fields settings
  • Form validation rules
  • Form validation process
  • Operations with form data
  • Using data from models
  • Form methods
SQL queries
  • Query constructor
  • Direct queries
  • Pagination
  • Sorting
  • Filtration
  • Upload from CSV files
Sessions and security
  • Work with sessions
  • AJAX
  • Security
  • Debugging
Plugins
  • General principles of plugins
  • Additions to admin panel
  • Caching
Documentation
Getting started
  • Installation and launch
  • System folders
  • Launch of simple website
  • Pre-installed models
  • System settings
Models
  • General principles of models
  • Data types
  • Model settings
  • Simple models
  • Foreign keys
  • Trees
  • Many to many
  • Group
  • Records management
  • Simple model management
  • Additional options
Views and routes
  • General principles of views
  • Router object
  • MV object
  • Index, default and 404 templates
  • Creating a new template
  • Data display in template
  • Object of Record class
  • Files and images
  • Date and time
  • Redirects
  • Email delivery
  • Special methods
Forms
  • Forms creation
  • Form fields settings
  • Form validation rules
  • Form validation process
  • Operations with form data
  • Using data from models
  • Form methods
SQL queries
  • Query constructor
  • Direct queries
  • Pagination
  • Sorting
  • Filtration
  • Upload from CSV files
Sessions and security
  • Work with sessions
  • AJAX
  • Security
  • Debugging
Plugins
  • General principles of plugins
  • Additions to admin panel
  • Caching

Philosophy

MV (Model View) framework represents the programming structure based on open source code for development of websites and applications. It is being distributed under BSD license. Also, MV is a web framework for website content management that allows to classify it as CMF (Content Management Framework).

The framework is written on PHP using strictly object-oriented approach. One of distinctive features is an automatic generation of Admin Panel where it is easy to manage content of the project's modules. MV is easy to install on the server with LAMP architecture, with a possibility to use MySQL or SQLite as a database engine.

Unlike the popular MVC pattern, the controller in MV is simplified and moved into a template. Template (view) for HTML output is managed by a Router.

No use of constants or global variables, all the settings are passed via Registry object which is built on Singleton pattern. Classes of models and plugins are automatically loaded into the system when needed.

Design, coding, programming

Website development with MV goes through the standard cycle, where in the beginning the design is drawn, then HTML template is coded, and after that HTML template is set under the CMF control. The difference of coding HTML for MV is that system doesn’t impose any constraints on HTML templates. It is recommended to code valid pages using "divs" that will positively affect on website rendering in different browsers.

Advantages

  • Quick adding of new fields into modules
  • Speed and simplicity of PHP templates
  • Build-in constructor of forms and SQL queries
  • Automatic generation of Admin Panel for all modules
  • Static and readable URLs for web pages
  • Easy for team development

Next section

Technologies

© 2012-2023, MV framework

MV tracker is based on open source MV framework
License