Relationship Between Rails Applications

I created two rail applications that need to communicate and send files to each other. For example, one rails application will send a request to view a table in another application database. Another application will then display the json of this table and send it back. I would also like for one application to send a text file stored in its public directory to another public directory of the application.

I have never done anything like this, so I don’t even know where to start. Any help would be greatly appreciated. Thank!

+5
source share
5 answers

- , - . , ,

- (, ) ( ( Rails) ),

-, -, rails, , , -, .

Rails, - REST , -, - REST

+5

ActiveResource.

Railscast

docs

+2

, RabbitMQ, , "mailer" "".

- redis stick things "queue" .

+1

Rails API. Rails ( ). - , , Rails. . http://blog.wyeworks.com/2012/4/20/rails-for-api-applications-rails-api-released.

API - , , ROAR, API-.

, - API. ...

0

Morpheus. RESTful ActiveRecord .

0

All Articles