forked from getoutreach/epf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
27 lines (24 loc) · 1.55 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
TODO:
* Think about updating store immediately after flush for live sessions?
* Generally examine literal types vs container string lookups
* Think about an ordered model array
* Think about making all model arrays sets
* Cleanup old session models (e.g. after merge the promise is replaced)
* http://docs.jboss.org/hibernate/orm/3.5/javadoc/org/hibernate/Session.html
* Second level cache mode: http://docs.jboss.org/hibernate/orm/3.5/javadoc/org/hibernate/CacheMode.html
* Flush mode: http://docs.jboss.org/hibernate/orm/3.5/javadoc/org/hibernate/FlushMode.html
* Remove Ember.Deferred from LazyModel and instead simply have a promise property
* Explore Copy on Write (COW) as an optimization
* isNew should not be tied to ID
* type should always be polymorphic base class
* enforce client ids just above the serialization level to simplify checking identity
* merging needs to take into account deletion
* switch to POJOs instead of Ember.Map for performance
* explore setting meta flag to avoid multiple reifyClientId calls
* use web workers instead of delayed materialization
* fix embedded corner case where embedded child depends on other non-embedded records in the same flush (fix is to move embedded child deps to embedded root)
* Think about the no returned data case more and make sure shadow is returned
* move dirty listening to the session (so copies don't have observer overhead)
* explore more advanced proxies that extend the base class
* make add/merge/update use the run loop to aggregate and replace proxies
* batch operations within the run loop at the adapter level