Monthly Archives: October 2015

ffmpeg for Ubuntu 14.04 LTS – Francesco Corti

To install ffmpeg on Ubuntu 14.04 LTS you have simply to open a terminal and execute the commands described below.

The Two Pillars of JavaScript — JavaScript Scene — Medium

I’ve found that articulating my disdain for classical object-oriented inheritance models after a decade of experience does not sit well with the typical interviewer, whose questions seem to come from the top three links of a Google search.

Eric Elliott (pictured) serves up some provocative reasoning about classical OO within Javascript at the link below. He ends up promoting his Stampit library for OO programming, but that doesn’t make what he’s saying less important.

Dan Abramov is more conciliatory in How to Use Classes and Sleep at Night. He basically provides rules on how to minimize misuse of the ES6 class.

(To clarify, the only great, maintainable use-case I’ve found for the OO hierarchy is for application life-cycle support.)


Part 1: How to Escape the 7th Circle of Hell

Source: The Two Pillars of JavaScript — JavaScript Scene — Medium

How to GET a Cup of Coffee

In this article, Jim Webber, Savas Parastatidis and Ian Robinson show how to drive an application’s flow through the use of hypermedia in a RESTful application, using the well-known example from Gregor Hohpe’s “Starbucks does not use Two-Phase-Commit” to illustrate how the Web’s concepts can be used for integration purposes.

Source: How to GET a Cup of Coffee

Netflix’s Falcor makes Data Fetching as Simple as Simple Can Be

Netflix’s Falcor Handles Data Transport and Caching From Source to Destination

Falcor gives you a model you can treat as a reliable, in-memory local cache of remote data. All the heavy-lifting is done for you. The mechanics of retrieving, caching, batching requests, and removing duplicate requests between client caches and server databases is done without mess that would happen were you to try to build it all yourself.

Data is accessed from a Falcor Model: the Falcor Model can be considered a wrapper around your JavaScript data model objects. You must get a value via the Falcor Model, using the JavaScript (dot) path (e.g. ‘user.firstname’) in your data model.

The API consists of three commands: “get”, “set”, and “call”.

The API is asynchronous, which means when the values are ready, whether drawn from local cache or remotely, will be passed to the client’s callback function.

The client of the Falcor Model gets efficient data fetching where the data is the API. But there is a bit of upfront work involving Routing and JSON Graph development that makes the system work so well. More on that later…