mjuniper.github.io/presentations/ds2018/ambitious-apps-building.html

github.com/mjuniper/presentations

Jupe's Law of Web Development

If it's hard...

you're doing it wrong!

And the Ember corollaries:

If you find yourself thinking, "#$*@$ Ember!"

you're probably doing it wrong!

If you find yourself thinking, "wouldn't it be great if ember did X?"

It probably does.

Refer to the docs: emberjs.com/api

And the guides: guides.emberjs.com

Ask in the Slack channel: embercommunity.slack.com

ember new my-app

  • A working (bare-bones) app.
  • A development server with live reload.
  • A build pipeline (template compilation, js & css minification, etc).
  • ESNext features via Babel.
  • A testing framework.

Core Ember Concepts

Router
Maps URLs to routes
Route
Loads models and renders templates
Controller
Presents model/state to the template
Model
Represents/persists data
Template
Presents data / loads components
Components
Reusable UI/behavior

Templates & Data Binding


            import Controller from '@ember/controller';

            export default Controller.extend({
              name: 'jupe'
            });
          

            

Hello, {{name}}!