Modern Tools for Front-End Development – Front-end developers have been at a disadvantage



Modern Tools for Front-End Development – Front-end developers have been at a disadvantage

0 0


modern-tools

A presentation on Modern Tools for Front-End Development

On Github a-fro / modern-tools

Modern Tools for Front-End Development

Who Am I?

Front-end developers have been at a disadvantage

Browser inconsistencies were a major pain
  • Stifled innovation
CSS is "Easy"
  • Bidding against "the nephew"
Properties rather than programming
  • Lack of variables, functions, objects
Proliferation of devices

New Tools for New Challenges

CSS Pre-processors Polyfill/compatibility libraries Responsive Development Tools

Installing Sass

There are a number of 3rd party apps to support CSS preprocessors

 

We're going to use Ruby

Using Ruby Gems

$ gem install bundler
          

Gemfile:

source "https://rubygems.org"

gem 'guard-sass'
gem 'compass'
gem 'guard-livereload'
          
$ bundle install
          

Using Drupal Streamline

  • Includes Sass, Compass and LiveReload
  • Leverages Guard
# More info at https://github.com/guard/guard#readme

guard 'sass',
  :input => 'docroot/sites/all/themes/wscu_theme/scss',
  :output => 'docroot/sites/all/themes/wscu_theme/css',
  :compass => true,
  :style => :compressed
          

Sass Features

Partials Variables Nested inheritance Extending Classes Functions/Mixins Operations

Cross-Browser Supportwith Compass

CSS3 Support Typography and Vertical Rhythm

Simplify Responsive Designwith LiveReload

Thanks!

 

Questions?