Forum: Ruby on Rails integrating PHP and Ruby On Rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C425f5ed9e092574bf2e6632c213e026?d=identicon&s=25 sachin kewale (Guest)
on 2012-03-22 08:43
(Received via mailing list)
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
17c7e2243ddac238e919d90606cdb9ec?d=identicon&s=25 vierundsechzig@googlemail.com (Guest)
on 2012-03-22 09:10
(Received via mailing list)
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

Am Donnerstag, 22. Mrz 2012 08:42:16 UTC+1 schrieb sachin:
3063215115bea06d3fc4c648bb748ccc?d=identicon&s=25 Geraldo Andrade (Guest)
on 2012-03-22 15:11
(Received via mailing list)
REST is the best choice, don't wanto mess your code using non standard
solutions
This topic is locked and can not be replied to.