Will the Cookie Crumble?
Sunday, 9. August 2009, 20:49:49
When cookies were first introduced fifteen years ago, they were revolutionary. The web itself was in its infancy, and the ability to store browsing data for future use — well, that was just the bee’s knees. And like many web technologies of the era, cookies evolved rapidly and haphazardly, to fill a suddenly-open niche.
Flash-forward a decade.
The Internet was very different in 2004 than when cookies burst onto the scene. But it was still based on standards and pseudo-standards from a time when our expectations of web browsers were much lower.
Could a cookie store image data? A large text document? Were cookies easy to manipulate? Could they be used on more than one page in a site?
It was at this time that Opera was busy building widget support into its browser. Widgets are web apps designed to run in chromeless windows, giving the appearance of being stand-alone applications. Opera is the first and only browser to support widgets.
While designing the widget API, it ran into a brick wall when it came to storage. How could developers take full advantage of Opera if there was no way to persist data across sessions, other than a handful of four-kilobyte packets? Cookies just couldn’t cut it.
There have been some attempts in the past to reform data persistence. But faced with the daunting task of creating a viable development platform, Opera had no choice — it had to come up with a new storage API to contain an arbitrarily large amount of data.
With the release of Opera 9.0 in 2005, whole avenues of possibility opened up — the ever-present barrier of storage had folded like wet paper. The call had been sounded for a new kind of storage, a new API for a new century.
Some brave souls on the HTML5 working group took up the gauntlet, and spent the next five years hammering out an API for what is colloquially known as DOM Storage.
DOM Storage presents many advantages over the more weathered cookie. The minimal recommended storage quota is over a thousand times as much data as a cookie holds; it’s possible to persist data across an entire domain, rather than one page; and editing stored data couldn’t be easier.
Will cookies fall by the wayside?
No. DOM Storage lacks a broad install base — and server-side support.
But, like its forerunners, it will evolve.
CORRECTIONS:
Flash-forward a decade.
The Internet was very different in 2004 than when cookies burst onto the scene. But it was still based on standards and pseudo-standards from a time when our expectations of web browsers were much lower.
Could a cookie store image data? A large text document? Were cookies easy to manipulate? Could they be used on more than one page in a site?
It was at this time that Opera was busy building widget support into its browser. Widgets are web apps designed to run in chromeless windows, giving the appearance of being stand-alone applications. Opera is the first and only browser to support widgets.
While designing the widget API, it ran into a brick wall when it came to storage. How could developers take full advantage of Opera if there was no way to persist data across sessions, other than a handful of four-kilobyte packets? Cookies just couldn’t cut it.
There have been some attempts in the past to reform data persistence. But faced with the daunting task of creating a viable development platform, Opera had no choice — it had to come up with a new storage API to contain an arbitrarily large amount of data.
With the release of Opera 9.0 in 2005, whole avenues of possibility opened up — the ever-present barrier of storage had folded like wet paper. The call had been sounded for a new kind of storage, a new API for a new century.
Some brave souls on the HTML5 working group took up the gauntlet, and spent the next five years hammering out an API for what is colloquially known as DOM Storage.
DOM Storage presents many advantages over the more weathered cookie. The minimal recommended storage quota is over a thousand times as much data as a cookie holds; it’s possible to persist data across an entire domain, rather than one page; and editing stored data couldn’t be easier.
Will cookies fall by the wayside?
No. DOM Storage lacks a broad install base — and server-side support.
But, like its forerunners, it will evolve.
CORRECTIONS:
- Opera 9.0 was released in 2006, not 2005.















