Skip to content

urukalo/MVCnoOOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVCnoOOP

Contents:

  • Topic

  • Description and realization

  • How to use

  1. Topic ========

Code organization in the spirit of MVC model, implemented without using object oriented php. Done for educational purposes ( it is easiest to understand MVC model, when student didn't need to think about in OO way )

  1. Description and realization ===

Using a set of functions I simulate MVC model and successfully separated the logic of the site layout.

Structure in folders (site is divided into three logical sections):

  • Controller - which accepts data relating to navigation, sessions and engage model

  • Model - in addition to the initial model, which collects all the general information, Each page has its own model that prepares data relevant to the page - all information is packed into an associative global array $model

  • View - that we also show that the initial loading elements that are fixed for each page (header and footer) and the data obtained from the model forwarded to a page that is in the template folder

  1. How to use ===

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published