M
M
Maxim Zolotoy2018-04-09 18:42:49
Web development
Maxim Zolotoy, 2018-04-09 18:42:49

What category can be attributed to files that accept ajax requests?

Confused - to which category should files be assigned that are located in the public folder and accept requests from forms or ajax requests? Model or Controller ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Abigovor, 2018-04-09
@spacenear

Controller - manages user requests
Model - these are data and rules, there may be data from the form, for example User.
In your case it is Controller

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question