U
U
Urukhayy2018-02-12 14:40:47
Angular
Urukhayy, 2018-02-12 14:40:47

Is it possible to do business logic in Angular?

If Angular is an MVC framework, is it possible to do business logic in it? For example, when updating a user profile, you need to send a report to the log that some of the fields have been updated. Can I send 2 HTTP requests from Angular to the back end? One request with an updated profile, another with an update report?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Entelis, 2018-02-12
@DmitriyEntelis

I already answered that no. Is it possible to implement logging of user actions on the front-end?
Why create duplicate questions?

V
ValeraValera, 2018-02-12
@cluberr

You can hang a handler on the event and call anything in it, at least 50 requests for different routes

D
Demian Smith, 2018-02-12
@search

You can do anything. Is it worth it to do so? No, it's not worth it. If only because it would be extremely unreliable. For example, any student will shove you into the log for the most shit and knock down your system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question