1. 8

  2. 4

    The problem with this as I see it is that you have to have a package manager (apt/yum) and install another package manger (npm) to install yet another package manager(bower).

    1. 2

      It’s package managers all the way down

      1. 1

        Actually I seem to remember npm suggesting that you should get it from source over apt/yum.

      2. 1

        Looks like a very useful tool for Javascript dependencies. I like that they don’t force you to use something like RequireJS.

        I wonder who is going to maintain it? Both @fat and @macman have left Twitter.

        1. 1

          I work with some pretty javascript heavy apps and I never really had a problem managing dependencies.

          Maybe if jquery was broken into smaller modular parts ala Ender, then it would make sense.

          1. 1

            I think it’s a little bit of a chicken-and-egg problem. As a framework author, I’d love to be able to provide Ember.js in a more modular format to our users—but it’s such a pain in the neck right now, we basically have to distribute it as one file. If it was trivial for people to assemble different packages, we’d be happy to support it. In fact, we specifically architected Ember.js in this way (just look inside our packages directory); we’re just waiting for a sufficiently sophisticated package manager to appear.

            1. 1

              Do you consider BOWER to be a sufficiently sophisticated package manager?

              1. 2

                No, I don’t think it is, and I’ve had several meetings with Alex and Jacob trying to convince them of it. In particular, I don’t think using git as a mechanism for package management is anywhere close to a good idea.

                You really want the ability to query a central repository for a changeset, instead of what Bower does, which is query GitHub once for every package and its dependencies. After the rubygems.org server made this change, installing gems went from an annoyance to a process you barely notice anymore.

                Bower was built to serve very specific needs inside of Twitter, and while I think it’s commendable that they’re releasing it as open source, I don’t think it’s the comprehensive solution that the browser JavaScript community needs, and I’m afraid it will steal oxygen from other projects that might have more ambitious goals. In the meantime, I’m hoping that I can convince someone that JS application developers need something closer to the RubyGems or NPM end of the spectrum.