Skip to content
Tutorials Center
My learning

Topics

Ember.js Tutorial

Learn Ember.js step by step: 39 lessons in 9 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

Getting Started

  1. 1 Introduction to Ember.js Learn what Ember.js is, how convention over configuration speeds up big web apps, how it compares with other frameworks, and how its main pieces fit together.
  2. 2 Installing Ember and Project Structure Install Node and Ember CLI, create your first app with ember new, start the dev server, and learn what every folder in an Ember project is for.
  3. 3 Your First Ember Page Build a first Ember page step by step. Generate a route, edit its template, link pages together and see how the router, template and component work as one flow.
  4. 4 Modern JavaScript You Need for Ember Review the JavaScript features Ember code uses every day - modules, classes, class fields, arrow functions, destructuring, async/await and decorators - with runnable examples.
  5. 5 Core Concepts of Ember Octane Get the mental model of modern Ember - routes, templates, components, services, tracked state, arguments and actions - and see how auto-tracking updates only what changed.

Routing and Templates

  1. 6 Router Basics: Routes, Nesting and Dynamic Segments Learn how the Ember router maps URLs to routes, how nested routes and the index route work, how dynamic segments and wildcards capture values, and how templates nest.
  2. 7 Route Classes and the Model Hook Learn what an Ember route class does - loading data in model(), guarding with beforeModel, redirecting, passing context to children and the order in which route hooks run.
  3. 8 Templates and Handlebars Syntax Learn Ember template syntax - mustaches, escaping, if and each blocks, let, attributes and class bindings, comments and the template tag format - with runnable stand-ins.
  4. 9 Links, Navigation and the Router Service Navigate in Ember with LinkTo, pass models and ids to dynamic routes, style active links, and move programmatically with the router service - transitionTo, replaceWith and urlFor.
  5. 10 Query Parameters and Loading States Add query parameters to Ember routes for filters, sorting and paging, then handle slow and failing data with loading and error substates, and a custom not-found page.

Components and Helpers

  1. 11 Components and Arguments Build Ember components with the template tag format - template-only and class-based components, passing arguments, local state, getters and nesting - with runnable stand-ins.
  2. 12 Actions, Events and Forms Handle clicks, input and submit events in Ember with the on modifier, the action decorator and the fn helper, and learn how child components send actions up.
  3. 13 Helpers and Modifiers Learn Ember's built-in helpers (if, each, let, concat, get, array, hash) and how to write your own helper and element modifier, with runnable JavaScript stand-ins.
  4. 14 Component Patterns: Yield, Blocks and Attributes Learn the reusable-component toolkit in Ember - yield, block params, named blocks, splattributes, contextual components and the hash helper - with runnable stand-ins.
  5. 15 Forms and Inputs Build forms in Ember with controlled inputs, checkboxes, selects, validation and a submit flow, using tracked state and the on modifier, with runnable JavaScript stand-ins.

Ember Data and Models

  1. 16 Ember Data: Models and the Store Meet Ember Data, the library that turns API responses into cached records - the store, models, the identity map and how routes load records - with a runnable stand-in store.
  2. 17 Models, Attributes and Transforms Define Ember Data models with @attr, default values, built-in and custom transforms and derived getters, and see how attributes are converted - with runnable stand-ins.
  3. 18 Relationships: belongsTo and hasMany Link Ember Data models with belongsTo and hasMany, understand async versus sync relationships, inverses and loading related records, with a runnable stand-in that keeps both sides in step.
  4. 19 Creating, Updating and Deleting Records Create, edit and delete Ember Data records with createRecord, save, rollbackAttributes and destroyRecord, handle server errors and show saving states, with a runnable stand-in.
  5. 20 Adapters and Serializers Connect Ember Data to your own API with adapters (URLs, headers, hosts) and serializers (key names, payload shape, ids), including REST and JSON:API styles, with runnable stand-ins.
  6. 21 Querying and Caching Filter, sort and paginate with store.query, read the cache with peek, control reloads with findAll options and include, and avoid common caching surprises, with runnable stand-ins.

Services and Dependency Injection

  1. 22 Services in Ember Learn what Ember services are, how to generate and inject them, why they are lazy singletons, and when to use one instead of component or route state.
  2. 23 Dependency Injection and the Owner Understand how Ember finds services: the registry, container and owner, lookup names, getOwner, factoryFor, and how tests replace a service with a fake.
  3. 24 Built-in Services - Router, Store and More Meet the services Ember gives you for free: the router service for navigation and active-route checks, the store for data, and how to build your own helpers on top.
  4. 25 Building Your Own App Services Design real Ember services: an authentication session, a notification queue and a persisted settings service, with patterns for async work, cleanup and testing.

Tracked State and Reactivity

  1. 26 Tracked Properties Learn how @tracked makes Ember re-render automatically, what autotracking records during a render, and see the mechanism in a runnable revision-counter model.
  2. 27 Derived State: Getters and @cached Compute values from tracked state with plain getters, learn when a getter reruns, and use @cached to avoid repeated expensive work, with a runnable memoizer.
  3. 28 Tracked Collections and Immutable Updates Update arrays, objects, maps and sets so Ember re-renders: the replace-by-copy pattern, tracked-built-ins collections, tracked classes, and how to choose between them.
  4. 29 Reactivity Pitfalls and Debugging Diagnose the common Ember reactivity bugs: missing @tracked, mutation, backtracking rerender assertions, stale copies of arguments, lost this, and async races.

Testing

  1. 30 Testing Ember Apps Learn how Ember testing is organized: QUnit modules, the three test types, ember test commands, qunit-dom assertions, async settledness, and a runnable mini test runner.
  2. 31 Rendering Tests for Components and Helpers Write Ember rendering tests: render a component, simulate clicks and typing with test helpers, pass arguments and fake services, and check the DOM with qunit-dom.
  3. 32 Acceptance and Unit Tests Test whole user journeys with visit, currentURL and click, unit-test services, routes and models, and fake the network with a request interceptor for fast, stable tests.

Build, Addons and Deployment

  1. 33 Ember CLI and the Build Pipeline Learn the Ember CLI commands you use daily, the layout of an Ember project, environment configuration, how a production build works, and Embroider with Vite.
  2. 34 Ember Addons and Packages Find, install and evaluate Ember addons, understand v1 and v2 addon formats, learn the must-know addons, and see how a plugin system merges addon features.
  3. 35 Deploying Ember Apps Ship an Ember app: build for production, serve it from static hosting with history fallback, set cache headers for fingerprinted files, handle environments and use CI.

Projects and Practice

  1. 36 Project: A Notes App Build a notes app step by step: plan the routes and services, store notes in a tracked service with persistence, add search and pinning, and verify the core logic.
  2. 37 Project: A Task Board Build a kanban task board in Ember: columns and cards as tracked classes, moving cards, derived counts and WIP limits, an undo history, and tested board logic.
  3. 38 Project: Building a Test Suite Practice test-driven development in Ember: write unit, rendering and acceptance tests for the notes app, use fakes for storage and time, and run a runnable test plan.
  4. 39 Ember Practice and Cheat Sheet Practice Ember concepts with runnable exercises on services, tracked state and testing, review common mistakes, and keep a one-page cheat sheet of the key APIs.