I have a Rudy on Rails backend which I use because it has some libraries that other languages don't have. I'm trying to use it as a web service/backend and accept requests from PHP/general HTTP request pages. It should be very simple - hopefully, accept a JSON object and respond with a JSON object. Rails seems to default to a RJS/ non-standard client side request.
Ideally, I'd have a php generated jquery/html page send a JSON object to a ruby on rails page and have the ruby on rails page respond with a different JSON object.
Obviously, I'm not very familiar with Rails, but I would like to use it. I know it isn't a good idea to attempt to integrate Ruby on Rails with PHP. In essence, I'd like to run ruby simply as a web service for the same purpose.
I suppose in the abstract, this would be how to integrate rails as a backend with other client side technologies.
Thanks for all the help.