MVC Web Application

338 views
281 views

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
338
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

MVC Web Application

  1. 1. BrowsePoint A Sample MVC Web Application
  2. 2. Installation •  Clone the project into the desired directory. https://github.com/romeoartista/BrowsePoint
  3. 3. Folder Structure
  4. 4. Folder Structure assets/ Contains static file contents such as CSS, JavaScript, and image files. •  config/ Contains configuration files in PHP format. Has app.php and database.php by default. • 
  5. 5. Folder Structure controller/ Contains the controller class files. All files should end in “Controller” suffix. (eg MainController.php) •  helpers/ Contains the helper files. • 
  6. 6. Folder Structure lib/ Contains core classes needed to run the MVC functionality of the web application. •  model/ Contains model classes for the web application. All required classes should end in “Model” suffix. (e.g. UserModel.php) • 
  7. 7. Folder Structure view/ Contains files in rendering web pages. One controller is equal to one directory. • 
  8. 8. Features Supported •  APC Caching •  HTTP Request Wrapping •  PHP Session Wrapping
  9. 9. TODO •  Add object mapping of database result to •  •  •  •  •  PHP class instance. Logging Memcache support Model class generator Improve configs Theme layout support

×