Книга: Functional Programming in JavaScript
Назад: CLI
Дальше: Functional languages that compile into JavaScript

Using functional libraries with other JavaScript modules

Web applications are made up of all sorts of things: frameworks, libraries, APIs and more. They can work along side each other as dependents, plugins, or just as coexisting objects.

    • An MVP (model-view-provider) framework with a RESTful JSON interface
    • Requires the library, Backbone's only hard dependency
  • jQuery
    • The library has bindings for mixing with jQuery
    • Underscore and jQuery complement each other very well
  • Prototype JavaScript Framework
    • Provides JavaScript with collection functions in the manner closest to Ruby's Enumerable
    • Modifies native objects and their methods
    • Must be careful when mixing with other libraries, especially Prototype
Назад: CLI
Дальше: Functional languages that compile into JavaScript

bsn
thank
Vesa Karvonen
I hope you don't mind, but I’d like to point you and your readers to my high-performance optics library for JavaScript that is in production use in multiple projects, has comprehensive support for partial optics and interactive documentation: https://calmm-js.github.io/partial.lenses/ (this takes a moment to load — be patient!)