Facebook Shares More Open-Source Projects

By David Cohen 

PHPLogo650It has been a busy week for Facebook on the open-source front, as the social network announced the release of a language specification for PHP, as well as the sharing of three JavaScript projects: Flux, immutable-js and rebound-js.

Facebook Technical Writer Joel Marcey discussed the creation and release of the PHP language spec in a post on the HHVM blog:

The PHP language has been around for over 20 years and is clearly one of the most popular programming languages in the world. PHP is definitely the lingua-franca for server-side Web programming.

While there is extensive user documentation, the PHP language has always been missing a language specification. That is not to say a specification hasn’t been thought about or discussed. It is just that one has never really come to fruition.

The Chinese philosopher Lao Tzu stated, “A journey of 1,000 miles begins with a single step.” We are excited to announce the initial draft of a specification for PHP.

As for the JavaScript projects:

  • Flux is a unidirectional data flow for React, and more details are available in a post on the React blog.
  • The immutable-js library provides immutable data structures like map, set and vector.
  • Facebook spun out the JavaScript port of its Android user-interface spring physics library, rebound-js.