logoalt Hacker News

mikeocoolyesterday at 9:25 PM2 repliesview on HN

I dunno, it seems like the fact that we arrived at a fairly standard structure for URL paths that works pretty well is not a bad outcome.

Seems a lot better than the other potential world we could lived in, where paths were a black box and every web server/framework invented their own structure for them.


Replies

hamburglaryesterday at 9:55 PM

My next website is going to have the path portion of the URL be a base64 encoded ASN.1 blob.

show 2 replies
gritzkoyesterday at 10:30 PM

In my current project I use URIs to refer to absolutely any entity in a git(-ish) repo. Files, branches, revisions, diffs, anything. URI turns out to be a really good addressing scheme for everything. Surprise. But the most used and abused element is always the path. Query takes a lot of that mess away. Might have been unmanageable otherwise.

https://github.com/gritzko/beagle

show 1 reply