Our talk night this month is a special event where we will dive into the methods, best practices, and real-world stories of control flow and error handling in NodeJS. We've got a great lineup of presenters including Node Core committer Bert Belder, Alex Gorbatchev of npmawesome.com, and BayNode founder Adam Crabtree. After each speaker has presented, we will have a Q&A panel discussion.
I'd like to thank BayNode sponsor, Stormpath, who will be providing food and beverages for this event. Be sure to come early to partake in the festivities as well as chat with them about their user management platform.
Schedule of Events
6:30pm - Social time, food, beverages sponsored by Stormpath
7:00pm - Presentations from our guest speakers
8:00pm - Panel discussion
8:30pm - Wrap up discussion & social time
* Bert Belder, Node core commiter & StrongLoop co-Founder
* Alex Gorbatchev, Node software developer, blogger, and creator of npmawesome
* Adam Crabtree, BayNode founder, LinkedIn Node Engineer, TryCatch module author
Thanks to BayNode sponsor StrongLoop, we will have a videographer for this event. We will post the videos/slides after the event.
*** Speaker Information ***
Zones - Next Generation Async Flow Control for Node.js
Speaker: Bert Belder, Node core commiter & StrongLoop co-Founder
In this talk, Bert Belder will demonstrate a flow control projectcalled "Zone" that he's been working for the last few months. Whyanother async flow control project?
Currently there are a couple of problems that make it really hard toreason about asynchronous control flow in Node:
- Stack traces are useless when an asynchronous function fails- Async functions are hard to compose into more high-level APIs,resulting in callback hell- Async error handling will cause Node to crash
Zones should make it easy to handle errors and to avoid resourceleaks, provide a way to associate user data to an async flow and muchmore!
Asynchrony, Control-flow and Error handling
Speaker: Adam Crabtree, LinkedIn Server Engineer, BayNode Founder
In this talk, Adam Crabtree will discuss the distinction between asynchrony and control-flow, and their intimate connections to error handling.
In modern node.js development, control-flow is the guardian at the gates, dealing with asynchrony and enforcing contracts so you don't have to. Control-flow helps juggle values, handle ordering, deal with errors, and sometimes hide asynchrony types all together.
Additionally, there are many different asynchrony types including callbacks, promises, thunks and async generators and they each handle errors differently. Node.js itself has two very different ways of dealing with errors. Know why, and how it affects the code you write.