Node.js Logging Tutorial

Phil Vuollet Developer Tips, Tricks & Resources

Logging is an important part of supporting the complete application life cycle. From creation to debugging to planning new features, logs support us all the way. By analyzing the data in the logs, we can glean insights, resolve bugs much quicker, and detect problems early as they happen. In this post, we will talk about the who, what, when, where, …

Node.js Performance Tuning and Testing

Lou Bichard Developer Tips, Tricks & Resources

We know Node.js for its lightning-fast performance. Yet, as with any language, you can write Node.js code that performs worse for your users than you’d like. To combat this, we need adequate performance testing. Today, we will cover just that with an in-depth look at how to set up and run a performance test and analyze the results so you …

Comparison: Node.js vs. PHP

Phil Vuollet Developer Tips, Tricks & Resources

Both Node.js and PHP are popular platforms for websites, APIs, and other types of web content. They have a few similarities, but their differences far outweigh those similarities. In this post, we’ll take a look at how they stack up against each other. It’s Node.js vs. PHP… let’s get ready for the showdown! Similarities First, let’s take a deeper look at …

Comparison: Ruby vs. Python

Kami Maldonado Developer Tips, Tricks & Resources

Around 1996, when I attended my first programming classes, C++ was the language of choice if you wanted to have a job in this industry. The Internet was young and not as widely available as it is now. Ruby and Python were still in their infancy. Now, in 2018, both have evolved and matured well enough to be in the …

Ultimate Winston Logging Tutorial: Best Practices, Resources, and Tips

Lou Bichard Developer Tips, Tricks & Resources

Are you looking to get up and running with logging in Node.js? Do you want to understand best practices (and pitfalls) for structuring application logging in Node.js? If that’s what you’re looking for, you’re in the right place! For me, logging was always a somewhat mystical and frustrating idea. I could grasp the concept that you wanted to output information about …

Node.js Module Exports – Demystified

Lou Bichard Developer Tips, Tricks & Resources

When I started out in Node.js, I remember being struck by the weird-looking module.exports code. I wondered what it was, and where it came from, and why it wasn’t declared in the file. What was this magic? Today we’re going to find out. We’ll demystify this somewhat odd-looking feature of Node.js. By the end of this article, you should be comfortable …

Node.js Error Handling Best Practices: Ship With Confidence

Lou Bichard Developer Tips, Tricks & Resources

Node.js error handling isn’t a walk in the park. When putting our code into production, we want to know that it’s battle-tested and hardened for all the complexities that production will throw at it. In order to handle our errors properly, we need to understand: Error object Try…catch Throw Call stack Effective function naming Asynchronous paradigms like promise Wowza—that’s a …

Top 10 Node.js Developer Tools

Sagar Arora Developer Tips, Tricks & Resources

With the introduction of Node.js, it has become easier for application developers to create a fast, reliable, and scalable web application with much fewer lines of code. Node.js was created by Ryan Dahl in 2009 using the Google Chrome V8 JavaScript runtime environment. Software development is continuously evolving with the emergence of new technologies, trends, and programming languages. But with …

Best Node.js Blogs and YouTube Channels

Sagar Arora Developer Tips, Tricks & Resources

Node.js is an open-source framework that helps developers create dynamic web pages that can run across multiple platforms. It is built on Chrome V8, which means that it uses the same compiler or interpreter as Chrome. Node.js is used for full-stack, front-end, and back-end development. It simplifies real-time communication between the client and server. Node.js also has an event-driven architecture, …

Top 10 Node.js Debugging Tips to Debug Like a Pro

Lou Bichard Developer Tips, Tricks & Resources

  Err—not quite. Whilst this tweet is painfully relatable, it also saddens me. This goes to show there are so many Node.js developers out there who are debugging their applications the caveman way. But debugging Node.js needn’t be this hard. The more you relate to this tweet, the more you must read on. Your sanity begs you. Today we’re going beyond …