On Oct 9, 12:21 pm, Pepe Sanchez <[email protected]> wrote: > Hi all > > I am using a CMM developed in PHP and I would like to know how ease it > is to add RoR pages in this type of project and also how to add RoR > functions inside a PHP page. >
Well if you wanted to have some rails pages alongside some php pages then it shouldn't be too difficult to setup apache/nginx to send requests for some paths to one backend and requests for other paths to a different one. Beyond that it gets complicated, for example the rails session is a serialized ruby object which you'll have difficulty reading from php land or your php code may have assumptions about how a database schema should be laid out that conflicts with what active record expects. Actually embedding rails stuff within a php page doesn't sound possible (short of cheat by using an iframe, a separate ajax request or an internally generated http request). Fred > Please advise! > -- > Posted viahttp://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

