Giter Site home page Giter Site logo

forge's People

Contributors

nkohari avatar nkohari-stripe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

forge's Issues

Does not seem to work with ES6 classes

The dependencies are not getting injected into the class constructor of the new ES6 class. Type dependencies managed by Forge and ctor args using with() do not get injected.

A conventional note

First things first: I'm fairly certain that the existence of this framework will be controversial. The general sentiment is that in a loosely-typed, dynamic language like JavaScript, framework-aided dependency injection is unnecessary.

First, those people are dumb. There's nothing about Node or Javascript that makes DI any less applicable.

Second, CoffeeScript is to JavaScript as C++ is to Assembly. Although it compiles to Javascript... its not Javascript. This is an important distinction, I think... along the lines of ordering hot cocoa and receiving coffee.

Ability to dynamically resolve missing dependencies

Would be to nice to be able to either have a custom action on a missing dependency or simply provide one manually. I would actually seek to have a mixed pre-defined and lazy loading arrangement (plugins). This should be settable on forge's instance.

Ability to makeChild/clone/fork a forge

I would like to have this function to create scoped dependencies that will be changed for a different set of dependencies with the same name. I would hate to use unbind for this.

PS. Very nice project. Clean, well documented and does not constrain the user unlike other DI frameworks like angular/di.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.