News for hackers. Stuff that matters.
Re:Modern Web Applications are Here by sirn on Tuesday November 15, 2011 @05:04AM (#3237722)
However by using hashbang URLs, you have to keep that little snippet of JavaScript forever to maintain permalink even after the web has moved on to another solution.

It's not a future-proof solution.

Re:Modern Web Applications are Here by fooandbarify on Tuesday November 15, 2011 @07:20AM (#3237978)
Hashbangs are only a stop-gap at this point - modern browsers ship with the HTML5 History API.
Re:Modern Web Applications are Here by quanticle on Tuesday November 15, 2011 @09:34AM (#3238281)
Does IE8 ship with the History API?
Re:Modern Web Applications are Here by akavlie on Tuesday November 15, 2011 @12:45PM (#3239189)
No, IE8 is not a modern browser by most definitions.
Re:Modern Web Applications are Here by quanticle on Tuesday November 15, 2011 @03:39PM (#3240089)
Which definitions? I've seen definitions of "modern browser" that only exclude IE 6 and 7.
Re:Modern Web Applications are Here by dextorious on Wednesday November 16, 2011 @12:12PM (#3243960)
They are wrong. They use modern to mean "quite new and available to most clients" instead of "actually implementing the majority of the latest standards".

IE 9 comes close, and can be considered modern.

Re:Modern Web Applications are Here by mattmanser on Tuesday November 15, 2011 @06:54AM (#3237910)
I'm not sure what you mean by little snippets of javascript, a link is a link. If you change why couldn't you just 301 them to your new format? It's a trivial redirect that you're keeping for the g-juice.
Re:Modern Web Applications are Here by icebraining on Tuesday November 15, 2011 @07:38AM (#3238016)
The part after an hashbang is not sent to the server, so you need client side code to load the content.

This is because the # in an URL is supposed to be an identifier of a element in the page, not an actual resource.

Re:Modern Web Applications are Here by dextorious on Wednesday November 16, 2011 @12:14PM (#3243971)
Or you could just keep a tiny snippet of Javascript that searches for old style hashbangs and redirects all of them to the "another solution" handler to decide what to do with them. It can be just 3-4 lines of JS.
Re:Modern Web Applications are Here by sirn on Sunday November 20, 2011 @02:41AM (#3257552)
The problem is that you have to keep that snippet forever if you ever use the hashbangs. That's why I'm saying it's not a future-proof solution. Not that few bytes matters, though.