title: Submit form with AJAX and method POST
body: <p>I have a difficulty in implementing an MVC system.<br>
  I have a simple comment system, which makes the record when sent via POST or via AJAX.<br></p>
  
  <p><strong>a)</strong> Should I separate the 2 controllers in Comment_Ajax and Comment_Post<br>
  <strong>b)</strong> or should I just keep a controller and and check the sent method (is_ajax()) to perform the necessary actions.<br></p>
  
  <p>Form method 'Post' redirects to the page of the post and form method 'Ajax' only makes a reload in the comments.<br><br></p>