One of the hardest things to deal with after taking some time off from work is getting yourself back on track.
Hopefully you’re refreshed, feeling creative and ready to rock! But it’s probably also true that you’re buried under a mountain of e-mail, have lots of calls to return and, if you’ve just spent a weekend in Vegas, you feel like you’ve been run over by a cement truck.
What’s worse is that any good habits you had before you left are in jeopardy of being broken if you can’t get back on track quickly.
Well, as a veteran of many a few days off, and luckily a few longer vacations as well, I do have a few tips that could help make your next transition back to reality an easier one.
I’m trying to store the session state in the address bar to allow bookmarking. What can be changed in the URL that won’t trigger a page reload? The hash portion. So what I need to do is add my AJAX application’s parameters after a #.
There is an additional benefit to this approach: When you click on page anchors, these points are added to the browser’s history object so that when you press the back button you’re taken back to these points within the same page. That’s important because items are being added to the history without leaving the current page.