Node.js can be a powerful platform used in the right situations, but it also has more footguns than PHP does for new developers. Asynchronous programming style, concurrency issues, error handling, the event loop, and no default timeouts for HTTP requests or network calls will give new developers more than their fair share of troubles and can cause issues that are difficult to debug and reproduce. This talk gives a brief introduction to node.js and the event loop model (don’t block the event loop!), and covers common pitfalls when using node.js with simple and practical solutions.
This talk was given at the Dutch PHP Conference in 2017, organised and hosted by Ibuildings. Visit http://phpconference.nl or http://www.ibuildings.nl for more information.
Смотрите видео DPC2017: You Don’t Node.js - Vance Lucas онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ibuildings Dutch PHP Conference 21 Ноябрь 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 52 раз и оно понравилось 2 людям.