1 2 3 4 5 Next »
jintrinsique # 10. August 2009, 14:42
gregsmithsays # 10. August 2009, 22:39
that's ... ouch... a long time ago now...
1 MB was almost impossible to download !
ha, ha
cool article ... good luck
PS read mine here>>http://my.opera.com/gregsmithsays/blog/be-more-seem-less-opera-portal-in-a-nutshell
chillaxzino # 11. August 2009, 02:14
exde601e # 11. August 2009, 18:09
If you like, you can read my article here:
http://my.opera.com/exde601e/blog/on-browsers-and-evolution
NewZealand # 12. August 2009, 03:48
agrimp # 12. August 2009, 04:36
My article(should be up on the list soon after approval) also slants towards the technical side.
See if you like it(and remember to vote for it if you do)!
>>>>>>> http://my.opera.com/agrimp/blog/2009/08/11/tech-convergence
gregsmithsays # 12. August 2009, 06:47
Gyrobo # 12. August 2009, 13:02
Nengi # 12. August 2009, 15:06
gregsmithsays # 12. August 2009, 15:06
Opera Online Writers Internship Competition Group >>
http://my.opera.com/operainterns2009/blog/
or the Participants Forum >>
http://my.opera.com/operainterns2009/forums/
kind regards,
greg
shucklebolt # 12. August 2009, 15:44
Stratoukos # 12. August 2009, 21:27
Gyrobo # 12. August 2009, 21:31
I think I had that mentioned originally, but cut it out during editing to meet the 400-word limit.
gregsmithsays # 12. August 2009, 23:36
public hysteria sells stuff
lambadajnr # 12. August 2009, 23:37
Gyrobo # 12. August 2009, 23:48
Hopecrushr # 13. August 2009, 01:00
ramiriver # 13. August 2009, 03:16
agrimp # 13. August 2009, 06:00
Stratoukos # 13. August 2009, 07:08
Originally posted by Gyrobo:
Wow. Are you talking about the new avian flu-swine flu mutation?
gregsmithsays # 13. August 2009, 09:00
the indignity - pigs are scape goats (they've been fleeced)
gregsmithsays # 13. August 2009, 09:09
gonna have to unfriend you soon,
Nice work son !
Gyrobo # 13. August 2009, 13:59
Originally posted by gregsmithsays:
When pigs fly!
aellis403 # 13. August 2009, 21:25
gregsmithsays # 14. August 2009, 02:11
good luck
Gyrobo # 14. August 2009, 02:19
gregsmithsays # 14. August 2009, 02:27
good luck anyway
aellis403 # 14. August 2009, 02:29
gregsmithsays # 14. August 2009, 02:34
freakleash8 # 14. August 2009, 08:40
gregsmithsays # 14. August 2009, 08:44
1. An excellent browser
http://www.opera.com/download/
2. More free storage & collaboration (Opera Unite) Very cool !
http://labs.opera.com/news/2009/06/16/
3. BEST... mobile phone essential browser
http://www.opera.com/mini/download/
exodinary # 14. August 2009, 22:08
Mastermind1 # 15. August 2009, 02:03
Originally posted by jintrinsique:
Same feeling.
@Gyrobo good writing. I'm voting for it.
Gyrobo # 15. August 2009, 02:09
andyjungle # 15. August 2009, 07:39
gregsmithsays # 15. August 2009, 09:10
- I'm criss crossposting in desperation
I'm trying to get Google Reader to SEND TO My Opera
>> have a look here << and let me know if you have any idea's
aellis403 # 15. August 2009, 18:59
gregsmithsays # 16. August 2009, 12:27
You may have followed GROUP info here:
Now we have a Round 2 forum
The ROUND 2 group is by invitation - members only
good luck
gregsmithsays
aellis403 # 16. August 2009, 17:46
Thinktank1 # 17. August 2009, 01:34
aellis403 # 17. August 2009, 02:39
qlue # 17. August 2009, 03:27
No thanks, I'll just stay here where the sun shines only in the day time.
Besides, I don't know enough to enter this competition.
Gyrobo # 17. August 2009, 03:28
I declare what I said to be idioms.
freakleash8 # 17. August 2009, 03:49
aellis403 # 17. August 2009, 03:49
Thinktank1 # 17. August 2009, 04:08
"Integrity is a part of the competition. I am sure the guys in Oslo would not want some smartarse "crook" working for them anyway. Do you not think Girish that some of us don't already know how to manipulate results? BUT some of us have a little integrity. Secondly an attempt to charge a cheat for manipulating his/her blog is a criminal act (or if not criminal it is morally bankrupt). I would rather be at the bottom of the list than cheat. I am a polite person, but YOU SUCK!"
freakleash8 # 17. August 2009, 04:10
Gyrobo # 17. August 2009, 04:10
juiced # 17. August 2009, 13:05
Gyrobo # 17. August 2009, 15:12