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

Rapid Cross-Device Development

Rapid Cross-Device Development

These are the slides from my talk at Staffs Web Meetup in March 2015.

The slides give a quick overview into how the industry developed from a single web browser through to multiple browsers, multiple Operating Systems and then multiple devices.

The second half of the talk was an introduction to BrowserSync.io.

Andrew McCombe

March 19, 2015
Tweet

Other Decks in Programming

Transcript

  1. Who am I? • Web developer since 1997. • Work

    at iWeb. • Mainly a PHP developer with frontend and Sys-admin experience. • www.euperia.com • @euperia
  2. In the beginning... • Development was done in a basic

    text editor. • Save file, switch to browser, hit F5. • Make a change. • Save file, switch to browser, hit F5.
  3. So development was... • Done in a basic text editor.

    • Save file, switch to TWO browsers, hit F5. • Make a change. • Save file, switch to TWO browsers, hit F5.
  4. So development was... • Basic text editor or specialised software.

    • Save file, switch to four browsers, hit F5 on each. • Change computer, switch to browsers, hit F5 on each. • Make a change. Repeat.
  5. Overview • Node.js based (requires npm and node.js) • Command

    line or use with Grunt or Gulp task runners. • Watches for file changes. • Injects CSS changes rather than full reload. • Syncs scrolling, click events, form input & navigation. • Great for Responsive Web Development.
  6. Command line example # Static server using the 'app' directory

    as the root # and watch for css or html changes # Will open your browser at http://localhost:3000 browser-sync start --server app --files "app/css/*.css, app/*.html" [BS] Local URL: http://localhost:3000 [BS] Serving files from: app [BS] Watching files...
  7. More features... Using with Gulp or Grunt allows: • SASS

    compilation & automatically reload. • CSS & Javascript Linting. • Browser prefixing. • Minification & Concatenation. • Production / Development configurations.