Ok my case is the last case: button appears on web browser.

Here is what has to happen: When user visits the page, he sees a list of 
items that was generated by Ruby script. Now there is a Sort button and 
when he clicks it it he now sees a list of sorted items.

The frameworks you have suggested like Rails seem to be too much for 
this simple function.

I guess right now (after studying bit about the HTTP GET/POST you 
mentioned) all I need to find out is how to trigger (invoke array.sort 
call) a ruby script passing.

Thank for your help Brian.
-- 
Posted via http://www.ruby-forum.com/.