What is Thin and Fat

Discussion for various published PHP frameworks, including Zend Framework, CodeIgniter, Kohana, CakePHP, Yii, Symfony, and others.

Moderator: General Moderators

Post Reply
tuxsar
Forum Newbie
Posts: 3
Joined: Sun Apr 17, 2011 11:50 am

What is Thin and Fat

Post by tuxsar »

Hi,

In MVC framework what is Thin and What is Fat?

Can you pls suggest me.

TIA
koen.h
Forum Contributor
Posts: 268
Joined: Sat May 03, 2008 8:43 am

Re: What is Thin and Fat

Post by koen.h »

Thin and fat in MVC are often used to describe controllers. Fat controllers do a lot of work, thin controllers do little, ideally just calling the model and optionally reporting the result to the view (depending on the implemenation).
Post Reply