integrating PHP and Ruby On Rails

19 views
Skip to first unread message

sachin kewale

unread,
Mar 22, 2012, 3:42:16 AM3/22/12
to rubyonrails-talk
hi all,
  can we integrate or call php function from rails application ? I have to integrate the my application with flipkart's shopping cart api.
  is any one used such api for shopping cart ?

  thanks in advanced.
--
Sachin S. Kewale

vierund...@googlemail.com

unread,
Mar 22, 2012, 4:08:42 AM3/22/12
to rubyonra...@googlegroups.com
check out if they have a REST-api and access this API using one of the numerous tools available like ActiveResource or HttpParty. If they don't have a REST-API, talk them into adding one, there are also numerous php-Tools out there that will help you do that. You probably do not want to go down the road of calling php from rails directly, this is possible but very likely to get very messy.

cheers
Stefan 

Geraldo Andrade

unread,
Mar 22, 2012, 7:20:03 AM3/22/12
to Ruby on Rails: Talk
REST is the best choice, don't wanto mess your code using non standard
solutions
Reply all
Reply to author
Forward
0 new messages