I am asking for , how I can call Ruby from html
for example :
<html>
<body>
<form action="something.rb"> // its possible to do that
</form>
</body>
</html>
···
--
Posted via http://www.ruby-forum.com/.
I am asking for , how I can call Ruby from html
for example :
<html>
<body>
<form action="something.rb"> // its possible to do that
</form>
</body>
</html>
--
Posted via http://www.ruby-forum.com/.
Hi Yousef,
you really might want to look at Ruby on Rails, which is a Ruby
Web-Framework. Everything you might want to develop for ruby on the
web, has most likly be done there already.
Greets,
Bernd
Yousef Jawwad schrieb:
I am asking for , how I can call Ruby from html
for example :
<html>
<body>
<form action="something.rb"> // its possible to do that
</form></body>
</html>
Yousef Jawwad wrote:
I am asking for , how I can call Ruby from html
for example :
<html>
<body>
<form action="something.rb"> // its possible to do that
</form></body>
</html>
Yes. You can use ruby's cgi abilities.
--
Posted via http://www.ruby-forum.com/\.
You can't call Ruby from a web page. You have to use something like
Javascript.
You can insert Ruby programs in an html file to help build it but it
will disappear before the page gets sent.
You can get Ruby to build you web page actions but they will be in
Javscript at the time they arrive at the browser.
Rails has classes to build Javascript.
--
Posted via http://www.ruby-forum.com/.
http://coolnamehere.com/geekery/ruby/web/cgi.html
<http://coolnamehere.com/geekery/ruby/web/cgi.html>Check it out, its good!
I used to do perl/cgi programming like 10 years ago for web(i was 10 years
old :D) and spent a while doing that in ruby because of the nostalgy. It was
the first programming language that i learned(well... i didnt even knew that
programming existed before) and i doubt i would be reading this e-mail if i
didnt.
But today is different, if you want to develop web apps... learn MVC and
ruby then go straight to rails, you can develop it wayyyyyyyyyyyyyy faster!
On Wed, Oct 7, 2009 at 2:32 PM, 7stud -- <bbxx789_05ss@yahoo.com> wrote:
Yousef Jawwad wrote:
> I am asking for , how I can call Ruby from html
>
> for example :
> <html>
> <body>
> <form action="something.rb"> // its possible to do that
> </form>
>
>
> </body>
> </html>Yes. You can use ruby's cgi abilities.
--
Posted via http://www.ruby-forum.com/\.
--
Thiago Fernandes Massa
11 83979414
http://coolnamehere.com/geekery/ruby/web/cgi.html
<http://coolnamehere.com/geekery/ruby/web/cgi.html>Check it out, its good!I used to do perl/cgi programming like 10 years ago for web(i was 10 years
old :D) and spent a while doing that in ruby because of the nostalgy. It was
the first programming language that i learned(well... i didnt even knew that
programming existed before) and i doubt i would be reading this e-mail if i
didnt.But today is different, if you want to develop web apps... learn MVC and
ruby then go straight to rails, you can develop it wayyyyyyyyyyyyyy faster!
If someone knows some programming, especially if it's ruby or a similar language, it might be a better idea to go with Sinatra. Easier to start up with, as you don't need to learn all the conventions and everything, though you probably need to learn how to use a few libraries, which isn't a big deal. In my opinion, it's a better platform overall too, but that's just my personal opinion. Whatever floats your boat.
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/
Well, rails productivity is really good. Sinatra looks good if you want to
start fast and dont have much background
On Wed, Oct 7, 2009 at 8:59 PM, Ehsanul Hoque <ehsanul_g3@hotmail.com>wrote:
> http://coolnamehere.com/geekery/ruby/web/cgi.html
> <http://coolnamehere.com/geekery/ruby/web/cgi.html>Check it out, its
good!
>
> I used to do perl/cgi programming like 10 years ago for web(i was 10
years
> old :D) and spent a while doing that in ruby because of the nostalgy. It
was
> the first programming language that i learned(well... i didnt even knew
that
> programming existed before) and i doubt i would be reading this e-mail if
i
> didnt.
>
> But today is different, if you want to develop web apps... learn MVC and
> ruby then go straight to rails, you can develop it wayyyyyyyyyyyyyy
faster!
>If someone knows some programming, especially if it's ruby or a similar
language, it might be a better idea to go with Sinatra. Easier to start up
with, as you don't need to learn all the conventions and everything, though
you probably need to learn how to use a few libraries, which isn't a big
deal. In my opinion, it's a better platform overall too, but that's just my
personal opinion. Whatever floats your boat._________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/
--
Thiago Fernandes Massa
11 83979414