Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10135)

Issue 9860052: Databinding Library

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by bcsaller
Modified:
10 years, 10 months ago
Reviewers:
rharding, mp+167676, gary.poster
Visibility:
Public.

Description

Databinding Library Support for 1-way bindings from model to forms. Favors minimal updates where possible. Supports: Models ModelList (limited to updating all children on change notification) Still Needs: LazyModelList of Plain JS object support will be done with the included Object.observe polyfill Collision Indication/handling https://code.launchpad.net/~bcsaller/juju-gui/databinding-library/+merge/167676 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 76

Patch Set 2 : Databinding Library #

Total comments: 3

Patch Set 3 : Databinding Library #

Total comments: 2

Patch Set 4 : Databinding Library #

Unified diffs Side-by-side diffs Delta from patch set Stats (+814 lines, -119 lines) Patch
M .jshintignore View 1 chunk +1 line, -0 lines 0 comments Download
M Makefile View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A app/assets/javascripts/Object.observe.poly.js View 1 chunk +246 lines, -0 lines 0 comments Download
M app/modules-debug.js View 1 2 3 2 chunks +10 lines, -2 lines 0 comments Download
A app/views/databinding.js View 1 2 3 1 chunk +283 lines, -0 lines 0 comments Download
M test/index.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A test/test_databinding.js View 1 1 chunk +152 lines, -0 lines 0 comments Download
M undocumented View 1 2 3 6 chunks +118 lines, -116 lines 0 comments Download

Messages

Total messages: 11
bcsaller
Please take a look.
10 years, 10 months ago (2013-06-06 00:17:29 UTC) #1
rharding
So some feedback below. Some inconsistency with comments and *, but a couple of questions ...
10 years, 10 months ago (2013-06-06 01:26:46 UTC) #2
gary.poster
ran out of time. will read more tomorrow (when not on iPad :-P). Very excited ...
10 years, 10 months ago (2013-06-06 02:17:23 UTC) #3
rharding
Doh https://codereview.appspot.com/9860052/diff/1/app/views/databinding.js File app/views/databinding.js (right): https://codereview.appspot.com/9860052/diff/1/app/views/databinding.js#newcode1 app/views/databinding.js:1: /* On 2013/06/06 01:26:46, rharding wrote: > per ...
10 years, 10 months ago (2013-06-06 12:46:05 UTC) #4
gary.poster
Will review tests later but like where this is going https://codereview.appspot.com/9860052/diff/1/app/views/databinding.js File app/views/databinding.js (right): https://codereview.appspot.com/9860052/diff/1/app/views/databinding.js#newcode22 ...
10 years, 10 months ago (2013-06-06 16:01:00 UTC) #5
bcsaller
Please take a look.
10 years, 10 months ago (2013-06-06 18:29:43 UTC) #6
rharding
LGTM thanks. The comments on bind are still a bit confusing, but I assume that ...
10 years, 10 months ago (2013-06-06 18:39:11 UTC) #7
benjamin.saller
Thanks for the reviews, think I addressed things. https://codereview.appspot.com/9860052/diff/1/app/assets/javascripts/Object.observe.poly.js File app/assets/javascripts/Object.observe.poly.js (right): https://codereview.appspot.com/9860052/diff/1/app/assets/javascripts/Object.observe.poly.js#newcode2 app/assets/javascripts/Object.observe.poly.js:2: Tested ...
10 years, 10 months ago (2013-06-06 18:48:02 UTC) #8
bcsaller
Please take a look.
10 years, 10 months ago (2013-06-06 20:11:02 UTC) #9
gary.poster
LGTM with trivials. some comments are from older version. thank you! Gary https://codereview.appspot.com/9860052/diff/11001/app/views/databinding.js File app/views/databinding.js ...
10 years, 10 months ago (2013-06-06 21:04:21 UTC) #10
bcsaller
10 years, 10 months ago (2013-06-06 21:38:35 UTC) #11
*** Submitted:

Databinding Library

Support for 1-way bindings from model to forms. Favors minimal updates
where possible. 

Supports:
	Models
	ModelList (limited to updating all children on change notification)

Still Needs:
	LazyModelList of Plain JS object support
		will be done with the included Object.observe polyfill
	Collision Indication/handling

R=rharding, gary.poster, benjamin.saller
CC=
https://codereview.appspot.com/9860052
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b