We are excited to partner with DDD as a platinum sponsor at this year’s DDD Perth Conference. As one of Perth’s largest Tech employers in WA with a focused investment in technology and digital services, Bankwest is proud to be a part of Perth’s largest community-run conference which is open to everyone to attend. We look forward to seeing you there and make sure to come and chat to the Bankwest team about career opportunities and hear more about how we are becoming Australia’s favourite digital bank.Visit Bankwest →
Back to 2024 Agenda
Alice McCullagh
Don't Cross The Streams: An introduction to streaming data in Node.JS
🕓 2:45 pm - 3:05 pm📍 Room 5 - Black Swan (Lv 2)I hear you ask: "Why do I NEED to stream data? Why can't I just load all of it into a buffer and view it all at once - or better yet, convert it to a string so I can actually understand what this data looks like?"
Actually, no one has ever asked that. No one cares about the Node Web Stream API as much as I do. In fact, most JavaScript developers find node streams confusing and scary.
For example, look at this:
```
let data = '';
fs.createReadStream('filepath.txt').on('data', (c) => {
data = data + c
})
```
See? Best case scenario, your eyes have already glazed over. At worst, you feel vaguely disgusted, there's an anxious feeling in your stomach, and you're wondering if it's too late to change careers.
But, this talk will explain why you don't have to feel that way! Streams are extremely useful, and once you understand what they are for and why to use them, they get a lot less scary.
We can do it together! I believe in you!
Alice McCullagh






