you could always install wamp or lamp setup and store it to a mysql server on localhost through an apache php or perl or python or I'd imagine any sort of script. Then you have practically limitless storage without worrying about slowing down firefox. As long as you back up your database periodically then there shouldn't be any major issues to worry about except for injection attacks, use single quotes around the data in your queries and make sure any quotes or any sql operators in the data are escaped or it either won't work or cause harm, php provides simple mysql_real_escape_string functionality but its also useless unless you quote around each data in your query.
The other thing you could look into would be Google Gears, which does provide some means to store to a large local database, although i have no clue where the database is located or if performance becomes an issue, or if its really all that different from html5 localStorage, I'm not too certain about, but I'm pretty sure its also a sql lite database. In terms of the question you had about types, mysql is typed database but as far as I've ever bothered working with databases you always get string data when you run a query and get the data out, the typing is mostly for efficiency of internal storage and queries and little more but I'd love to be proven wrong, if you need your result to be a number you can turn it into one or test for it by some other means, if its for display then string makes sense anyway for the most part. It's possible to query the type of each field and automatically perform jasonification based on the reported types I would imagine but if you already predefined everything then its probably simpler to just build the object manually or use your own method or turn anything that is_numeric into numbers and quote everything else for simplicities sake. You should be able to export from msql to csv or otherwise excel format using the built in dbadmin tools in wamp. On Sun, Mar 14, 2010 at 6:29 AM, Kwah <[email protected]> wrote: > Note btw, realistically I don't expect that it will run for a year in > one go. If you'll excuse the shameless plug, what im actually looking > to do is create what I suppose will eventually become a referral > management tool for a very popular (legit) ptc site [1]. > For anybody that is interested and is wants to find out more about its > legitimacy etc, I suggest that you do your research and you hunt > through google with terms such as 'neobux scam' and the likes and I > can almost guarantee that you'll find very few complaints (the > reasonable kind, not ones from people who expect it to be a get rich > quick thing and quit after a couple days, eg). > Oh, and then when you're done, don't forget to use my referral link > [2] to join up ;) . > -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
