Talk in English - UK at Dutch PHP Conference 2019
Short URL: https://joind.in/talk/92092
(QR-Code (opens in new window))
In this talk we'll discuss 5 alternative approaches to handle async operations in JavaScript: callbacks, events, promises, coroutines and reactive streams. None of them is either legacy or a silver bullet - a good dev needs to pick the right tool for the job.
However, in order to understand them, we must step back to fundamentals all these rely on: the mechanics of event loop and run to completion rule, as well as learn to distinguish between sync and async flow. Then we proceed to design patterns built on top of each of the 5 approaches, discussing their strengths and limitations.
JavaScript is getting more and more complex each year. But no matter if you’re an expert or a novice JS developer, you’ll easily get the essence on Asynchronous JavaScript.
Comments
Comments are closed.
great talk, with the best explanation i've heard so far about generators and asyn/await. Too bad we didn't get to the really cool parts.
You could really tell this speaker was very knowledgeable and his presentation materials were excellent. Would've very much liked to see the second part though.
For a PHP developer it always surprises me how JavaScript works. Tomasz did a wonderful explanation on how the two languages differ and how de JS community is struggling with the concept of the event loop. His insights will help me to write better JavaScript in the future. But I would love to see an actual example with an Ajax request fetching data and rendering some part of the DOM.
Too much slides for 45min. Too bad cause at the end it became really interesting.
I'm sorry, you lost me on this talk. Too many subjects and because you wanted to cover so much ground you were just going too fast for me to fully comprehend it. I feel like you didn't practice the talk before because even in 60 minutes you were not nearly finished with the slides...
This is a shame because you seem very knowledgable and have an interesting topic that many of us can learn from.
Nice overview of this subject.