Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Link: A fast and simple PHP Router. Parent comment
A benefit of routing is that you can have a single point of contact in your app: a front controller. And you can place your route config in one place.
This router also has RESTful routing, detecting HTTP methods upfront that correspond to a predictable method name in a named class.
There are no comments on this comment yet.
A benefit of routing is that you can have a single point of contact in your app: a front controller. And you can place your route config in one place.
This router also has RESTful routing, detecting HTTP methods upfront that correspond to a predictable method name in a named class.