Re:Link: A fast and simple PHP Router
by mjburgess on Thursday May 29, 2014 @01:47PM
(#7817543)
Umm.. what do you think a server is for?
[ Parent
| on HN ]
Re:Link: A fast and simple PHP Router
by vectorpush on Thursday May 29, 2014 @03:03PM
(#7817964)
The http server's job is to translate URLs into http requests for consumption by the application. The http server should generally be agnostic regarding the semantic meaning of your URLs, which take the form of business rules, the proper place for which is the application layer (whenever possible).