Socket
Socket
Sign inDemoInstall

@ember-learn/guides-source

Package Overview
Dependencies
Maintainers
6
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ember-learn/guides-source - npm Package Compare versions

Comparing version 3.5.1 to 3.5.2

37

guides/v3.4.0/models/index.md

@@ -1,5 +0,31 @@

Models are objects that represent the underlying data that your
application presents to the user. Different apps will have very
Ember developers have great options for how they handle data from
back end APIs. Ember itself works with any type of back end: REST,
JSON API, GraphQL, or anything else.
Many developers choose to use Ember Data, a powerful set of tools
for formatting requests, normalizing responses, and efficiently
managing a local cache of data. The Ember Data library is included
by default for applications generated with the Ember CLI; however,
if you do not wish to use it, it can easily be removed by
removing the `ember-data` entry from `package.json`.
Some developers write all their own code to handle API requests,
using native JavaScript methods like
[fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
or third-party libraries. Many apps use a combination of approaches.
This section of the Guides describes the essential features of Ember
Data. To learn about other ways to handle data and to find extensions,
check out [Ember Observer](https://www.emberobserver.com/)
or search for community-made tutorials.
## What are Ember Data models?
In Ember Data, models are objects that represent the underlying data
that your application presents to the user.
Note that Ember Data models are a different concept than the
[`model`](../routing/specifying-a-routes-model/) method on Routes,
although they share the same name.
Different apps may have very
different models, depending on what problems they're trying to solve.
For example, a photo sharing application might have a `Photo`

@@ -31,7 +57,2 @@ model to represent a particular photo, and a `PhotoAlbum` that

Ember Data, included by default when you create a new application, is a
library that integrates tightly with Ember to make it easy to retrieve
models from your server as JSON, save updates back to the server, and
create new models in the browser.
Thanks to its use of the _adapter pattern_, Ember Data can be configured

@@ -38,0 +59,0 @@ to work with many different kinds of backends. There is [an entire

@@ -200,3 +200,4 @@ For Super Rentals, we want to be able to display a map showing where each rental is.

let mapElement = this.maps.getMapElement(this.location);
this.$('.map-container').append(mapElement);
let mapContainerElement = this.element.querySelector('.map-container');
mapContainerElement.appendChild(mapElement);
}

@@ -203,0 +204,0 @@ });

@@ -1,5 +0,31 @@

Models are objects that represent the underlying data that your
application presents to the user. Different apps will have very
Ember developers have great options for how they handle data from
back end APIs. Ember itself works with any type of back end: REST,
JSON API, GraphQL, or anything else.
Many developers choose to use Ember Data, a powerful set of tools
for formatting requests, normalizing responses, and efficiently
managing a local cache of data. The Ember Data library is included
by default for applications generated with the Ember CLI; however,
if you do not wish to use it, it can easily be removed by
removing the `ember-data` entry from `package.json`.
Some developers write all their own code to handle API requests,
using native JavaScript methods like
[fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
or third-party libraries. Many apps use a combination of approaches.
This section of the Guides describes the essential features of Ember
Data. To learn about other ways to handle data and to find extensions,
check out [Ember Observer](https://www.emberobserver.com/)
or search for community-made tutorials.
## What are Ember Data models?
In Ember Data, models are objects that represent the underlying data
that your application presents to the user.
Note that Ember Data models are a different concept than the
[`model`](../routing/specifying-a-routes-model/) method on Routes,
although they share the same name.
Different apps may have very
different models, depending on what problems they're trying to solve.
For example, a photo sharing application might have a `Photo`

@@ -31,7 +57,2 @@ model to represent a particular photo, and a `PhotoAlbum` that

Ember Data, included by default when you create a new application, is a
library that integrates tightly with Ember to make it easy to retrieve
models from your server as JSON, save updates back to the server, and
create new models in the browser.
Thanks to its use of the _adapter pattern_, Ember Data can be configured

@@ -38,0 +59,0 @@ to work with many different kinds of backends. There is [an entire

@@ -200,3 +200,4 @@ For Super Rentals, we want to be able to display a map showing where each rental is.

let mapElement = this.maps.getMapElement(this.location);
this.$('.map-container').append(mapElement);
let mapContainerElement = this.element.querySelector('.map-container');
mapContainerElement.appendChild(mapElement);
}

@@ -203,0 +204,0 @@ });

@@ -17,3 +17,2 @@ # Maintainers

- Percy dashboard
- Heroku pipeline access

@@ -33,4 +32,3 @@ If you are lacking any permissions, post in the learning team channel on Slack.

9. In about 5 minutes, you will see a PR from dependabot on guides-app. Here is an [example](https://github.com/ember-learn/guides-app/pull/186). After the tests pass, merge it. If content has changed significantly, Percy visual CI may indicate changes, so use the dashboard to review. Follow the link in the CI notifications.
10. Next, open the [heroku pipeline](https://dashboard.heroku.com/pipelines/34336875-328f-42c8-ab5c-44a8182f6a5c). Do not click promote to production! In the production column, click on the arrows icon, choose deploy a branch, and master.
11. Check to make sure the deployment was successful before you walk away. It will take some time to deploy.
12. Party!
10. Check to make sure the deployment was successful before you walk away. It will take some time to deploy.
11. Party!
{
"name": "@ember-learn/guides-source",
"version": "3.5.1",
"version": "3.5.2",
"description": "Markdown files for Ember-Guides",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/ember-learn/guides-source#readme",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc