Exam4Training

Which three operations should be done in a controller? Choose 3 answers

Which three operations should be done in a controller? Choose 3 answers
A . Generate the response as JSON or HTML
B. Use the Script API to generate data for the view.
C. Use middleware functions when applicable
D. Create a plain JavaScript object representing a system object
E. Use the model needed for the view.

Answer: A,C,E

Exit mobile version