Re: Rails and PHP with Webservices

Having read some material and made some small progress I wanted to share
some ideas and see if they make sense.
Basically when users enter the site they will be in the PHP end of the
application. I would need Rails to receive the link the are requesting.
This is step one. Based on that scenario, then I think I need to have
as a web services client with the PHP sending the request.

Secondly, I would send back the data requested in a partial but render
header and footers from PHP along with the partial in Rails. In this
case I
think PHP needs to be a client ?

So far all I’ve got is
layout “application”, :except => [:restserver]

def restserver
url = “http://domain.ipaddress/index/
@result = Net::HTTP.get(URI(url))

Then displaying the page.
<%= @result %>

Well it’s a little step. Any ideas or help would be greatly


On 11/8/06, Dark A. [email protected] wrote:

issues ? I found the XML-RPC page, so I’ll be reading up.
web services “models” (ActionWebService::Struct) which contain just


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs