Web Hosting

Tuesday, August 9, 2011

HTML5: TO DO Application Using Local Storage

HTML5: TO DO Application Using Local Storage

In web application when a developer wants to store anything for user to use it again, he thinks of two ways: one is the client side and the other is the server side. The server storage is a good solution if we think about large data but if we want our application to work offline there is no way to manipulate server data without using client side storage.

So, for small amount of data that needs to stay at the client side where poor solutions are present like cookies, userData – IE special object, Google gears. The last two are browser specific which means they will not work in any browser, while cookies work in all browsers it suffers from serious limitations like:

  1. Small size, up to 4kb per cookie and 20 cookies accepted from a particular server or domain.
  2. It may be cleaned by user.
  3. Consumes bandwidth, because it is included in every request header.

Read Full Tutorial ยป

Article written by Fadi Hania

A professional developer with a B.Sc. in Computer Engineering. Developing Web, Moblie and Desktop applications and interested in reading, blogging. A cofounder of Wateen Technologies an application development and hosting company.

Follow Me

Behance Delicious DeviantART Google LinkedIn Pinterest RSS

Subscribe by Email

Enter your email address:

Sponsors

Blog Archive

  • 2019
  • 2014
  • 2013
  • 2012
  • 2011
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006

Twitter Updates

Friends

 

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'collapsArch' does not have a method 'enqueue_scripts' in /home/customer/www/ahmadhania.com/public_html/wp-includes/class-wp-hook.php on line 308