Hello, dear.

Maybe someone knows a good book on JavaScript patterns, links to good articles with tips on how to build large systems. On the Internet, of course, a lot of things, but I would like to immediately drop all the husks and hear advice, which of all sources are good for learning patterns in JavaScript .

And then completely strayed from the hands. It is difficult to build a system on JavaScript, when there is no good reference book for building large systems at hand.

Ps.
Of course, I know that there are books on patterns for Java, C ++, the book of the gang of four, but I would like it with examples of building only in JavaScript .

  • Naturally, the book should be written for Javascript. Javascript is very different from Java and C ++ and, probably, like “nickname, something else” is the least like them. - Zowie

1 answer 1

This is actually a book (language - English) - the best of all that I have ever found on this topic. But reading it makes IMHO sense with an already formed understanding of the language. I hope this is what you were looking for.


A little lire. Jitters. From all the time I spent on studying and writing code, I concluded that JavaScript, if not paradoxically, is one of the most flexible, the language is simple and extremely complex (at first, in some places even Java, C ++ seemed much more simple languages, the reason for this, of course, was misunderstanding). IMHO the decisive factor in the ease of writing and building more JavaScript code is, after all, the brain + experience and, perhaps most importantly, understanding of the language, because without this, a good JavaScript programmer to become IMHO is impossible to write good, large, structured code, naturally also. I wrote this “speech” to the fact that JavaScript should be taught, mostly in practice and not in theory (all languages ​​are better taught in practice, but as for js - there is often no other choice), the main reason for this is terrible literature, including the lack of understanding of the language by the author and much more. And finally, 2 tips when writing any javascript code - use the "namespace", use objects and closure - they provide great opportunities.


PS: love JavaScript as it is =). Holiday greetings...

  • Read David Flanagan - Javascript. Publisher O'Reilly. Written for people with a small baggage programming. Very comprehensive information. - culebre
  • As for javascript (paradox, but nonetheless) - Douglas Crockford's lecture video is best suited, just go to youtube, drive in 'javascript crockford' and, if you have everything less or less with English, we look and we wind up on a mustache. Actually, according to javascript, I read 3 books all in all (I read 10+), this is "JavaScript: Detailed Guide" (IMHO is the only adequate book for learning javascript), a book about HTML5 canvas (I don’t remember what it was called) and "Pro JavaScript Design Patterns" Apress Publishers. Are you sure that this book is really good? : DDD - Zowie
  • 3
    There is also Stefan Stoyanov, "JavaScript. Templates", even translated into Russian: books.ru/books/javascript-shablony-827259 - barber
  • Wow Thanks for the good answer and the accompanying advice! - Anton Mukhin