Before CI, I used to have one file “ajaxStuff.php” which handled all of my ajax calls.
Now in this MVC architecture of CI, where is the best place to put them? Create a controller just for ajax or within the controller the call relates to?
|
Where do you put your AJAX stuff?
|
|
|||||||||||||
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||