Posts about APIs

Welcome to the world of JavaScript APIs (application programming interfaces), where you can learn how to hook up your applications and sites to third-party sources of data. APIs allow you to access external data sources and use them in new and interesting ways, whether you're adding a Facebook widget, plugging into a gaming device, or pulling in an RSS feed.

Authors that write for this category

spacer spacer spacer spacer spacer

An Overview of the JavaScript History API

Sandeep Panda on APIs

Modern web applications can access a user’s browsing history using the History API. As of HTML5 you can also manipulate history entries with great flexibility. This tutorial gives an overview of JavaScript’s History API, and explains how to use this feature while designing modern web applications.
(more…)

  • More like this
  • 2 comments

Other APIs

  • The Buzz About the Vibration API
  • Working with Geolocation and the Google Maps API
  • Navigation Timing API: How to Profile Page Loads Efficiently
  • Discovering the High Resolution Time API
  • JavaScript and HTML5 Gaming: From Angry Birds to ZX Spectrum

Introducing the Geeksphone by Mozilla

Colin Ihrig on Advanced

Mozilla has been hard at work on their new operating system, Firefox OS. This week they took another step towards legitimacy with the announcement of developer preview devices – known as the Geeksphone. This article introduces Firefox OS and the Geeksphone to the JSPro audience.
(more…)

  • More like this
  • 0 comments

Other Advanced

  • The Return of the jQuery Plugin Registry
  • Debugging Unit Tests Using js-test-driver
  • Fixing the details Element
  • Interfacing Java and JavaScript Using LiveConnect
  • Adding Micro-Constructors to a Modular Design Pattern

Creating a Polyline Using Geolocation and the Google Maps API

Aurelio De Rosa on APIs

In Getting Directions Using the Google Maps API, I explained how to create a service that lets a user find a route from one address to another. In this article, you’ll learn how to use the Geolocation API together with the Google Maps API to display a polyline on a map that join several points.
(more…)

Other APIs

  • Working with Geolocation and the Google Maps API
  • JavaScript and HTML5 Gaming: From Angry Birds to ZX Spectrum
  • Getting Directions Using the Google Maps API
  • Introducing the Battery Status API
  • The Buzz About the Vibration API

Implementing Push Technology Using Server-Sent Events

Colin Ihrig on APIs

Making Ajax calls using the XmlHttpRequest object is a well established technique for generating dynamic server requests. However, Ajax does not allow the server to directly initiate data transfers to the client – a technique referred to as push technology. That’s where the server-sent events API comes into the picture. Specializing in push technology, server-sent events transmit data to clients as a continuous stream, referred to as an event stream, over a connection which is kept open. And, by maintaining an open connection, the overhead of repeatedly establishing a new connection is eliminated.
(more…)

  • More like this
  • 4 comments

Other APIs

  • Getting Directions Using the Google Maps API
  • JavaScript and HTML5 Gaming: From Angry Birds to ZX Spectrum
  • Introducing the Geeksphone by Mozilla
  • Discovering the High Resolution Time API
  • The Buzz About the Vibration API

Getting Directions Using the Google Maps API

Aurelio De Rosa on APIs