24
The League of Extraordinary Front End Dev Tools

League of extraordinary front end dev tools

Embed Size (px)

Citation preview

Page 1: League of extraordinary front end dev tools

The League of Extraordinary

Front End Dev Tools

Page 2: League of extraordinary front end dev tools

DEV CITY ...

Page 3: League of extraordinary front end dev tools

THE TROLL!

Page 4: League of extraordinary front end dev tools

Embrace. Extend. Extinguish!

Page 5: League of extraordinary front end dev tools

The Church of Web Standards tried to negotiate a truce.

Page 6: League of extraordinary front end dev tools

The Army of Vendor Pre-fixes

Pointy Haired Boss

DEADLINE

The Hacker

But then came the dark times.

Page 7: League of extraordinary front end dev tools

BEM!

SMACSS!

OOCSS!

Page 8: League of extraordinary front end dev tools

Dev City Needed a New Hero.

The League answered the call!

Page 9: League of extraordinary front end dev tools

Lint and Hint

Page 10: League of extraordinary front end dev tools

Sass

Don’tREpeatyourself!

Page 11: League of extraordinary front end dev tools

Sass

Change it in once place, Sass updates every reference to that mixin.No need to hunt down dozens, hundreds of instances across multiple files!

CSS

@mixin body-font-bold { font-family: 'Open Sans', sans-serif; font-weight: 700; }

.module_type_title { ... @include display-font-bold; }

...

.module_header_row { ... @include display-font-bold; }

...

Page 12: League of extraordinary front end dev tools

Compass

Page 13: League of extraordinary front end dev tools

Compass

CSS

.simple { @include border-radius(4px, 4px); }

.simple { -webkit-border-radius: 4px 4px; -moz-border-radius: 4px / 4px; -khtml-border-radius: 4px / 4px; border-radius: 4px / 4px; }

Page 14: League of extraordinary front end dev tools

JavaScript

Page 15: League of extraordinary front end dev tools

jQuery!

FIND SHOWparent

Page 16: League of extraordinary front end dev tools

Douglas Crockford

Page 17: League of extraordinary front end dev tools

JSON!

Page 18: League of extraordinary front end dev tools

Node.js

Page 19: League of extraordinary front end dev tools

npm install -g sass

npm install -g compass

www.npmjs.org

-G meansGLOBAL

Page 20: League of extraordinary front end dev tools

The workflow!

Page 21: League of extraordinary front end dev tools

Grunt.js

Page 22: League of extraordinary front end dev tools

module.exports = function(grunt) { "use strict";

grunt.initConfig({

pkg: grunt.file.readJSON('package.json'),

sass: { build: { options: { style: 'expanded' //Development }, files: { 'css/main.css':'css/scss/main.scss', } } },

watch: { css: { files: ['css/scss/**/*.scss', tasks: ['buildcss'] } } });

grunt.loadTasks('tasks'); grunt.registerTask('buildcss',['sass']);};

Grunt monitored the .SCSS files and when they changed, directed Sass to transform them into valid CSS!

Page 23: League of extraordinary front end dev tools

Meanwhile, back at GitHub...

Page 24: League of extraordinary front end dev tools

The League is always growing.

The End.

Yeoman MVC

BowerJasmineHuxley

Gulp

Rhino