# Complex views

**URL:** <https://www.ruby-forum.com/t/complex-views/117689>\
**Category:** Ruby\
**Created:** [October 19, 2007, 12:21pm UTC](https://www.ruby-forum.com/t/complex-views/117689 "2007-10-19T12:21:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Khan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c2a13f/32.png) [@Daniel\_Khan](https://www.ruby-forum.com/u/Daniel_Khan)\
**Post date:** [October 19, 2007, 12:21pm UTC](https://www.ruby-forum.com/t/complex-views/117689/1 "2007-10-19T12:21:06Z")

</div>

Hello,

I am coming from seven years of php and I want to try rails now 🙂

I started some approaches before and my biggest problem is that I  
don’t know the best practice for creating complex views with rails.

The site contains a front page with several tools aggregated. Latest  
blog entries, a login tool, some news articles.  
I want to delegate the specific tools to modules and I don’t want to  
have all the logic inside the view controller.

Can anyone tell me how this can be done or how others solve this.

Thanks a lot for your help

---

<div class="post-metadata">

**Author:** ![Daniel\_Khan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c2a13f/32.png) [@Daniel\_Khan](https://www.ruby-forum.com/u/Daniel_Khan)\
**Post date:** [October 19, 2007, 1:30pm UTC](https://www.ruby-forum.com/t/complex-views/117689/2 "2007-10-19T13:30:55Z")

</div>

I was wrong here - I think I’ll better put this into a rails group.

---

<div class="post-metadata">

**Author:** ![Daniel\_Khan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c2a13f/32.png) [@Daniel\_Khan](https://www.ruby-forum.com/u/Daniel_Khan)\
**Post date:** [October 19, 2007, 3:05pm UTC](https://www.ruby-forum.com/t/complex-views/117689/3 "2007-10-19T15:05:50Z")

</div>

> I was wrong here - I think I’ll better put this into a rails group.

Please. I need to complain Rails falls down on this specific problem. A  
controller can only control an entire page, when the “true meaning” of  
Model  
View Controller is a controller can control a region of a page.

The cheap answer is to hide your excess methods into “helpers”, and  
pretend  
that just hiding the methods improves the design!
