Today I have a task to look for what is Bower ? actually it was the first time I heard about it so I determine to have half hour to know more about it and I will summarize , modern web development has a lot of parts like
1. Server-side code
2. Client- side code [JavaScript, JQuery,Bootstrap, Angular …. ]
3. Complex tool chain like
- LESS –> little language that compiles into javascript, the code compiles one to one into the equivalent JS and there is no interpretation
- CoffeScript –> is a typed superset of JavaScript that compiles to plain JavaScript, Any browser, Any host, Any OS, Open Source.
- TypeScript –> is a CSS pre-processor, meaning that it extends the CSS language, adding features that allow variables, function, it runs inside Node, in the browser and inside Rhino
also you have to bundle and minify JavaScript files and run tools like JSLint or unit tests
To enable these scenarios, Visual Studio 2015 has built-in support for several popular third-party tools:
- Bower. Described as a “package manager for the web,” Bower lets you install and restore client-side packages, include JavaScript and CSS libraries. For server-side libraries like the MVC 6 framework, you will still use NuGet Package Manager.
- Grunt and Gulp. Grunt and Gulp are JavaScript-based task runners. If you aren’t familiar with these, a task runner is an app that automates routine development tasks. Right now, the ASP.NET 5.0 project template uses Grunt.
- npm (Node Package Manager). npm is a package manager that was originally created for Node.js . Bower, Grunt, and Gulp all use npm.