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