Search results for "node"

Showing 34-44 of 255 results

Creating a Secure REST API in Node.js

As patterns go, REST APIs are so useful and ubiquitous that every web developer, regardless of language or platform, should know how to build them.

In this article, Toptal JavaScript Developer Marcos Henrique da Silva shows how to create a simple and secure REST API for user management on Node.js.

13-minute readContinue Reading
Marcos Henrique da Silva

Marcos Henrique da Silva

The Trie Data Structure: A Neglected Gem

From the very first days in our lives as programmers, we’ve all dealt with data structures: Arrays, linked lists, trees, sets, stacks and queues are our everyday companions, and the experienced programmer knows when and why to use them.

In this article we’ll see how an oft-neglected data structure, the trie, really shines in application domains with specific features, like word games.

9-minute readContinue Reading
Anna-Chiara Bellini

Anna-Chiara Bellini

Social Network Analysis in R and Gephi: Digging Into Twitter

Thanks to rapid advances in technology, large amounts of data generated on social networks can be analyzed with relative ease, especially for those who use the R programming language and Gephi.

9-minute readContinue Reading
Juan Manuel Ortiz de Zarate

Juan Manuel Ortiz de Zarate

How to Improve ASP.NET App Performance in Web Farm With Caching

Caching is a powerful technique for increasing performance, but the whole idea behind caching works only as long as the result we cached remains valid. And here we get to the hard part of the problem: How do we determine when a cached item has become invalid and needs to be recreated?

In this article, Toptal Freelance Software Engineer Daniel Ivanov provides an ASP.NET-based solution to replace invalid cached items and assure high throughput and performance of web applications designed to handle a high load.

10-minute readContinue Reading
Daniel Ivanov

Daniel Ivanov

The Back End: Using Gatsby.js and Node.js for Static Site Updates

Static websites are simple and fast, but it’s also possible to automate updates to them to keep them fresh and relevant. Find out how to generate daily-updated HTML pages that track the latest releases of popular GitHub repositories.

10-minute readContinue Reading
Furkan Yavuz

Furkan Yavuz

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Building a Node.js/TypeScript REST API, Part 2: Models, Middleware, and Services

The Express.js REST API journey continues! Move from models to full DAOs and DTOs, validate requests with middleware, separate services from controllers, and prepare for a real database.

17-minute readContinue Reading
Marcos Henrique da Silva

Marcos Henrique da Silva

Data Mining for Predictive Social Network Analysis

Analysts have come to recognize social network data as a virtual treasure trove of information for sensing public opinion trends and groundswells of support. In this article, Toptal Engineer Elder Santos describes the techniques he employed for a proof-of-concept that effectively analyzed Twitter Trend Topics to predict, as a sample test case, regional voting patterns in the 2014 Brazilian presidential election.

7-minute readContinue Reading
Elder Santos

Elder Santos

Scale with Speed: The Bitcoin Lightning Network Explained

The Bitcoin Lightning Network is an independent solution that’s heralded as the solution to bitcoin’s scaling problem by keeping fees minuscule and making transactions instant, away from the blockchain.

In this article, Toptal Freelance Blockchain Developer Amin Shah Gilani explores what the Bitcoin Lightning Network really is, how it can make the guarantees it provides, and its current state.

11-minute readContinue Reading
Amin Shah Gilani

Amin Shah Gilani

Stork, Part 2: Creating an Expression Parser

Would you rather develop a statically or dynamically typed programming language? How would you devise your expression parser?

In the second part of our Stork series, Toptal Full-stack Developer Jakisa Tomic outlines his preferred approach and demonstrates how you can create a functional expression parser.

14-minute readContinue Reading
Jakiša Tomić

Jakiša Tomić

Software Reengineering: From Spaghetti to Clean Design

Inheriting someone else’s code can be a nightmare, especially when the code is poorly designed and lacks documentation. In this post, Toptal Engineer Juan Pablo Scida provides a case study of how he reengineered a chat server written in Node.js, transforming its original spaghetti code into a cleanly architected and designed piece of software.

10-minute readContinue Reading
Juan Pablo Scida

Juan Pablo Scida

Separation Anxiety: A Tutorial for Isolating Your System with Linux Namespaces

Linux namespaces make it possible to run a whole range of applications on a single real machine and ensure no two of them can interfere with each other, without having to resort to using virtual machines. In a single-user computer, a single system environment may be fine. But on a server, where you may want to run multiple services, it is essential to security and stability that the services are as isolated from each other as possible.

13-minute readContinue Reading
Mahmud Ridwan

Mahmud Ridwan

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Join the Toptal® community.