Reputation: 191
For one of my project, I am developing a website with PHP. I'd like to know if it would be possible to mix it with Rails?
Ruby on Rails would query data on GitHub and I would like to process it with PHP, is that possible? If so, how could I do that?
Upvotes: 1
Views: 738
Reputation: 505
Everything is possible. You just have to write a small webservice with RoR that gets the data from github and give it to your php frontend in a defined format (rest service with json for example).
But i don't think it make sense if one person write one website with 2 languages...
Upvotes: 1