Answer the question
In order to leave comments, you need to log in
How often do you use / need to use API design and build patterns?
More often, the code is simply divided into models and controllers and a router? Or are the patterns mainly used in the client side? Because if it weren’t for Angular, I wouldn’t even take an interest and wouldn’t know about their existence
Answer the question
In order to leave comments, you need to log in
You must understand why patterns are needed at all. Over time, you can come to some standard solutions without books, etc. That is, you can somehow take the tighter "gang of four" and so ... you look at your code and "oh, so that's what it's called."
For example, almost every javascript developer has written something along the lines of...
var api = (function() {
// какие-то приватные вещи, к которым не стоит давать доступ из вне
// что бы все было чистенько
var privateVars = {};
// публичный метод
return function () {
}
}();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question