On 12 August 2011 09:15, Thelo Thelo <li...@ruby-forum.com> wrote:
> Basically, it is possible to execute shell commands from a rails pages
> (eg: I want to launch a c++ program)?

yes, there are various ways of achieving this, one is to use the
"system()" method to execute shell commands.

> Can it define a drawing area? ( if I want to draw charts and so on ) ?

Draw in what way? There are PDF plugins; Flash plugins; graphics
plugins; most obviously, the most common output is for web in HTML,
and I've drawn "charts" with CSS styling before.

> can we parse xml files?

Yes, there are plugins/gems for that (as well as just doing it
manually line-by-line)

> Actually, my question is, can Rails the same thing that Ruby?

Of course. Rails *is* ruby. It's just a framework written in ruby.
Go to the "Rails guides" website, work through them, and you'll get
yourself going in no time.

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to