Hacker News new | ask | show | jobs
by SloopJon 4103 days ago
May I recommend the following blog post:

http://blog.lunatech.com/2009/02/03/what-every-web-developer...

and the HN discussion of that post:

https://news.ycombinator.com/item?id=5930494

I used JSON in the URL to preserve the state of a report across reloads. I kind of regret it, because it wouldn't have been that much work to maintain a URL with normal query args. I think I had in mind that JSON would better handle things like the collapse/expand state of nested groups (a tree, essentially), but mostly I was just lazy, considering that I never got that far.