https://github.com/kapitanluffy/shipdeck
a boilerplate for creating a front-end controller for your php web apps
https://github.com/kapitanluffy/shipdeck
Last synced: about 2 months ago
JSON representation
a boilerplate for creating a front-end controller for your php web apps
- Host: GitHub
- URL: https://github.com/kapitanluffy/shipdeck
- Owner: kapitanluffy
- Created: 2013-01-26T10:16:55.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-28T09:13:33.000Z (over 12 years ago)
- Last Synced: 2025-02-07T03:25:32.461Z (3 months ago)
- Language: PHP
- Size: 109 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PHP-Dispatcher
==============a boilerplate for creating a front-end controller for your php web apps
Anatomy of the URL
---`http://my_awesome_site/controller/method/query_1/query_2/query_3`
The Config File
---* Base URL
This URL serves as the *root* link of your site. Remember to remove the trailing slash :)* My App
The directory pointing to your *controllers* (if you are using MVC or such).* Default Controller
The controller that will be loaded automatically (if none is specified in the URL).* Default Action
Same as the Default Controller.The htaccess file
---You can edit the htaccess file to remove the `index.php` in your URL