Make Your App with a Single Page

The sort of application you’ll create using Ember is known as a single-page application, because the application is written in such a way that all of your content is rendered via one HTML page, and changes to that page are done via DOM manipulation and Ajax.

In Ember, when using Ember CLI, that page is known as index.html. We looked at it in Chapter 1, but let’s look again at our index.html for EmberNote:

 <!DOCTYPE html>
 <html>
  <head>
  <meta charset=​"utf-8"​>
  <meta http-equiv=​"X-UA-Compatible"​ content=​"IE=edge"​>
  <title>EmberNote</title>
  <meta name=​"description"​ content=​""​>
  <meta name=​"viewport"​ content=​"width=device-width, initial-scale=1"​>
 
  {{content-for ...

Get Deliver Audacious Web Apps with Ember 2 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.