Skip navigation

Sign up | Lost password? | Help

Automatic Garbage Creation

Will the Cookie Crumble?

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:
  • Opera 9.0 was released in 2006, not 2005.

Click Below!

Comments

jintrinsique 10. August 2009, 14:42

I'm so hungry now. I simply can't read about cookies without thinking of cookies!

gregsmithsays 10. August 2009, 22:39

nice... I got hooked to the net in 1996
that's ... ouch... a long time ago now...
1 MB was almost impossible to download !
ha, ha

cool article ... good luck
:smile:

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

I love that article.

exde601e 11. August 2009, 18:09

Very interesting article! I had no idea local storage launched this way!

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

GREAT! :smile:

agrimp 12. August 2009, 04:36

A great technical article geared for the masses!:smile:

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

evolution is the solution - finding somebody you're comfortable to evolve with this the thing

Gyrobo 12. August 2009, 13:02

Thank you all for your nice comments.

Nengi 12. August 2009, 15:06

Haaha! If cookey can preserve data? Put datas in a cookey jar, nd see if it wont preserve.

gregsmithsays 12. August 2009, 15:06

Feel free to visit the Participants Group
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

I feel so informed now, thanx for sharing cookie info. I just accepted them didn't know how they got started.

Stratoukos 12. August 2009, 21:27

Nice article. Kinda reminds me of when the tracking cookies where the buzz and the mainstream media went amok. I remember articles in major newspapers saying that cookies are programs that will destroy your computer and stuff like this. Fun times!!

Gyrobo 12. August 2009, 21:31

@Stratoukos: That's another reason I hope DOM storage supplants cookies -- cookies were given such bad publicity by media personalities who couldn't tell a mouse from a microwave.

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

- the media eh ? First cookies now Swine Flu ...

public hysteria sells stuff

lambadajnr 12. August 2009, 23:37

Great!!, that was a well informed article. You can please read my blog (Opera Browser Innovation) by clicking on my picture (lambadajnr) from your box & pls. remember to add to favourite the article.

Gyrobo 12. August 2009, 23:48

Hey, that swine flu has given the old "when pigs fly" saying new life!

Hopecrushr 13. August 2009, 01:00

Ahh...Cookies...lol! Nice read!! I enjoyed it broski!

ramiriver 13. August 2009, 03:16

Those "pseudo standards" created IE6, now things have changed, thanks to browsers like Opera, that increased our expextations.

agrimp 13. August 2009, 06:00

Watching the unending swine flu saga on TV has given me "spine flu" Lol!

Stratoukos 13. August 2009, 07:08

Originally posted by Gyrobo:

Hey, that swine flu has given the old "when pigs fly" saying new life!



Wow. Are you talking about the new avian flu-swine flu mutation?

gregsmithsays 13. August 2009, 09:00

- worse recently 'Doctors confirm pigs catch human flu'

the indignity - pigs are scape goats (they've been fleeced)
:smile:

gregsmithsays 13. August 2009, 09:09

Jeez us, Joseph and Mary - gyrobo (Scoreboard 12 fans)

gonna have to unfriend you soon, :smile:

Nice work son !

Gyrobo 13. August 2009, 13:59

Originally posted by gregsmithsays:

gonna have to unfriend you soon


When pigs fly!

aellis403 13. August 2009, 21:25

cmon plz tell me how to do it plz MORE INFO

gregsmithsays 14. August 2009, 02:11

aellis403 - it takes a bit of communication with others and some work networking & promoting your article (no real secrets I'm afraid)

good luck

Gyrobo 14. August 2009, 02:19

No, he's talking about how to create links and put images in comments. I've been telling him on his blog using this url as an example.

gregsmithsays 14. August 2009, 02:27

OK

good luck anyway

aellis403 14. August 2009, 02:29

no its just that i want to use PHOTOBUCKET, and not anything else... ive tried EVERYTHING, but none of the examples work... well at least for ME.

gregsmithsays 14. August 2009, 02:34

ps I found this handy free editor paint.net

freakleash8 14. August 2009, 08:40

..hey, doing so well now..thats good!..goodluck..8

gregsmithsays 14. August 2009, 08:44

For more handy FREE Opera essentials go to:

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

Very,very interesting indeed.

Mastermind1 15. August 2009, 02:03

Originally posted by jintrinsique:

I'm so hungry now. I simply can't read about cookies without thinking of cookies!



Same feeling.
@Gyrobo good writing. I'm voting for it.

Gyrobo 15. August 2009, 02:09

Well thank you so much!

andyjungle 15. August 2009, 07:39

nice one, i faved it

gregsmithsays 15. August 2009, 09:10

Evolver revolver - got 'taking about a revolution' back in my mind

- 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

Round 2 - Update

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

There you go m8. Another fave rave. I didn't want to go to Oslo anyway lol. (Yes I did!)

aellis403 17. August 2009, 02:39

...

qlue 17. August 2009, 03:27

Oslo's summer maximum is colder than our winter minimum!!! :insane:
No thanks, I'll just stay here where the sun shines only in the day time. :happy:.
Besides, I don't know enough to enter this competition. :up:.

Gyrobo 17. August 2009, 03:28

I'd rather be in a cool pool than a hot cot.

I declare what I said to be idioms.

freakleash8 17. August 2009, 03:49

..well...we always have a choice, dont we?!..8

aellis403 17. August 2009, 03:49

:insane:

Thinktank1 17. August 2009, 04:08

Thought I would cc this in to you Gyrobo, I put it on his comment page. Just for the hell of it! Cheers m8.

"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

..ooh..harsh..8

Gyrobo 17. August 2009, 04:10

I saw it. Thanks, that kind of thing is just poison.

juiced 17. August 2009, 13:05

Now I red your article. Many technical details, not the easiest stuff to read, to be honest. But all in all, I like it and think it's good. So I just added it to my favorites :smile:

Gyrobo 17. August 2009, 15:12

I have a new post up. (Just letting you know.)

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31