Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
What about Browserify?
Browserify is a great project and if it's working well for you then you should keep using it.
Duo's scope is much more ambitious. Duo aims to be your go-to asset pipeline for Node.js. Much in the same way that Sprockets is for the Ruby community.
Browserify's dependence on NPM to deliver it's packages leads to some big issues:
— naming is a bigger hassle on the client-side (how many different kinds of tooltips are there?)
— private modules require a private NPM server
— ensuring your team has push access to each module is always a pain, especially when a teammate leaves
— By using GitHub as your package manager all of these issues disappear.
@ import 'user/repo' это отсылка к Гитхаб репозиторию.var fmt = require('....');
Duo необходима авторизация в Гитхаб для того чтобы увеличить скорость доступа к пакетам
For requests using Basic Authentication or OAuth, you can make up to 5,000 requests per hour. For unauthenticated requests, the rate limit allows you to make up to 60 requests per hour. Unauthenticated requests are associated with your IP address, and not the user making requests. Note that the Search API has custom rate limit rules.
Duo requires you to authenticate with GitHub to increase your rate limit and allow you to pull from private repositories. To do that, add the following entry to your ~/.netrc file:
создание концептов или прототипов
разработка больших веб-приложений
Duo.js — новое поколение пакетного менеджера для фронтэнда