source: Dev/trunk/src/client/dojox/storage/README @ 532

Last change on this file since 532 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 3.4 KB
Line 
1-------------------------------------------------------------------------------
2Dojo Storage
3-------------------------------------------------------------------------------
4Version X.XXX (does not have separate versioning -- versioned by release date)
5Last Release date: January 2010
6-------------------------------------------------------------------------------
7Project state:
8experimental
9-------------------------------------------------------------------------------
10Credits
11        Brad Neuberg
12        Alex Russell
13
14LocalStorage, BehaviorStorage, CookieStorage:
15        Jens Arps
16-------------------------------------------------------------------------------
17Project description
18
19dojox.storage provides a JavaScript abstraction for persistent storage
20as well as pluggable implementations which typically use native browser
21extensions (e.g. Flash player, Gears)
22
23-------------------------------------------------------------------------------
24Dependencies:
25
26FlashStorageProvider requires the Flash player
27GearsStorageProvider requires the Gears extension
28LocalStorageProvider does not require any plugins but will run only in certain
29browsers (see below)
30BehaviorStorageProvider does not require any plugins but will run only in IE 5+
31CookieStorageProvider has no requirements
32The various Air*StorageProviders require Adobe's AIR software
33
34The open source mtasc compiler (www.mtasc.org) is needed to build the
35ActionScript into SWF format.  The SWF object is maintained within svn, so
36this step is only necessary if Storage.as is modified.  A sample build script
37is provided (buildFlashStorage.sh)
38
39-------------------------------------------------------------------------------
40Documentation
41
42See http://dojotoolkit.org/reference-guide/dojox/storage.html for Dojo Storage docs.
43
44See dojox/storage/demos/helloworld.html for a simple Hello World example
45you can base your code off of.
46
47-------------------------------------------------------------------------------
48Installation instructions
49
50If you want to use Dojo Storage in a web browser:
51
52These installation instructions are to use Dojo Storage in a web browser; at
53runtime, Dojo Storage will autodetect and use the best available storage
54option. This includes:
55
56  * localStorage: HTML 5 Web Browsers (Firefox 3+, Safari 4+, IE 8+)
57  * Google Gears (Plugin)
58  * globalStorage (Firefox 2+)
59  * userData Behavior (IE 5+)
60  * Hidden Flash (Plugin)
61  * Cookies
62
63To have access to Dojo Storage, require "dojox.storage":
64
65dojo.require("dojox.storage");
66
67
68If you want to use Dojo Storage with Adobe AIR:
69
70[TBD! Why don't you write this and contribute!]
71
72-------------------------------------------------------------------------------
73Additional Notes
74
75
76STORAGE TABLE
77-------------
78
79
80Browser         Used StorageProvider, in order of preference
81
82IE 6 / IE7      GearsStorageProvider
83                        FlashStorageProvider
84                        BehaviorStorageProvider
85                        CookieStorageProvider
86
87IE 8            LocalStorageProvider
88                        GearsStorageProvider
89                        FlashStorageProvider
90                        BehaviorStorageProvider
91                        CookieStorageProvider
92
93Safari 3        FlashStorageProvider
94                        CookieStorageProvider
95
96Safari 4        LocalStorageProvider
97                        FlashStorageProvider
98                        CookieStorageProvider
99
100Chromium 4      FlashStorageProvider
101(Mac OS)        CookieStorageProvider
102
103Firefox 2       WhatWGStorageProvider (= globalStorage)
104                        GearsStorageProvider
105                        FlashStorageProvider
106                        CookieStorageProvider
107
108Firefox 3       LocalStorageProvider
109                        GearsStorageProvider
110                        FlashStorageProvider
111                        CookieStorageProvider
112
113Opera 10        LocalStorageProvider
114                        FlashStorageProvider
115                        CookieStorageProvider
Note: See TracBrowser for help on using the repository browser.