Hi, I have a client that has many existing Ruby Scripts that interact with data on the File System (i.e. the scripts both create data and report data). They (the client) want to be able to build a Web Application around these existing scripts in a manner that allows them to reuse the existing scripts but that also gives remote users the ability to invoke the scripts, pass data into them, and get data back from them. I read the documentation and Rails is touted as being best for "green field" situations that intend to use databases, and this does not fit those traits. CGI / Ruby CGI seems way too limited and seems to have all types of issues. I''d the community''s advice and recommendations on what you believe is best way to handle this? Your help and advice is greatly appreciated. My Best, Frank -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Philip Hallstrom
2012-Feb-23 02:15 UTC
Re: Best Way to Execute Ruby Scripts via HTTP Requests?
> I have a client that has many existing Ruby Scripts that interact with > data on the File System (i.e. the scripts both create data and report > data). > > They (the client) want to be able to build a Web Application around > these existing scripts in a manner that allows them to reuse the > existing scripts but that also gives remote users the ability to invoke > the scripts, pass data into them, and get data back from them. > > I read the documentation and Rails is touted as being best for "green > field" situations that intend to use databases, and this does not fit > those traits. CGI / Ruby CGI seems way too limited and seems to have > all types of issues. > > I''d the community''s advice and recommendations on what you believe is > best way to handle this? > > Your help and advice is greatly appreciated.Rails will be fine. Use it to build the web front end that submits jobs to the back end. Start here... https://www.ruby-toolbox.com/categories/Background_Jobs and maybe here: https://www.ruby-toolbox.com/categories/scheduling -philip -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frank Guerino
2012-Feb-24 01:07 UTC
Re: Best Way to Execute Ruby Scripts via HTTP Requests?
Thanks Philip! I didn''t know that Rails could be used to execute Job-like processes. This is great info! I wish the Rails marketing documentation would publicize this info more. My Best, Frank -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.