Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mellambias/mvc
Implements a simple MVC Model View Controller in PHP
https://github.com/mellambias/mvc
mvc php router
Last synced: about 2 months ago
JSON representation
Implements a simple MVC Model View Controller in PHP
- Host: GitHub
- URL: https://github.com/mellambias/mvc
- Owner: mellambias
- Created: 2022-02-18T13:47:23.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-26T11:33:58.000Z (almost 3 years ago)
- Last Synced: 2024-07-08T14:18:38.093Z (6 months ago)
- Topics: mvc, php, router
- Language: PHP
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mvc
Implements a **simple MVC** Model View Controller in PHP
whith **user**, **post** and **send mail**.
The user has registered before add __post__ or __send an mail__.***
## Core
The **Core** is a simple *router* `domain.com/router/method/params`* The first param is the name of **Controler**
* The second is the **method** to call
* the rest of params are arguments for the method.~~~
The uri http://www.domain.com/posts/edit/1
call posts->edit(1); on the Class Posts.php in Controller folder
~~~~
***
## Example
[Web example working](http://mvc.freecluster.eu/)***
Enjoy!!
[[email protected]](mailto:[email protected])