GraphQL | A query language for your API

GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.

Source: GraphQL | A query language for your API

Tutorial: How to build a GraphQL server – Apollo GraphQL

[H]ow to build a GraphQL server that connects to multiple backends: A SQL database, a MongoDB database and a REST endpoint. We’ll be combining all of them to build a very basic blog with authors, posts and views.

Tutorial: How to build a GraphQL server – Apollo GraphQL

Combining Posts From Multiple WordPress Sites Using The REST API

This article provides a detailed walkthrough on how to use the REST API to combine posts from multiple WordPress sites. It’s also a good example of how to use JavaScript promises and leverage the browser’s local storage API.

Source: Combining Posts From Multiple WordPress Sites Using The REST API

Randall Degges – Why I Love Basic Auth

Let’s talk about Basic Auth:

  • It’s a well and clearly defined specification.
  • It’s been around since ~1996.
  • It’s super simple.

Here’s the short version of how it works.

  • You are a developer.
  • You have an API key pair: an API Key ID and an API Key Secret. Each of these is a randomly generated string (usually a uuid).
  • To authenticate against an API service, all you need to do is put your credentials into the HTTP Authorization header.

Source: Randall Degges – Why I Love Basic Auth

Amazon API Gateway – Build and Run Scalable Application Backends | AWS Official Blog

Amazon API Gateway – Build and Run Scalable Application Backends | AWS Official Blog https://aws.amazon.com/blogs/aws/amazon-api-gateway-build-and-run-scalable-application-backends/

Seldon is an open source recommendation platform

Seldon is made up of many components that work together to deliver the best recommendations. Roughly, all user actions are captured via the REST API and streamed to logs. Those logs are processed in batch and new user models are delivered to the API Server. Then recommendations are delivered via the REST API.

http://docs.seldon.io/tech.html

The code for Seldom is on Github at https://github.com/SeldonIO/seldon-server.

Kong – Open-Source API Management Layer

Kong – Open-Source API Management Layer http://getkong.org/ “The open-source management layer for APIs, delivering high performance and reliability.”

Location, Location, Location! Now I get it.

I’ll admit that for the longest time I didn’t get the mobile world’s fascination with location. It seemed like one of those things that mobile developers did to push ads on me while I was in a grocery store or alert people I vaguely knew to my presence in a museum. Most implementations left me feeling underwhelmed. OK, so my phone knows where I’m at. Then what?

I’m coming around on location-based tech now as I’ve been working with a bit of it for a side project I’ve got going. The light bulb came on while writing a little web app that can tell me where I am and give me some basic info about that place. Turns out that once you peel off the veneer of constant ad generation using location in web apps (and, by extension, mobile apps) is fascinating from the developers point of view. Knowing where someone is provides a hook for offering up a lot of useful data that isn’t about selling things or letting near strangers know where you are.

And it isn’t that hard to do.

A good place to start is with the Google Maps JavaScript API. The developer site provides everything you need to get going with adding interesting location-based features to your apps. I tend to use JQuery when I have to deal with JavaScript and there is an excellent demo page of JQuery Mobile integrations with the Google Maps API with many useful examples.

I’ve put together a little example page for you to try. You’ll need to give it access to your browser location data and then you’ll get some basic location information. I find it interesting that in testing the most accurate location comes from mobile devices. The location data returned by laptop and desktop browsers is a lot less accurate, seemingly giving more weight to your IP address than other factors.