Sortable lists demo with php?

0 views
Skip to first unread message

bugf!X

unread,
Feb 23, 2007, 2:32:05 AM2/23/07
to Ruby on Rails: Spinoffs
hello!

i´m new to this "script.aculo.us" stuff and have one question:

does this sortable list demo:
http://demo.script.aculo.us/ajax/sortable_elements

especially the ajax callback only work when ruby is installed on the
server?
is there any chance to get the sorted list back with normal ajax and
php?

or am i understanding something totally wrong here? ;)

thank you very much!
br harald

Christophe Porteneuve

unread,
Feb 23, 2007, 3:18:54 AM2/23/07
to rubyonrail...@googlegroups.com
Hey Harald,

bugf!X a écrit :


> especially the ajax callback only work when ruby is installed on the
> server?

Absolutely not. The source code illustrated uses Rails for brevity, but
all of Spinoffs are entirely server-agnostic. AAMOF, I think 75+% of
the users on this list do *not* use Ruby or Rails on the server side.

--
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: t...@tddsworld.com

bugf!X

unread,
Feb 23, 2007, 5:06:13 AM2/23/07
to Ruby on Rails: Spinoffs
thank you!
i just got it...
you simply have to do a print_r($_POST["list"]); in the called script
to get back the list :)
Reply all
Reply to author
Forward
0 new messages