On Jan 26, 2008, at 2:17 AM, geoffcox wrote:

> I have only just found out about scriptoculous and am trying to see
> how to use it to update a MySQL database.


JavaScript, by itself (i.e.: Scriptaculous) is never going anywhere  
near MySQL. But if you have an application server or CGI somewhere in  
between, then that is where you would get your database in line with  
your JavaScript.

So in PHP, you could use native functions, or a framework, or  
something in-between, like an ORM wrapper.

In Ruby, you could obviously use Rails or write something much  
simpler in Ruby using the CGI libraries.

No matter which application server you use, you will be posting a  
form to the Web server, which will intercept that request and  
redirect it through your app server and then that layer will talk to  
the database.

Walter

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to