The document discusses various web development technologies and tools including Bower, Grunt, Less, and more. Bower is a package manager for browser libraries and frameworks. Grunt is a JavaScript task runner for managing development tasks like preprocessing, testing, and minification. Less is a CSS pre-processor that extends CSS with features like variables, mixins, nesting, and operations.
4. Bower
«A package manager for theweb» http://bower.io/
Bower is a central repository for browser libraries or frameworks
(Jquery, Boostrap, AngularJS, ...)
5. Bower why
•Improve development speed
•Track and maintain easily your dependencies
•Separate dependencies from your project’s source repository (Git, CVS, ...)
7. Bower commands
•Install Bowernpm install -g bower
•Create bower.jsonbower init
•Install a new Web packagebower install jquerybower install jquery--save (save it in bower.json)
•Update dependencies from bower.json : bower installbower update
8. Bower exemple
1.Install package : bower install bootstrap --save
2.Add in your index.html : <link rel="stylesheet" href="bower_components/dist/css/bootstrap.css" > <script src="bower_components/dist/js/bootstrap.js"></script>
3.Done !
9. Grunt
«The JavaScript Task Runner» http://gruntjs.com
Manage all your Web development tasks.
(preprocessing, linting, testing, minifying, ...)
10. Grunt vs Gulp
Grunt
•Configuration over code
•More mature system
•Over 3500 plugins
Gulp
•Code over configuration
•Steam-based build system
•Small and elegant API
•Over 700 plugins
14. LESS
«Less is a CSS pre-processor, meaning that it extends the CSS language, [...] that allow you to make CSS that is more maintainable, themable and extendable.» http://lesscss.org