So for example, in one talk, Rayon Daal mentions how excited he was about the progress bar when uploading files. Like, just to remind you, this is what the progress bar looked like. I mean. So fast forward 15 years, and we see that browsers grew in power. Now, actually, let's look at the comparison. So in 2000s, 5 average pages were just of 11,000 lines of code in total. Right now, when you run a Create React app, that alone generates 30,000 lines.
In 2005, that's when Google Maps and Gmail was launched. Now we are talking about edge computing, real-time collaboration, and AI. Back then, the top three websites in 2005 were Wikipedia, Flickr, and iTunes. Or in 2008. Right now, it's Google, Facebook, TikTok. If you look at those three, actually, those pairs, they are kind of similar, but only in terms of how they are used and not really the technology. And in 2000s, we need to remember that that was pre-ES5, whereas now we are so many iterations of ECMAScript ahead. We have the web sockets, service workers, and so on. So given how powerful browsers are nowadays, maybe we could really run JavaScript, including Node.js, everywhere. So let's talk about bringing Node.js to the browsers.
The fact that you can do something doesn't mean that you should. So let's look at what could be enabled with Node.js running in the browser. For example, there's a use case of education. From courses, to blogs, to demos, your audience could just experience what you are teaching them right there in the website. Documentation, showing is always better than telling. Testing, creating reproductions. Client side tooling, like bundlers, task runners, and code generators. Employment, like interviewing platforms or onboarding platforms. And finally, experimentations. We, ourselves, don't know how you can really use Web Containers to its full power. We'll see.
So now it all sounds great, but, well, there's a but. Node.js is designed to work with server-side APIs, such as file systems, network sockets, and HTTP servers.
Comments