JavaScript

Showing 10-18 of 152 results
EngineeringIcon ChevronBack-end

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

By Marcos Henrique da Silva

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
EngineeringIcon ChevronWeb Front-end

WebAssembly/Rust Tutorial: Pitch-perfect Audio Processing

By Peter Suggate

WebAssembly gives near-native performance to web apps and allows languages other than JavaScript—plus their libraries—to be used on the web. This tutorial leverages Rust and the Web Audio API to make a basic guitar tuner app that runs at 60 FPS, even on mobile.

24 minute readContinue Reading
EngineeringIcon ChevronBack-end

The Definitive Guide to DateTime Manipulation

By Punit Jajodia

Time and date manipulation is notoriously difficult. Developers encountering time zone rules, leap seconds, differences in locale-specific formatting are wise to resort to popular time and date manipulation libraries. But without thinking about how exactly they work, it's still easy to create all sorts of obscure bugs.

23 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

On-demand Reactivity in Vue 3

By Luka Mikec

The release of Vue 3 brought about substantial performance improvements, but they should not overshadow the introduction of new features and paradigms. In this article, Toptal Full-stack Developer Luka Mikec introduces you to the new Composition API and explains what Vue 3 means for code expressiveness, organization, and reuse.

16 minute readContinue Reading
EngineeringIcon ChevronBack-end

Building a Node.js/TypeScript REST API, Part 1: Express.js

By Marcos Henrique da Silva

Learn practical TypeScript patterns with interfaces and extended classes. Avoid messy console.log() statements with Winston and the Node.js debug module. Create an Express.js-powered REST API back end from scratch!

12 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

Leveraging Declarative Programming to Create Maintainable Web Apps

By Peter Suggate

Adopting declarative-style programming techniques allows teams to create web applications that are easier to extend and maintain. In this article, Toptal Full-stack Developer Peter Suggate demonstrates how to leverage declarative programming and finite-state machines in JavaScript.

13 minute readContinue Reading
EngineeringIcon ChevronTechnology

Full-stack NLP With React: Ionic vs. Cordova vs. React Native

By Shanglun Wang

JavaScript frameworks based on React can help you build a fast, reliable mobile app, but it’s not always easy to determine which framework is best for your project. Choosing the wrong framework can result in an app with slow and redundant code. JavaScript expert Sean Wang builds the same natural language processing mobile application using Cordova, Ionic, and React Native, then discusses the advantages and limitations of each.

25+ minute readContinue Reading
EngineeringIcon ChevronTechnology

Serializing Complex Objects in JavaScript

By Luke Wilson

The Tanagra.js library is designed to be simple and lightweight, and it currently supports Node.js and ES6 classes. The main implementation supports JSON, and an experimental version supports Google Protocol Buffers.

7 minute readContinue Reading
EngineeringIcon ChevronBack-end

Cabin Fever Coding: A Node.js Back-end Tutorial

By Kevin Bloch

Missing the luxury of a good, old-fashioned remote control when the laptop is beyond easy reach? Transform your old smartphone into a remote and learn some basic Node.js/Express/Pug along the way.

16 minute readContinue Reading

Join the Toptal® community.