app-zap / PHPFramework

A lightweight PHP framework as a composition of different good features and concepts of other frameworks intended for easy use and fast development
Other
4 stars 1 forks source link

Routing: Get rid of the relative path to the application for better routing #26

Closed smichaelsen closed 9 years ago

smichaelsen commented 9 years ago

At the moment if you have a URL like http://example.com/path/to/your/app/users/list the Router has to route the resource path/to/your/app/users/list even if path/to/your/app/ is not part of your application but results from your server environment and might be different on each environment you want to deploy to. We need a way to get rid of the relative path for routing.