Hacker News new | past | comments | ask | show | jobs | submit login

Isn't that the point of http://requirejs.org/ and the AMD API - http://requirejs.org/docs/whyamd.html ? Why is there not more of a push for frameworks and libraries to be AMD compatible? The Dojo Toolkit is, and thus lets you load just what you need.



Don't forget npm, and bower, and jam, and component, and ender, and volo, and...

Really, it's only a matter of time before someone creates a JavaScript package manager manager so you can manage your package managers.


i think of it more as systemd than apt. calling it a package manager isn't all that accurate.

Scroll down to the "Module Loaders" section at http://todomvc.com/ I don't see any of the products listed you mentioned.

Notice that require.js works with Backbone.js, Ember.js, Knockout, AngularJS, Ember.js, Knockout, AngularJS, CanJS. TroopJS uses require.js. The only major competition it has is Thorax + Lumbar or Twitter's Flight.

http://requirejs.org/docs/whyamd.html#amdtoday

jQuery 1.7, Dojo 1.7, EmbedJS, Ender-associated modules like bonzo, qwery, bean and domready, Firebug 1.8+, and the BBC all use it or work with it.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: