jaywilliams / ultralite

Miscellaneous files pertaining to the Ultralite framework, some of which are deprecated. View pixelpost/ultralite2 for the latest version.
https://github.com/pixelpost/ultralite2
5 stars 0 forks source link

URL Formatting Function or Class #3

Closed jaywilliams closed 12 years ago

jaywilliams commented 15 years ago

We need a way to generate clean URLs in a clean way. And to handle falling back, if mod_rewrite isn't available.

mod_rewrite: example.com/post/12

w/o mod_rewrite: example.com/?/post/12

jaywilliams commented 15 years ago

URLs without mod_rewrite should be rendered like this:

example.com/?post/12

jaywilliams commented 15 years ago

We need a class to make paginated URLs easier too.