Re: [Sugar-devel] HTML 5 article and validator

2009-08-11 Thread S Page
2009/8/11 Bryan Berry :

> https://developer.mozilla.org/En/Offline_resources_in_Firefox
>
> it appears to be very specific to firefox

Yes, that's talking about JS access to Mozilla nsXyz interfaces.

However...

> http://dev.w3.org/html5/webstorage/
>
> It sounds like some browser storage solutions use SQL, which I want to
> avoid. SQL is really overkill for our purposes. I would prefer a simple
> key/pair storage that you could read and write to w/ js.

But HTML5 webstorage provides what you want, localStorage.setItem() /
getItem() , implemented in latest XULRunner and WebKit.
Mozilla's explanation: 
Apple's: 


I tried Apple's example HTML and it works fine in Firefox 3.5, but not
in Browse in OLPC 8.2.0.
If you want to work in Browse in OLPC 8.2.0 (Firefox 3.0 equivalent) I
think you'd have to use Mozilla's non-standard globalStorage object.
I think SoaS and F11 for XO include a later XULRunner 1.9.2 that has
Firefox 3.5 features, maybe someone running those could try
http://www.skierpage.com/olpc/offline_test.html ?

Here's a summary of storage options:
http://stackoverflow.com/questions/1194784/which-browsers-support-html5-offline-storage

Hope this helps,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] HTML 5 article and validator

2009-08-11 Thread Lucian Branescu
There's realStorage (http://code.google.com/p/realstorage/), but I
don't know if it's mature enough.

You could always use one of the various JS ORMs, that usually have
several backends, as varied as html5, gears, cookie, flash cookie,
activex, etc.

2009/8/11 Bryan Berry :
> On Tue, 2009-08-11 at 17:04 +0545, Christoph Derndorfer wrote:
>> Finally had a chance to read a quick intro article to HTML 5
>> (http://www.smashingmagazine.com/2009/07/16/html5-and-the-future-of-the-web/)
>>  which also linked to an (experimental) HTML 5 validator 
>> (http://html5.validator.nu/).
>>
>>
>> I'm thinking especially the validator could come in quite handy for
>> Karma development work.
>
> I agree and it should be bundled w/ the utilities in utils/
>
>
>>
>> BTW, let me know if you stumble across other HTML 5 articles and
>> tutorials, I'm particularly interested in information and how-tos on
>> how to use the offline storage functionality.
>
> will do. The only ones I have seen so far seem to be for mozilla like
> this one
>
> https://developer.mozilla.org/En/Offline_resources_in_Firefox
>
> it appears to be very specific to firefox
>
>
> http://dev.w3.org/html5/webstorage/
>
> It sounds like some browser storage solutions use SQL, which I want to
> avoid. SQL is really overkill for our purposes. I would prefer a simple
> key/pair storage that you could read and write to w/ js.
>
> I like this guy's implementation but I have no idea where is has gone
> since he wrote this blog entry
> http://labs.mozilla.com/2009/04/towards-better-browser-storage/
>
>
>>
>> Thanks,
>> Christoph
>>
>> --
>> Christoph Derndorfer
>> co-editor, olpcnews
>> url: www.olpcnews.com
>> e-mail: christ...@olpcnews.com
>>
> --
> Bryan W. Berry
> Technology Director
> OLE Nepal, http://www.olenepal.org
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] HTML 5 article and validator

2009-08-11 Thread Bryan Berry
On Tue, 2009-08-11 at 17:04 +0545, Christoph Derndorfer wrote:
> Finally had a chance to read a quick intro article to HTML 5
> (http://www.smashingmagazine.com/2009/07/16/html5-and-the-future-of-the-web/) 
> which also linked to an (experimental) HTML 5 validator 
> (http://html5.validator.nu/).
> 
> 
> I'm thinking especially the validator could come in quite handy for
> Karma development work.

I agree and it should be bundled w/ the utilities in utils/


> 
> BTW, let me know if you stumble across other HTML 5 articles and
> tutorials, I'm particularly interested in information and how-tos on
> how to use the offline storage functionality.

will do. The only ones I have seen so far seem to be for mozilla like
this one

https://developer.mozilla.org/En/Offline_resources_in_Firefox

it appears to be very specific to firefox


http://dev.w3.org/html5/webstorage/

It sounds like some browser storage solutions use SQL, which I want to
avoid. SQL is really overkill for our purposes. I would prefer a simple
key/pair storage that you could read and write to w/ js.

I like this guy's implementation but I have no idea where is has gone
since he wrote this blog entry
http://labs.mozilla.com/2009/04/towards-better-browser-storage/


> 
> Thanks,
> Christoph
> 
> -- 
> Christoph Derndorfer
> co-editor, olpcnews
> url: www.olpcnews.com
> e-mail: christ...@olpcnews.com
> 
-- 
Bryan W. Berry
Technology Director
OLE Nepal, http://www.olenepal.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] HTML 5 article and validator

2009-08-11 Thread Christoph Derndorfer
Finally had a chance to read a quick intro article to HTML 5 (
http://www.smashingmagazine.com/2009/07/16/html5-and-the-future-of-the-web/)
which also linked to an (experimental) HTML 5 validator (
http://html5.validator.nu/).
I'm thinking especially the validator could come in quite handy for Karma
development work.

BTW, let me know if you stumble across other HTML 5 articles and tutorials,
I'm particularly interested in information and how-tos on how to use the
offline storage functionality.

Thanks,
Christoph

-- 
Christoph Derndorfer
co-editor, olpcnews
url: www.olpcnews.com
e-mail: christ...@olpcnews.com
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel