Ruby on Rails to PHP

Dear All,

    I have ruby on rails application script and my website is having in Drupal. So is it possible ROR application calling from my website i mean from Drupal.

If anybody knowing this please help me.

Thanks @ Regards V.Koteswara Rao.

Redirect in PHP Website : headers("Location : ");

If you necessity integration I recomend REST Webservice integration of your project!

Regards,

Rodrigo Reis Brazil - Web Developer

Please define what you mean by "calling". In what way do you want your RoR site to "call" the Drupal site or vice-versa?

Walter

Walter Davis wrote in post #965665:

Walter Davis wrote in post #965665:

Rodrigo Reis wrote in post #965666:

Redirect in PHP Website : headers("Location : ");

If you necessity integration I recomend REST Webservice integration of your project!

Regards, Rodrigo Reis Brazil - Web Developer

On Thu, Dec 2, 2010 at 9:14 AM, Koteswara rao Vuyyuru

Dear Rodrigo sir,

What are the prerequisites for to ingrate ROR and Drupal, can you please help me, i am calling ROR application from Drupal site for this iteration having any library modules and any special packages for integration. Please can you give any suggestions to me.

Thanks @ Regards

V.Koteswara Rao.

There is no point just repeating the same question. You still have not made it clear _exactly_ what you are trying to do. The phrase 'call RoR application from Drupal site' does not mean anything. One does not _call_ one site from another. Please explain in more detail what you want to do.

Colin

exactly correct colin.

Colin Law wrote in post #965932:

You can /link/ from the Drupal site to the Rails site, and vice-versa, using normal HTML. You can include parts of the Drupal site into the Rails site using iframes if that's what you want (also simply HTML).

If your Drupal site exposes an RSS feed, you can create a method which requests that feed using Net::HTTP or similar, import the feed's data and use it /store it/ whatever in your Rails application.

If you want to do the opposite, you will need a Drupal plug-in to "scrape" an RSS feed. I am certain that there are several to choose from on the Drupal add-ons site. Rails will happily publish such a feed from any controller's method(s) with the addition of a couple of extra lines of code. (Look at any of the Blog in 10 minutes screencasts for an explicit example of how easy that is.)

So we are all still stuck on what you mean by the verb CALL. I am feeling around in the dark here, with three separate and different answers to what I am imagining your question is; but so far that's all I can offer you. Please meet me half way with a more elaborate description of your use-case.

Walter