TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Getting Started with Ember Data

39 点作者 davidkellis将近 11 年前

2 条评论

Toddward将近 11 年前
I think Ember and Ember Data are extremely interesting, but there are definitely some caveats to using Ember&#x2F;ED over other MV* JS frameworks or rolling your own persistence layer.<p>I think this post does a good job of mentioning them, but I would also mention that a <i>huge</i> caveat I came across in a personal project (after I developed my API, of course) was that ED and Ember.Route don&#x27;t support nested resources in APIs they consume. This means that you can&#x27;t use conventions like &#x2F;users&#x2F;1&#x2F;posts in your API, you have to use shallow resources (i.e., &#x2F;posts?user=1). This is definitely a trivial detail if you haven&#x27;t yet designed your API, but is kind of a pain in the ass if you don&#x27;t know that going in and design your API with nested resources first (as I did).
ben336将近 11 年前
Is Ember Data considered stable yet? Last I&#x27;d heard it was in a beta state but was starting to be used in some production environments.