7. REASONS
1. More time doing Stupid Stuff like : downloading libs and
making directories ...
2. More Time on updating and managing lib versions
3. More time on tedious stuff like trying to figuring out why
stuff dont work together !
8. IN OUR BIZ TIME = $$
&
TIME IS THE KEY FACTOR TO STAY
PRODUCTIVE
28. Emmet for The WEB </3
body>section*3>h3{Hello GDG}+p{Nice To Be HERE!}
And We'll get the following !
<body>
<section>
<h3>Hello GDG</h3>
<p>Nice To Be HERE!</p>
</section>
<section>
<h3>Hello GDG</h3>
<p>Nice To Be HERE!</p>
</section>
<section>
<h3>Hello GDG</h3>
<p>Nice To Be HERE!</p>
</section>
</body>
34. You use CSS ?
Are you sufring from vendor-prefixes ? and the lack of
functionality ?
Did you heard about CSS Pre-processors !
1. SASS / SCSS 2. LESS 3. Stylus
35. You use JS ?
Are you sufring ? and you think that it's just overwelming ?
Did you heard about Language Transpilers !
1. Coffee Script 2. TypeScript
36. We talked about Speed !
Statistique : 98% of the over all rendring is due to the JS /
CSS / HTML rendring ..
We need a serious Solution !
40. What's That !
it's a tool that :
1. Improve Your Code quality.
2. Make your User Happy.
3. It’s easily repeatable. - we will discuss this point later on -
42. Grunt is a task runner !, he use a set of configuration
principales in order to do his WORK ! those conf are saved
in a key file called Gruntfile.js
44. Grunt use the module pattern to the max !
and we can download them using Node Package Manager
aka : npm
Then we load those plugins using grunt api !
45. Let's minify using Grunt-Concat + Grunt-uglify
Download it through the following commande :
than we configure the tasks and load them in the
Gruntfile.js
46.
47.
48. No Time for Downloading / Updating / Configuring
packages !
Use a package manager !
Personal Choice : Bower !
49. Bower how To !
We have in fact two ways to do the job !
50. 1. From the Bower.json (manifest file) :
+
2. From the Cli :