On 4 Mar 2009, at 00:02, ravigit wrote:

>
> Fred,
>
> Do you think it is possible to have a <div> section within a php page
> that can get content from a rails application? I want to keep php as
> the main backbone for the overall application, but have some sections
> get content from rails application. Will appreciate any help.
>

As I understand things You've basically got 3 options - populate that  
div client side with an ajax request, have an iframe that will make a  
request to the rails bit or have your php server side code make a  
request to your rails app and insert the html serverside.

Fred
> Thanks
> ravigit
>
> On Feb 11, 6:51 am, Frederick Cheung <frederick.che...@gmail.com>
> wrote:
>> On 11 Feb 2009, at 10:37, Sniper Abandon wrote:
>>
>>
>>
>>
>>
>>> hi experts,
>>
>>> i have aPHPweb application which consists of so much modules (like
>>> registration,billing,reports,etc...)
>>
>>> i want to convert arround only 60% modules fromPHPtoRails, that
>>> means
>>> remaining 40% modules should be inPHPonly.
>>
>>> i thing my webserver should be a bridge betweenrails&PHP
>>> application
>>
>>> is there any webserver which can check the request url and send the
>>> request torailsorPHPaccordingly ?
>>
>> apache, nginx etc... can certainly forward the request to different
>> places based on the url (and other things). Where things might get
>> complicated is to what extent yourphpbits and yourrailsbits will
>> need to share information
>>
>> Fred
>
> >


--~--~---------~--~----~------------~-------~--~----~
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