Web Development Workflow: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
Zeile 43: Zeile 43:
 
*** In multiple browsers via cmd line
 
*** In multiple browsers via cmd line
 
**** [https://github.com/ryanseddon/bunyip bunyip] -f test/index.html
 
**** [https://github.com/ryanseddon/bunyip bunyip] -f test/index.html
*** In multiple browsers ''in the cloud'' via cmd line
+
*** In multiple browsers ''in the cloud'' via cmd line (e.g. with BrowserStack)
 
**** [https://github.com/ryanseddon/bunyip bunyip] -f test/index.html -b ios
 
**** [https://github.com/ryanseddon/bunyip bunyip] -f test/index.html -b ios
  

Version vom 12. Juni 2013, 20:14 Uhr

Javascript Development Workflow of 2013

Video: Javascript Development Workflow of 2013 by Paul Irish (PDF)

  • A Baseline for Front-End Developers
  • Shell:
  • Editor:
    • learn it well, most important
    • Code linting is your first unit test.
  • Realtime Feedback
    • live linting
    • live recompilation
    • live reload
  • Javascript
    • Modules / Dependency management
      • AMD modules
      • CommonJS modules
      • ECMAScript Harmony modules
      • Minispade require (ember.js example)
    • Tricks:
      • Template precompilation - into functions in a build step and ship the compiled templates.
      • Custom build output based on build-time forks. (require.js optimizier)
      • More module magic from Alex Sexton (MVC MODULE MAGIC)
  • Package Management - cooming soon.
  • In-Browser Devtools
  • Mobile
    • Test in Chrome
      • Emulate touches, override device metrics
    • Emulators & Browserstack
    • Real device & Adobe Shadow
    • Chrome on Android w/ DevTools

Testing

    • Jasmin, QUnit or Mocha
    • Execute tests in a variety of settings:
      • In the Browser
      • In a headless browser on-demand via cmd line
      • In a headless browser post-push. Continuous Integration
      • In multiple browsers via cmd line
      • In multiple browsers in the cloud via cmd line (e.g. with BrowserStack)
        • bunyip -f test/index.html -b ios

Others