Category Archives: Javascript

Internals of Variables in Javascript

Javascript being the subset of Java (with almost no similarity), at least some people think when Netscape announced it way back, is widely getting popular nowadays (outside web world) because of its flexibility on defining objects and its prototypes. Javascript is truly flexible language and has been great when dealing with Web architecture, where things […]

Getting Geolocation from browser using HTML5

As we are getting inclined more and more towards devices, browsers are trying to do their best to actually implement features to suit the needs. HTML5 introduces GeoLocation APIs to the browser which enables you to get the location of your position directly using javascript. In spite being very much premitive, browsers are capable of […]

Working with NotificationUI on browsers with HTML5

Notification is one of the interesting thing that browsers are adding support to. Generally when we think of Web notification we always go for some HTML popup or using a new window through Javascript. But those html are generally does not follow any standards or even looks different to the user to different sites. Hence […]

Working with Web workers in HTML5

Web workers are one of the most awaited feature of entire HTML 5 specifications. Generally if we think of, the current environment is actually turning towards multicore machines. Today, its verbally every computer has at least 2 cores installed in their machine. Browser are well capable of producing multiple threads that can run in parallel […]

Working with IndexedDB Storage using HTML5

HTML 5 also introduces an IndexDb storage API just like SQL databases, which are high speed data access key value collection.  In this post, I am going to cover how to use IndexedDb storage using HTML 5 API. On November 18, 2010, W3C announces that they are going to depreciate the addition to sql database […]

Working with SQL databases with Transaction using HTML5

Html 5 has come across with lots of new stuffs, some of them are overwhelming and very interesting in real world. One of such storage APIs that is available with modern browsers are SQL databases on client side. The specifications allows you to open a Database, create tables, maintain relationship, open transactions etc.  These are […]

How to get quota of localStorage in HTML5

It is sometimes important to detect the actual quota of storage that the current client browser supports before actually storing data into it. To prevent  the exception QUOTA_EXCEEDED_ERR to happen in the browser, as a developer you will always need to query what are the memory that can be stored without exceeding the quota given by […]

Offline Session Data storage using HTML5

Well, it might look quite similar with the one I explained before, HTML 5 also includes a separate object to deal with Session storage. The Session storage is actually quite different from localStorage API. In case of sessionStorage, the data will remain only when you are inside current session. Such that when you close the […]

Offline Local Data storage using HTML 5

Well,  in my previous tips, I have showed you how you can inject some javascript code that will enable you to detect whether you are online or offline while browsing your application. I have also mentioned that you can even browse the entire website while being offline. But the matter of fact is, how could […]