Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Advanced html5 :Application Cache, Geolocation, Web storage
Upcoming SlideShare
Loading in …5
×

Advanced html5 :Application Cache, Geolocation, Web storage

850 views

Published on

Covers Application Cache, Geolocation, Web storage

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
850
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
1
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • Suresh
  • SureshAgenda of the session
  • What Are Offline Applications? How many of u had worked on Silverlight.. And know offline app dev.. So how to server web application if they are no connectivity.Using an application cache gives an application the following benefits:Offline browsing, Speed, Reduced server load
  • Each browser has different ways of permission settings.
  • What Are Offline Applications? Programmatically Offline apps = Handle Browser Events + Application CacheThere are specific events which are fired when app is online or offline.Application Cache will help u in maintain the application data offlineCant we visit the pages which we had visited earlier, even if there is no connection
  • These files will be stored reliability on the client side.The browser will only understand there is a change only if there is a change in the version of manifest.Note: Browser cache can override the Application cache, as it may not recognize any change in the file. So set no-cache.
  • Suresh:
  • Each application cache has a state, which indicates the current condition of the cache.  Caches that share the same manifest URI share the same cache stateUpdate ready: There is a corresponding updateready event, which is fired instead of the cached event when a new update has been downloaded but not yet activated using the swapCache() method.
  • Geolocation is about allowing to locate a device.All the requests are processed async. There are different
  • Each browser has different ways of permission settings.
  • IP Address: Available everywhere, Processed Server side - Low Accuracy, High Processing OverheadGPS: High Accuracy – Long Operation, Not optimal for indoors, H/W requiredWiFi – Accurate, Works indoors, Quick and Cheap – Ineffective in area with coverageCellphone: Accurate, Works indoors, Quick and Cheap - Ineffective in area with coverage, needs cellphone modemUser Defined: High Accuracy, Flexible, Fastest option – can be very inaccurate
  • High Accuracy: Booleen, Attempts to gather more info, Performance concernsTimeOut:Millseconds, Max time to wait, Default: no limitMaximum Age: How long u need to keep the val before refresh, Millsecs, Default – 0 immedidaterecalc
  • With HTML5, web pages can store data locally within the user's browser.Earlier, this was done with cookies. However, Web Storage is more secure and faster. The data is not included with every server request, but used ONLY when asked for. It is also possible to store large amounts of data, without affecting the website's performance.The data is stored in key/value pairs, and a web page can only access data stored by itself.
  • Each browser has different ways of permission settings.
  • Security: Per Domain, Per SessionCapacity: Client controlled, 5 or squares of 5Web Storage vs. Cookies : what say ??
  • Simple APIKey/value pairNo query languageWidespread availability
  • ×