Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum (2) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2008-11-12 (7 years ago) ![]() | ![]() ![]() ![]() ![]() | Total: 3,012 This week: 2 | All time: 1,171 This week: 591![]() |
Version | License | PHP version | Categories | |||
mvclike 1.0.0 | Freeware | 4.0.4 | Libraries, Design Patterns |
Description | Author | |||||||||||||
This package is a framework that implements the MVC design pattern. |
|
LICENSE: Feel free to use it anyway you like. This application is kind of like an MVC setup except that I don't really like the way MVC frameworks work so I made this instead. The idea is that each url segment for your application (ie. /admin/) would have it's own module and views and that the application would work in PHP 4. I haven't really commented the code... but if you look at it you should be able to figure out how it works fairly easily. To test: Just upload the files to the root of your domain. Make sure you have mod_rewrite installed. navigate to http://www.yourdomain.com to test the defaultModule class navigate to http://www.yourdomain.com/test/ to test the testModule class navigate to http://www.yourdomain.com/blah/ to test the errorModule class |
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Example | htaccess | ||
![]() ![]() |
Example | bootstrap | ||
![]() ![]() |
Doc. | README |
![]() |
/ | Application | / | classes |
File | Role | Description |
---|---|---|
![]() |
Class | Router Class |
![]() |
Class | View Class |
![]() |
/ | Modules |
File | Role | Description |
---|---|---|
![]() |
Class | Default Module Class |
![]() |
Class | Error Module Class |
![]() |
Class | Test Module Class |
![]() |
/ | Views | / | default |
File | Role | Description |
---|---|---|
![]() ![]() |
Example | Default View Index |
![]() ![]() |
Example | Default Footer |
![]() ![]() |
Example | Default Header |
![]() ![]() |
Example | Index |
![]() |
/ | Views | / | error |
File | Role | Description |
---|---|---|
![]() ![]() |
Example | Error Default View |
![]() ![]() |
Example | 404 View |
![]() ![]() |
Example | Error Footer |
![]() ![]() |
Example | Error Header |
![]() ![]() |
Example | Index |
![]() |
/ | Views | / | test |
File | Role | Description |
---|---|---|
![]() ![]() |
Example | Test Footer |
![]() ![]() |
Example | Test Header |
![]() ![]() |
Example | Index |
![]() ![]() |
Example | Test Default View |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Pages that reference this package |
Question for Developers - PHP or any other OOP language There isn't a set structure really and including the file shouldn't impact performance... |