What does it even mean to manage cookies and URL parameters? Well, when building single page apps/sites where you do a lot of sorting,
filtering and refreshing of your data (partially on the page), you want
to preserve some of the state in the browser URL. So when people hit the
back button they don't start completely from scratch, but from the
state indicated in the URL. We have one small but highly useful extension coming up this week, which does exactly that and even more. It's called HTML5 Data Bindings State Management, so stay tuned!
The Story
What you can do with HTML5 Data Bindings State Management
Save and preserve page state - Save the components state, like sort order, page and filters, in URL parameters, in order for your users to be able to open the page instantly and get the last state, without starting from scratch.
Store user and page states in cookies - It's a great way to identify the user, so the data doesn't get lost on page refresh. This way you can avoid displaying the same content again and again, when the user already saw it.
Store user related preferences - Allow your users to make adjustments like, language preference, currency, local page to be loaded on login, etc. and display these same choices once the user is back.
Comments
Be the first to write a comment
You must me logged in to write a comment.