Well, while it's cool, I suspect you'll get a massive security problem, when you provide direct access to a real server side database using this.

Sample:

1. Checkout the current source
git clone git://github.com/aptana/activejs.git
2. Open activejs/samples/synchronization/index.html with FireFox
3. Open FireBug console and try the following commands:
ListItem.create({body:'foo'})
li=ListItem.findByBody("foo")
li.destroy()
ListItem.find({all:true})
ListItem.find({all:true}).each(function(li){li.destroy()})

Now imagine, that was your production db...

Timo


Am 22.01.2009 um 10:12 schrieb Pascal Robert:

Looks cool :

        http://www.activerecordjs.org/

"ActiveRecord.js makes it easy to begin working with databases in JavaScript on the client or server, with Google Gears & Chrome,Aptana Jaxer, Adobe AIR or any platform supporting the W3C HTML5 SQL Specification (currently Webkit and iPhone)."

-------------------------------------------------------
Pascal Robert

http://www.macti.ca
http://www.aircourriel.com
http://www.linkedin.com/in/macti

Skype: MacTICanada
AIM/iChat : MacTICanada

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/th-dev% 40onlinehome.de

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to