Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Front-end on Steroids

Front-end on Steroids

Presentation about modern front-end development techniques.

With websites growing in complexity we have an increasing need for better tools to help build, test, and monitor our code. Everything from build scripts to monitoring and device testing are now important parts of the front-end developer’s job. After this presentation your front-end muscles increased by 31%.

WordCamp Antwerp 2016

Avatar for Timble

Timble

June 05, 2016

More Decks by Timble

Other Decks in Programming

Transcript

  1. Tom Janssens The web platform is my box of LEGOs.

    tom.janssens.me - @JanssensTom I'm a Belgian web developer and co-founder of Timble. Front-end on Steroids WordCamp Antwerp 2016
  2. DON’T: @media (max-width: ...) { … } DO: @media (min-width:

    ...) { … } Front-end on Steroids WordCamp Antwerp 2016
  3. { "name": "internet-platform", "devDependencies": { "grunt-browser-sync": "latest", "grunt": "^0.4.5", "grunt-contrib-watch":

    "~0.6.1", "grunt-sass": "^0.17.0", "load-grunt-tasks": "^0.6.0" } } PACKAGE.JSON Front-end on Steroids WordCamp Antwerp 2016
  4. // Sass task sass: { dist: { files: { 'css/style.css':

    'css/style.scss' } } } SASS TASK Front-end on Steroids WordCamp Antwerp 2016
  5. // Watch task watch: { sass: { files: 'css/*.scss', tasks:

    ['sass'] } WATCH TASK Front-end on Steroids WordCamp Antwerp 2016
  6. module.exports = function(grunt) { // Load all grunt plugins require('load-grunt-tasks')(grunt);

    // Tasks grunt.initConfig({ sass: { … } watch: { … } }); grunt.registerTask('default', ['watch']); }; GRUNTFILE.JS Front-end on Steroids WordCamp Antwerp 2016
  7. Demo Let’s build a device lab Disclaimer: live demos are

    a recipe for disaster Front-end on Steroids WordCamp Antwerp 2016