Skip to Main Content
HTML5 for .NET Developers
book

HTML5 for .NET Developers

by James Jackson, Ian Gilman
November 2012
Beginner content levelBeginner
416 pages
13h 22m
English
Manning Publications
Content preview from HTML5 for .NET Developers

Chapter 5. The History API: changing the game for MVC sites

This chapter covers

  • Understanding the basic operation of the History API
  • Integrating MVC with the HTML5 History API
  • Controlling history in a web application

Suppose you’re building a newsreader application for the web and want to incorporate a search feature for things like images, people, and places. You build a responsive HTML5 interface with a popup <div> that allows a user to cycle through multiple tabs refining the search. In the background you’re using Ajax and jQuery to ping the server for hit counts based on each updated criteria. What do you think will happen when the user cycles through three tabs adding criteria and then, out of force of habit, hits the Back button? Unless ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HTML5 Programming for ASP.NET Developers

HTML5 Programming for ASP.NET Developers

Bipin Joshi
HTML5 Guidelines for Web Developers

HTML5 Guidelines for Web Developers

Klaus Förster, Bernd Öggl

Publisher Resources

ISBN: 9781617290435Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link