shohan4556 Posted November 21, 2015 Share Posted November 21, 2015 I have seen that Phaser developers using http://bower.io to manage their project and and build but I have no idea how to use it, what are the advantages ?Thanks. Link to comment Share on other sites More sharing options...
cupcoffee Posted November 21, 2015 Share Posted November 21, 2015 From my understanding Bower is used to quickly get dependencies setup for your project. If you're working with a group of people you can all be in sync with the project dependencies by using bower. Bower also offers the ability to update your dependencies to a newer version or making sure a specific version of a dependency is being used for your project. For example: You can download and update your phaser build with bower: http://bower.io/search/?q=phaser Link to comment Share on other sites More sharing options...
BrunoHautenfaust Posted November 22, 2015 Share Posted November 22, 2015 Bower is a package manager. You use it to find and download different packages(APIs - like Phaser). Once downloaded, the package goes in a folder bower_components/<the api>. Besides that, Bower creates a JSON file with dependencies. That's just a list of all the packages you've downloaded.The biggest(and only) advantage I can think of is that you can send your project with just the dependencies JSON file to someone. And if he has Bower installed, he can easily fetch the APIs needed for the project. No need for you to send them, or for him to find them himself. shohan4556 1 Link to comment Share on other sites More sharing options...
shohan4556 Posted November 23, 2015 Author Share Posted November 23, 2015 Thanks all now I understand. Link to comment Share on other sites More sharing options...
Recommended Posts