We've Launched "The Suddenly Remote Playbook,"
A Comprehensive Guide for Working Remotely
The Suddenly Remote Playbook
Read Now

Web

Showing 19-27 of 66 results
EngineeringIcon ChevronBack-end

How to Create a Simple Python WebSocket Server Using Tornado

by Jongwook Kim

The threaded model and global interpreter lock has always been in the way of Python handling thousands of concurrent long-lived connections. Modern web frameworks, such as Tornado, use non-blocking network I/O to make Python feasible for implementing WebSocket servers. In this article, Toptal engineer Jongwook Kim walks us through the process of implementing a simple WebSocket-based web application in Python using the Tornado web framework.

8 minute readContinue Reading
EngineeringIcon ChevronTechnology

Persisting Data Across Page Reloads: Cookies, IndexedDB and Everything In-Between

by Stephen Villee

Modern web browsers offer a number of different APIs and mechanisms to storing data on the client-side. But are all of these options created equal? In this article, Toptal engineer Stephen Villee demystifies the various client-side storage options available in modern web browsers and explains how each of these can play a role in storing session data on the client-side.

13 minute readContinue Reading
EngineeringIcon ChevronTechnology

React, Redux and Immutable.js: Ingredients for Efficient Web Applications

by Ivan Rogic

Unlike most front-end web frameworks, React's aim is to solve the various challenges of building user interfaces that rely on changing data. Although React is a simple JavaScript library and is easy to get started with, it is still possible to misuse it in ways that deny the web app from reaping the benefits that React has to offer. In this article, Toptal engineer Ivan Rogic demonstrates the synergy of React, Redux and Immutable.js, and shows how these libraries together can solve many performance issues that are often encountered in large web applications.

9 minute readContinue Reading
EngineeringIcon ChevronBack-end

Caching in Spring with EhCache Annotations

by Cong Liu

EhCache is a widely used, pure Java cache that can be easily integrated with most popular Java frameworks, such as Spring and Hibernate. It is often considered to be the most convenient choice for Java applications since it can be integrated into projects easily. EhCache Spring Annotations allows seamless integration into any Spring application by simply adding annotations to cacheable methods without modifying the method implementations. This article focuses on boosting your Spring applications with EhCache Spring Annotations.

8 minute readContinue Reading
EngineeringIcon ChevronBack-end

WSGI: The Server-Application Interface for Python

by Leandro Lima

Nowadays, almost all Python frameworks use WSGI as a means, if not the only means, to communicate with their web servers. This is how Django, Flask, and many other popular frameworks do it. This article intends to provide readers with a glimpse into how WSGI works and allow them to build a simple WSGI application or server.

9 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Grape Gem Tutorial: How To Build A REST-Like API In Ruby

by Botond Orban

In this tutorial, Toptal Engineer Orban Botond demonstrates how to use the Grape gem -- a REST-like API micro-framework for Ruby -- to build backend support in Rails for a JSON API. Grape is designed to run as a mountable rack engine that complements your web applications without interfering with them.

15 minute readContinue Reading
EngineeringIcon ChevronBack-end

Building an IMAP Email Client with PHP

by Artem Galtsev

Developers sometimes run into tasks that require access to email mailboxes. In most cases, this is done using the Internet Message Access Protocol, or IMAP. As a PHP developer, I first turned to PHP's built in IMAP library, but this library is buggy and impossible to debug or modify. So today we will create a working IMAP email client from the ground up using PHP. We will also see how to use Gmail's special commands.

9 minute readContinue Reading
EngineeringIcon ChevronTechnology

Ultimate Guide to the Processing Language Part II: Building a Simple Game

by Oguz Gelal

Processing makes prototyping visual apps a breeze. With its easy to use programming constructs and some mathematics, building a simple game is a lot easier than one may think. In this article, Toptal engineer Oguz Gelal provides a step-by-step tutorial to building a game using Processing and porting it to the web.

19 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Building a Rest API with the Bottle Framework

by Leandro Lima

REST APIs have become a common way to establish an interface between web back-ends and front-ends, and between different web services. The simplicity of this kind of interface, and the ubiquitous support of the HTTP and HTTPS protocols across different networks and frameworks, makes it an easy choice when considering interoperability issues. Bottle is a minimalist Python web framework. It is lightweight, fast, and easy to use, and is well-suited to building RESTful services. In this article, I'll provide a walkthrough of how to build a RESTful API service using Bottle.

12 minute readContinue Reading

Join the Toptal® community.