JavaScript

Showing 127-135 of 152 results
EngineeringIcon ChevronBack-end

Predicting Likes: Inside A Simple Recommendation Engine’s Algorithms

By Mahmud Ridwan

The Internet is becoming “smarter” every day. The video-sharing website that you frequently visit seems to know exactly what you will like, even before you have seen it. The online shopping cart holding your items almost magically figures out the one thing that you may have missed or intended to add before checking out. It’s as if these web services are reading your mind---or are they? Turns out, predicting a user’s likes involves more math than magic. In this article we explore one of the many ways of building a recommendation engine that is both simple to implement and understand.

15 minute readContinue Reading
EngineeringIcon ChevronTechnology

How GWT Unlocks Augmented Reality in Your Browser

By Alberto Mancini

In our previous post on the GWT Web Toolkit, we discussed the strengths and characteristics of GWT to mix Java and JavaScript libraries seamlessly in the browser. In today's post, we would like to go a little deeper and see the GWT Toolkit in action. We'll demonstrate how we can take advantage of GWT to build a peculiar application: an augmented reality web application that runs in real time, fully in JavaScript, in the browser. We'll focus on how GWT gives us the ability to interact easily with many JavaScript APIs, such as WebRTC and WebGL, and allows us to harness a large Java library, NyARToolkit, never intended to be used in the browser.

10 minute readContinue Reading
EngineeringIcon ChevronTechnology

MIDI Tutorial: Creating Browser-Based Audio Applications Controlled by MIDI Hardware

By Stéphane P. Péricat

Modern web browsers provide a rich set of APIs; some of which have been around for a long time, and have since been used to build powerful web applications. Web Audio API has been popular among HTML5 game developers, however, the Web MIDI API and its capabilities have yet to be utilized. In this article, Toptal engineer Stéphane P. Péricat guides you through the basics of the Web MIDI API, and shows you how to build a simple monosynth to play with your favorite MIDI device.

15 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

Making an HTML5 Canvas Based Game: A Tutorial Using AngularJS and CreateJS

By Avinash Kaza

There are many programming platforms used to develop games, and there are a plethora of devices to play them on, but when it comes to playing games in a web browser, Flash-based development still leads the way. What if we could port these games to HTML5 Canvas technology and play them on mobile browsers as well? In this article, Toptal engineer Avinash Kaza gave a solution to this.

16 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Context Aware Applications and Complex Event Processing Architecture

By Rahul Devaskar

Since almost all smartphones today are equipped with location sensors, motion sensors, bluetooth, and wifi, today's mobile apps can use context awareness to dramatically increase their capabilities and value. This article walks you through building a context aware app that employs complex event processing.

9 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

React.js View State Management Tutorial

By Leonardo Andrés Garcia Crespo

One of the biggest and most common problems in front-end web development is state management. A developer is constantly focused on keeping the state object in sync with its view and the DOM representation. Users can interact with the application in many ways and it's a big task to provide a clean transition from one view state to another. We will see how using React JavaScript library can help us reduce application complexity and offload UI transitions from our application.

10 minute readContinue Reading
EngineeringIcon ChevronMobile

Building Real-time, Multiplatform Mobile Applications: Examples Using Ionic Framework and Firebase

By Avinash Kaza

This article provides step by step guide for building hybrid multiplatform real-time mobile application using the Ionic Framework and the Firebase.

10 minute readContinue Reading
EngineeringIcon ChevronTechnology

A Map to Perfection: Using D3.js to Make Beautiful Web Maps

By Tomislav Bacinger

Data Driven Documents, or D3.js, is an awesome data visualization library. In this article, I'll discuss one particularly compelling application of D3.js: map making. We'll go through the common challenges of building a useful and informative web map, and show how in each case, D3.js gives you everything you need to make your map look and feel beautiful.

6 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

One Size Fits Some: A Guide to Responsive Web Design Image Solutions

By Kado Damball

As mobile and tablet devices come closer to achieving final world domination, web technology is in a race to accommodate the ever-growing number screen sizes. However, devising tools to meet the challenges of this phenomenon brings a whole new set of problems, with one of the latest buzzwords to emerge being "responsive web".

7 minute readContinue Reading

Join the Toptal® community.