[#409331] Capture HTML table data, pass to Ruby, pass back and display result in HTML text field — Hubert Wagner <lists@...>

Hello :

11 messages 2013/08/04

[#409336] Rakefile Error - Please Help — "Jennifer T." <lists@...>

Hi,

13 messages 2013/08/04
[#409341] Re: Rakefile Error - Please Help — Hassan Schroeder <hassan.schroeder@...> 2013/08/04

On Sun, Aug 4, 2013 at 7:41 AM, Jennifer T. <lists@ruby-forum.com> wrote:

Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field

From: Saji Hameed <saji@...>
Date: 2013-08-04 18:01:48 UTC
List: ruby-talk #409344
> Do I gather this is the only way Ruby can be made to work in a web page?
> i.e. only at the moment the page is written out to HTML? Ruby routines
> cannot be called directly from the web page?

That is the way RubyFrontier works (as I understand it)!  A framework like
Rails or Sinatra may
be used if you want to invoke Ruby routines through the server.

saji


Saji N Hameed,
ARC-ENV, Center for Advanced Information Science and Technology,
University of Aizu, Tsuruga, Ikki-machi,
Aizuwakamatsu-shi, Fukushima 965-8580,
Japan

Tel: +81242 37-2736
Fax:+81242 37-2760
 email: saji@u-aizu.ac.jp
 url: http://enformtk.u-aizu.ac.jp
 bib: http://www.researcherid.com/rid/B-9188-2009
code: https://github.com/sajinh


On Mon, Aug 5, 2013 at 2:38 AM, Hubert Wagner <lists@ruby-forum.com> wrote:

> Hello Mr Schroeder :
>
> > Then this is a JavaScript question and has nothing to do with Ruby.
>
> I use RubyFrontier. This allows one to use ERB on web pages produced by
> RF.
> So, an item like this :
>
> <% ruby code %> is executed when the page is formatted.
>
> Do I gather this is the only way Ruby can be made to work in a web page?
> i.e. only at the moment the page is written out to HTML? Ruby routines
> cannot be called directly from the web page?
>
> Regards : Hubert Wagner
>
> --
> Posted via http://www.ruby-forum.com/.
>
>

In This Thread