Skip to content


Add the translation of model introduction #18

merged 3 commits into from

2 participants

emberjs-cn member

No description provided.

@towerhe towerhe merged commit 352117f into emberjs-cn:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 26, 2013
  1. @zernel
Commits on Mar 29, 2013
  1. @zernel

    Update the translation

    zernel committed
  2. @zernel

    Fixed tranlation

    zernel committed
This page is out of date. Refresh to see the latest.
Showing with 22 additions and 8 deletions.
  1. +5 −6 data/guides.yml
  2. +17 −2 source/guides/models/
11 data/guides.yml
@@ -80,14 +80,14 @@ Controllers:
- title: "Managing Dependencies Between Controllers"
url: "controllers/dependencies-between-controllers"
- - title: "Introduction"
+ - title: "介绍"
url: "models"
- - title: "Defining a Store"
+ - title: "创建一个存储器"
url: "models/defining-a-store"
- - title: "Defining Models"
+ - title: "定义模型"
url: "models/defining-models"
- - title: "Finding Models"
+ - title: "查找模型"
url: "models/finding-models"
- title: "Modifying Attributes"
url: "models/modifying-attributes"
@@ -154,4 +154,3 @@ Understanding Ember.js:
#Understanding Ember Data:
#- title: "Record Lifecycle"
#url: "understanding-ember-data/record-lifecycle"
19 source/guides/models/
@@ -1,27 +1,42 @@
-## Models
+## 模型(Models)
In most Ember.js apps, models are handled by [Ember Data][1]. Ember Data
is a library, built with and for Ember.js, designed to make it easy to
retrieve records from a server, make changes in the browser, then save
those changes back to the server.
+在大部分的 Ember.js 应用里,模型是通过 [Ember Data]( 来处理的。Ember
+Data 是一个由 Ember.js 写的库,它使我们可以很方便从服务器端取回记录并动态改变浏览器中的内容,然后保存这些更改回服务器。
It provides many of the facilities you'd find in server-side ORMs like
ActiveRecord, but is designed specifically for the unique environment of
JavaScript in the browser.
+你可以在服务器端找到像 ActiveRecord 这样的 ORM,不过它提供了专门为浏览器端的 Javascript 环境设计的工具方法。
Without any configuration, Ember Data can load and save records and
relationships served via a RESTful JSON API, provided it follows certain
+Ember Data 并不需要任务配置就可以通过 RESTful JSON API 的惯例来加载和保存记录和关系。
We also understand that there exist many web service APIs in the world,
many of them crazy, inconsistent, and out of your control. Ember Data is
designed to be configurable to work with whatever persistence layer you
want, from the ordinary to the exotic.
+Ember Data 被设计成可配置的,无论你想要怎么样的持久层它都可以满足。
Currently, Ember Data ships as a separate library from Ember.js, while
we expand the adapter API to support more features. The API described in
this section tends to be stable, however. Until Ember Data is included
as part of the standard distribution, you can get your copy from the
[GitHub page][1].
+目前, Ember Data还是作为Ember.js的一个独立的库,与此同时,我们仍然在扩展适配器的API以便支持更多功能。
+在Ember Data被作为标准配置的一部分之前,你可以从其项目的[Github主页](获取它。
Something went wrong with that request. Please try again.