I am using Codeigniter to develop an application, and have been reading bits about Ruby on the Rails. In particular Skinny Controller, Fat Model seemed to make perfect sense. It really allows me to look at the controller and know what the hell is actually going on, and allows very very quick adjustments and bug fixes.
However the one stumbling block I have is, where do I handle POST data. Do I call it into a bunch of variables in the Controller and pass that to the model. Or do I just access it direct from the model?
Additionally I am having the same problem when thinking about prepopulating form field values. Should I call a single method from the controller and pass the result to the view or just make a bunch of variables and pass them to the view directly from the controller.
Any guidance greatly appreciated.