kmalakoff/knockback — Issue #6: Renaming kb.ModelAttributeObservable?
Author: kmalakoff
Created: 2011-11-03 11:23:47+00:00
State: open

From this posting: http://groups.google.com/group/knockoutjs/browse_frm/thread/480112c00aa37cae#

There is a renaming proposal: http://groups.google.com/group/knockoutjs/browse_frm/thread/480112c00aa37cae#

"Knockback.ModelAttributeObservables and Knockback.ModelAttributeObservable

What about just Knockback.observables and Knockback.observable ? For the
localized version, why not just kb.observableLocalized? It seems keeping
the method name shorter for the more general case makes sense here."

I was thinking maybe (to be more similar to the Knockout convention):

kb.ModelAttributeObservable -> kb.attributeObservable (factory function)
and kb._AttributeObservable (underlying class)
kb.ModelAttributeObservables -> kb.attributeObservables (factory function)
and kb._AttributeObservables (underlying class)
kb.LocalizedObservable -> kb.localizedObservable (factory function)
and kb._LocalizedObservable (underlying class)

What do you all think?