title: What is the right way to handle $_POST data in MVC?
body: <p>I have the common MVC situation in my PHP system: the <code>Controller</code> receive a request from the <code>View</code> containing <code>$_POST</code> data. Now I have three ways to handle the data:</p>
  
  <p>a) The <code>Controller</code> only calls the <code>Model</code> and the <code>Model</code> handle the <code>$_POST</code> data.<br>
  b) The <code>Controller</code> transforms the <code>$_POST</code> data into variables and pass them to <code>Model</code>.<br>
  c) The <code>Controller</code> transforms <code>$_POST</code> data into a <code>Model</code>'s domain object and only pass the object to <code>Model</code>.</p>
  
  <p>Currently, I am following option A, but I believe it is wrong, so I am thinking of using option C.</p>
  
  <p>So, according to MVC, what is the right way to handle <code>$_POST</code> data?</p>
  
  <p><strong>EDIT</strong> At the moment, I'm not using any MVC framework.</p>
  
  <p><strong>EDIT 2</strong> Generally, the same <code>Controller</code> handles request from a browser, a web service, an offline application, etc, or each one has it own <code>Controller</code>?</p>