📜 ⬆️ ⬇️

Facebook has published the Open Source JavaScript Library


Facebook is a big sponsor of the Open Source movement, and publishes some of their internal projects with Open Source licenses . Facebook provides a server for popular Open Source projects such as Mozilla and Apache. This week Facebook posted their first Open Source JavaScript library.


In September, Facebook released FBJS, which is part of JavaScript designed specifically for the Facebook platform. This allows developers to use JavaScript in their Facebook applications, including such things as AJAX and DOM manipulations. Despite this, there was a problem with FBJS. It didn’t work well with external libraries, so it wasn’t such an aid — the developers weren’t very lucky.

Given these circumstances, Facebook is set to develop an internal JavaScript library for animation in FBJS. "And then we thought: why stop at this?" The library contained a very small and specific code for Facebook, so we took some time, changed it, and opened the source for everyone, ”said Marcel Laverdet.
')
Facebook follows in the footsteps of rival web giants Google and Yahoo !, both of which have internal open JavaScript libraries. So far, the Facebook-published library for animation is very far from the full-featured libraries of Yahoo! and Google, such as Yahoo! 's YUI and Google's Web Toolkit . This is just a step in this direction. Publishing open libraries for third-party programmers is very wise, because it provides the basis for developers who have chosen your platform. For Yahoo! and Google, their libraries helped attract developers to other APIs (such as Google Maps or Flickr). For Facebook, open libraries can help attract more developers to choose their platform.

The Animation Library is described to developers as the path to “make the desired animation using CSS and DOM.” It is published with a modified BSD license.

via readwriteweb.com

Source: https://habr.com/ru/post/18921/


All Articles