# How to have multiple independently working controlllers for

**URL:** <https://www.ruby-forum.com/t/how-to-have-multiple-independently-working-controlllers-for/114859>\
**Category:** Rails\
**Created:** [September 18, 2007, 9:48am UTC](https://www.ruby-forum.com/t/how-to-have-multiple-independently-working-controlllers-for/114859 "2007-09-18T09:48:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![topcho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b5ac83/32.png) [@topcho](https://www.ruby-forum.com/u/topcho)\
**Post date:** [September 18, 2007, 9:48am UTC](https://www.ruby-forum.com/t/how-to-have-multiple-independently-working-controlllers-for/114859/1 "2007-09-18T09:48:12Z")

</div>

Hi, i have the following problem - on my web project i will have two  
areas (components) which will change (submit) independently. However,  
the two areas will interact with each other, too, when some link is  
clicked for example . There is a rough picture of my problem at thios  
address : [http://offtype.net/image\_965035194627.gif.html](http://offtype.net/image_965035194627.gif.html) . The blue  
areas are those who work independently form one another but at certain  
actions they submit the other area. And there will be, also a scroll  
for both of the blue parts.

```
So, my dilema is how to approach this situation? I think the two

```

blue areas will have their own controllers, so how i should handle  
more than one controller on one view ?  
I can do it entirely with ajax, but there are more complex object  
which i have to validate, so i think they’d better be some kind of  
components.  
I have read about ‘Cells’, but i have not tested them. Moreover,  
cells are something which handles too small parts from the whole  
picture, and i have more elements which i want to unify as a  
component.  
Furthermore, what would u say about ‘components’ and ‘Componenets’  
and the difference between them?  
And finally, could you tell me about good component-oriented  
frameworks for ruby because Rails is not.

thanx in advance and i hope we can learn form each other !
