ember.js - Do AngularJS or Ember have a "client-side ID" concept (cid)? -
backbone has concept of client-side ids or cid
s.
does angularjs?
does ember.js?
as ember.js, yes have called client-side ids
concept, see here reference: https://github.com/emberjs/data/blob/master/packages/ember-data/lib/system/model/model.js#l37
and here https://github.com/emberjs/data/blob/master/packages/ember-data/lib/system/store.js#l27-l40
ember-data uses property called clientid
on model transient numerical identifier generated @ runtime data store when app.mymodel.createrecord({...})
. done because newly created records not have @ creation time server side generated id.
hope helps
Comments
Post a Comment