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 …

When to use Asynchronous Programming

When to Use (and Not to Use) Asynchronous Programming: 20 Pros Reveal the Best Use Cases

Angela Stringfellow Developer Tips, Tricks & Resources

Asynchronous programming is a form of parallel programming that allows a unit of work to run separately from the primary application thread. When the work is complete, it notifies the main thread (as well as whether the work was completed or failed). There are numerous benefits to using it, such as improved application performance and enhanced responsiveness. But, like all …

How to Return AJAX Response from Asynchronous JavaScript Call

How to Return AJAX Response from Asynchronous JavaScript Call: Methods and Code Examples

Alexandra Altvater Developer Tips, Tricks & Resources

When JavaScript is used in conjunction with XML or REST APIs, you can create some useful behaviors with a set of web-development techniques collectively known as Ajax. Let’s take a look at a specific Ajax functionality: returning an Ajax response from an asynchronous JavaScript call. First, What is Ajax? Asynchronous JavaScript and XML, or Ajax, isn’t a new technology in itself, …

Asynchronous Programming (1)

Asynchronous Programming Is Easier Than You Think

Guest Contributor Developer Tips, Tricks & Resources

What is asynchronous programming? To understand that let us take a look at how applications typically run. Typically when you are writing a program it executes one method at a time. The CPU executes a method then once it finishes moves to the next one. This is known as synchronous programming. I’m a big fan of understanding the taxonomy and …