Re: [OT] ActiveRecord.js
Re: [OT] ActiveRecord.js
- Subject: Re: [OT] ActiveRecord.js
- From: Timo Hoepfner <email@hidden>
- Date: Thu, 22 Jan 2009 11:38:18 +0100
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@hidden)
Help/Unsubscribe/Update your Subscription:
40onlinehome.de
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden