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

A CLI tool for creating ambitious web applications

A CLI tool for creating ambitious web applications

Presented at OpenCode XXIII in Quebec City.

Charles Demers

November 25, 2014
Tweet

Other Decks in Programming

Transcript

  1. “Ember CLI is an Ember.js command line utility which provides

    a fast asset pipeline powered by broccoli and strong conventional project structure.” — ember-cli.com WHAT’S EMBER-CLI
  2. LET’S TAKE A STEP BACK… ember-cli is possible because Ember

    itself builds on the “Convention over configuration” philosophy. Strong conventions enable the community to build tools to get rid of trivial or repetitive tasks. ember-cli gives you a conventional way of building and including those tools in your app: addons.
  3. ASSET PIPELINE • Easily extendable to support your language/preprocessor of

    choice via addons. • Transpilation, concatenation, minification and fingerprinting are
 all built-in. • Environment-specific assets are possible with configuration. • Building outputs a bundle you can deploy. • Built-in server recompiles and live-reloads assets, it can also proxy
 API requests.
  4. GENERATORS • Built-in generators include basically every Ember entity you

    need to build and test an app. • You can create your own generators via addons. • There is even a generator to build addons!
  5. TESTING SETUP • Setup includes unit and acceptance tests. •

    Comes pre-bundled with QUnit
 (can be swapped for something else). • Can be run very easily with PhantomJS on the command line for CI or in the browser.