A
anne001
I have succeeded in writing a form in cgi, and receiving the
information with cgi.
It was tough going as at each step I had to find an example to see how
to translate
html into cgi methods.
1. It seems that eruby would be easier, and I suspect ruby on rails is
built on something like that.
is that true?
2. There seem to be several implementations of eruby, what does that
mean? which one to use?
eruby, erb, erubis...
3. What are the relative advantages of cgi and eruby/erb.
4. In any case, I would like to try to build a version of my form in
eruby.
"programming ruby" says erb is included in ruby, p 242. Where can I
find a tutorial on how to use it?
I found surprisingly little info so far. I tried this advice but it
does not work
https://trac.lighttpd.net/trac/wiki/eRuby
#!/usr/bin/eruby
cgi.assign = ( ".rhtml" => "/usr/bin/eruby" )
<% puts Time.now %>
Thank you for your help
information with cgi.
It was tough going as at each step I had to find an example to see how
to translate
html into cgi methods.
1. It seems that eruby would be easier, and I suspect ruby on rails is
built on something like that.
is that true?
2. There seem to be several implementations of eruby, what does that
mean? which one to use?
eruby, erb, erubis...
3. What are the relative advantages of cgi and eruby/erb.
4. In any case, I would like to try to build a version of my form in
eruby.
"programming ruby" says erb is included in ruby, p 242. Where can I
find a tutorial on how to use it?
I found surprisingly little info so far. I tried this advice but it
does not work
https://trac.lighttpd.net/trac/wiki/eRuby
#!/usr/bin/eruby
cgi.assign = ( ".rhtml" => "/usr/bin/eruby" )
<% puts Time.now %>
Thank you for your help