サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Wikipedia
www.cerebris.com
GET /articles?include=comments,author&fields[people]=first-name,last-name&sort=-date The above request will fetch all articles as well as their associated comments and authors. People resources (authors in this case) will only be returned with their first and last names. The article collection will be sorted by date, most recent first. The server will either return all the results together in a si
Almost every object in Ember.js is derived from a common object: Ember.Object. This object is used as the basis for views, controllers, models, and even the application itself. This simple architectural decision is responsible for much of the consistency across Ember. Because every object has been derived from the same core object, they all share some core capabilities. Every Ember object can obse
This is part of a series of posts on Ember.js. Please read Warming up to Ember.js as well as the Ember.js home page if you're new to Ember.js. As promised in Part 1 of this series, this post will show how the example app uses our ultra-simple Ember REST library to query a resource's REST interface to display a list of records. Server-side Rails Our Rails code is close to the minimum needed to serv
git clone https://github.com/dgeb/ember_rest_example cd ember_rest_example bundle install bundle exec rake db:migrate rails s Point your browser to localhost:3000 to give this CRUD-dy app a try. Dependencies This example has just a few dependencies beyond the basic Rails 3.1 stack. The straightforward ember-rails gem pre-compiles handlebars templates in the asset pipeline. It also simplifies inclu
このページを最初にブックマークしてみませんか?
『www.cerebris.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く