Web

Showing 19-27 of 62 results
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 the reader with a glimpse into how WSGI works, and allow the reader 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 ChevronWeb front-end

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
EngineeringIcon ChevronTechnology

Online Video with Wowza and Amazon Elastic Transcoder

by Krzysztof Ożóg

Performance and data interoperability are critical to the success of any web application. For web apps that need to support video processing -- which is inherently compute- and I/O-intensive -- these challenges are particularly acute. In this post, I describe some of my experience successfully incorporating video capabilities into a PHP-based web app, leveraging open source technologies and cloud-based services to the greatest extent possible.

9 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

How to Use Rails Helpers: A Bootstrap Carousel Demonstration

by Carlos Ramirez III

One of the most misused, misunderstood, and neglected of all the Rails built-in structures is the view helper. Helpers often get a bad reputation for being a dumping ground for one-off methods used across the entire application's view layer. But what if your helpers could be more semantic, better organized, and even reusable across projects? What if they could be more than just one-off functions sprinkled throughout the view, but powerful methods that generated complex markup with ease leaving your views free of conditional logic and code? Let's see how to do this when building an image carousel, with the familiar Twitter Bootstrap framework and some good old-fashioned object-oriented programming.

7 minute readContinue Reading
EngineeringIcon ChevronBack-end

Building REST API for Legacy PHP Projects

by Arminas Zukauskas

Every once in a while PHP developers are charged with tasks that require them to extend the functionalities of legacy projects, a task that often includes building REST APIs. Building a REST API for PHP-based projects is challenging, but in the absence of proper frameworks and tools, it can also be a particularly difficult goal to get right. In this article, Toptal engineer Arminas Zukauskas shares his advice, with sample code, on how to build a modern structured REST API around existing legacy PHP projects.

11 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

The GWT Toolkit: Build Powerful JavaScript Front Ends Using Java

by Alberto Mancini

The GWT Web Toolkit, formerly known as Google Web Toolkit, is a set of development tools for building and optimizing complex browser-based applications using the Java programming language. What makes GWT not "yet another Java tool to write web apps," is the fact that the heart of the toolkit is a compiler that converts Java into JavaScript, enabling developers to write front-end web applications while leveraging all of Java's strengths.

11 minute readContinue Reading

Join the Toptal® community.