Re: libseed-list SQlite Tutorial
- From: Alan Knowles <alan akbkhome com>
- To: Alan Forbes <alfraealba googlemail com>
- Cc: Seed - Gnome Javascript <libseed-list gnome org>
- Subject: Re: libseed-list SQlite Tutorial
- Date: Fri, 19 Feb 2010 09:02:36 +0800
Just some thoughts.
* always prefix variables with 'var' when you declare them as a habit,
otherwise scoping can get risky later..
* it would be good to use a monospace font for the code.
* I'm guessing you are writing on a Word processer, as it's messing up
the quotes / back forth etc.
* See the array syntax below - this is normally used rather than setting
indexes
Regards
Alan
*
**var music_data = [
{artist : “Saxon”, album: “Wheels of Steel”, popularity: 20},
{artist : “Iron Maiden”, album: “Iron Maiden”, popularity: 17},
{artist : “Judas Priest”, album: “Live In Concert”, popularity: 20},
{artist : “Saxon”, album: “Into the Labyrinth”, popularity: 23},
{artist : “Runrig”, album: “Once In A Lifetime”, popularity: 14},
{artist : “Simple Minds”, album: “Got Live If You Want It”, popularity: 4}
];
***
Alan Forbes wrote:
http://alsaf1.wordpress.com/2010/02/18/sqlite/
I've still to proofread this but I posted it just in case somebody is in
dire need for a Seed JavaScript SQlite tutorial :-)
_______________________________________________
libseed-list mailing list
libseed-list gnome org
http://mail.gnome.org/mailman/listinfo/libseed-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]