# distributed models

**URL:** <https://discuss.rubyonrails.org/t/distributed-models/43292>\
**Category:** rubyonrails-talk\
**Created:** [June 8, 2009, 9:05pm UTC](https://discuss.rubyonrails.org/t/distributed-models/43292 "2009-06-08T21:05:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![slava1](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@slava1](https://discuss.rubyonrails.org/u/slava1)\
**Post date:** [June 8, 2009, 9:05pm UTC](https://discuss.rubyonrails.org/t/distributed-models/43292/1 "2009-06-08T21:05:56Z")

</div>

Hello, I am designing a web application that has several tiers including a Flex client, Rails server and SAP back-end. The application is an extension of functionality offered by SAP system. SOAP services are used communicate with the back-end. I am pondering on the implications of the fact that some of my data models are likely to be in the back-end and some in the Rails application and some are distributed (shared) between Rails and the back-end. I would appreciate any pointers toward relevant knowledge on this subject and if anyone tried something similar with Rails. Some of the questions I have to find answers to are: - How does one use ActiveRecord with shared models? - What are the implications of this type of distributed design? - Relevant design patterns.

thank you, Slava
