Re: Model-driven Views

2011-05-10 Thread Leigh L Klotz Jr
From: Rafael Weinsteinmailto:rafa...@google.com?Subject=Re%3A%20Model-driven%20Views&In-Reply-To=%253CBANLkTimZcXiO8U8xHg2Y6eT4igixkCiF7w%40mail.gmail.com%253E&References=%253CBANLkTimZcXiO8U8xHg2Y6eT4igixkCiF7w%40mail.gmail.com%253E>> It sounds like the group wants to proceed by looking first at

Re: Model-driven Views

2011-05-06 Thread Garrett Smith
On 5/6/11, Rafael Weinstein wrote: > Thanks everyone for your consideration. > > It sounds like the group wants to proceed by looking first at missing > primitives. Missing primitives? What do you mean? -- Garrett

Re: Model-driven Views

2011-05-06 Thread Rafael Weinstein
Thanks everyone for your consideration. It sounds like the group wants to proceed by looking first at missing primitives. Maciej is right that one of them is the ability to declare inert DOM structures, but my feeling is that it's probably best to start with the central problem: -There's no way t

Re: Model-driven Views

2011-05-04 Thread Leigh L Klotz Jr
Rafael, I am co-chair of the W3C Forms Working Group. As Charles McCathieNevile pointed out in this discussion: >It probably makes sense to ask the Forms group as well, given that it >doesn't require much squinting to get to the perspective where you're >pretty much reinventing a wheel they've

Re: Does WebApps want to do work in Model-driven Views area?

2011-05-03 Thread Olli Pettay
hould be defined either in webapps or whatwg, I think.) -Olli -Art Barstow [Charter] http://www.w3.org/2010/webapps/charter/ [XG] http://www.w3.org/2005/Incubator/about.html Original Message ---- Subject: Re: Model-driven Views Resent-Date: Tue, 3 May 2011 01:08:53 + Rese

Does WebApps want to do work in Model-driven Views area?

2011-05-03 Thread Arthur Barstow
tow [Charter] http://www.w3.org/2010/webapps/charter/ [XG] http://www.w3.org/2005/Incubator/about.html Original Message Subject: Re: Model-driven Views Resent-Date:Tue, 3 May 2011 01:08:53 + Resent-From: Date: Mon, 2 May 2011 18:05:17 -0700 From: ext Rafael Weinst

Re: Model-driven Views

2011-05-02 Thread Garrett Smith
On 5/2/11, Rafael Weinstein wrote: > Apologies. I feel like I have failed to properly contextualize this issue. > > Let me back up and see if I can't help create a different frame of > reference. This email is already too long so I've avoided examples. > Please let me know what isn't apparent and

Re: Model-driven Views

2011-05-02 Thread Rafael Weinstein
Apologies. I feel like I have failed to properly contextualize this issue. Let me back up and see if I can't help create a different frame of reference. This email is already too long so I've avoided examples. Please let me know what isn't apparent and I'll explain further. 1) Imperative templat

Re: Model-driven Views

2011-05-01 Thread Charles McCathieNevile
On Sat, 23 Apr 2011 02:35:53 +0200, Rafael Weinstein wrote: Myself and a few other chromium folks have been working on a design for a formalized separation between View and Model in the browser, with needs of web applications being the primary motivator. Our ideas are implemented as an exper

Re: Model-driven Views

2011-04-29 Thread Maciej Stachowiak
On Apr 28, 2011, at 5:46 AM, Alex Russell wrote: > On Thu, Apr 28, 2011 at 12:09 PM, Maciej Stachowiak wrote: >> >> On Apr 28, 2011, at 2:33 AM, Jonas Sicking wrote: >> >>> >>> I agree with much of this. However it's hard to judge without a bit >>> more meat on it. Do you have any ideas for w

Re: Model-driven Views

2011-04-29 Thread Olli Pettay
On 04/29/2011 04:11 AM, Garrett Smith wrote: On 4/28/11, Olli Pettay wrote: On 04/28/2011 04:46 AM, Rafael Weinstein wrote: Would be good to know what are the use cases you had in mind. I'm never sure if I'm using the term "use case" correctly =-). Our primary motivator is the needs of web

Re: Model-driven Views

2011-04-28 Thread Garrett Smith
On 4/28/11, Olli Pettay wrote: > On 04/28/2011 04:46 AM, Rafael Weinstein wrote: >>> Would be good to know what are the use cases you had in mind. >> >> I'm never sure if I'm using the term "use case" correctly =-). >> >> Our primary motivator is the needs of web applications, > > > And what are t

Re: Model-driven Views

2011-04-28 Thread Olli Pettay
On 04/28/2011 04:46 AM, Rafael Weinstein wrote: Would be good to know what are the use cases you had in mind. I'm never sure if I'm using the term "use case" correctly =-). Our primary motivator is the needs of web applications, And what are those needs? It is hard to judge the proposal if

Re: Model-driven Views

2011-04-28 Thread Alex Russell
On Thu, Apr 28, 2011 at 12:09 PM, Maciej Stachowiak wrote: > > On Apr 28, 2011, at 2:33 AM, Jonas Sicking wrote: > >> On Thu, Apr 28, 2011 at 2:02 AM, Maciej Stachowiak wrote: >>> >>> On Apr 27, 2011, at 6:46 PM, Rafael Weinstein wrote: >>> > > >> >> What do you think? >>

Re: Model-driven Views

2011-04-28 Thread Alex Russell
On Tue, Apr 26, 2011 at 7:32 AM, Tab Atkins Jr. wrote: > On Mon, Apr 25, 2011 at 9:14 PM, Boris Zbarsky wrote: >> On 4/22/11 8:35 PM, Rafael Weinstein wrote: >>> Myself and a few other chromium folks have been working on a design >>> for a formalized separation between View and Model in the brows

Re: Model-driven Views

2011-04-28 Thread Olli Pettay
On 04/28/2011 12:02 PM, Maciej Stachowiak wrote: On Apr 27, 2011, at 6:46 PM, Rafael Weinstein wrote: What do you think? - Is this something you'd like to be implemented in the browsers, Yes. and if yes, why? What would be the reasons to not just use script libraries (like your prot

Re: Model-driven Views

2011-04-28 Thread Maciej Stachowiak
On Apr 28, 2011, at 2:33 AM, Jonas Sicking wrote: > On Thu, Apr 28, 2011 at 2:02 AM, Maciej Stachowiak wrote: >> >> On Apr 27, 2011, at 6:46 PM, Rafael Weinstein wrote: >> > > What do you think? > - Is this something you'd like to be implemented in the brow

Re: Model-driven Views

2011-04-28 Thread Jonas Sicking
On Thu, Apr 28, 2011 at 2:02 AM, Maciej Stachowiak wrote: > > On Apr 27, 2011, at 6:46 PM, Rafael Weinstein wrote: > >>> >>> What do you think? >>> >>> - Is this something you'd like to be implemented in the browsers, >> >> Yes. >> >>>  and if yes, why? What would be the reasons to

Re: Model-driven Views

2011-04-28 Thread Maciej Stachowiak
On Apr 27, 2011, at 6:46 PM, Rafael Weinstein wrote: >> >> >>> >>> What do you think? >>> >> >> - Is this something you'd like to be implemented in the browsers, > > Yes. > >> and if yes, why? What would be the reasons to not just use script >> libraries (like your prototype). > > FAQ i

Re: Model-driven Views

2011-04-27 Thread Rafael Weinstein
Hi Olli, Thanks very much for taking time to read & digest our design. I'm going to use this thread to start a FAQ on our project site. Some of these questions have answers that deserve more detail than is wise to put in an email =-). On Wed, Apr 27, 2011 at 8:33 AM, Olli Pettay wrote: > HI Raf

Re: Model-driven Views

2011-04-27 Thread Tab Atkins Jr.
On Wed, Apr 27, 2011 at 11:47 AM, Olli Pettay wrote: > On 04/27/2011 09:13 PM, Erik Arvidsson wrote: >> 1. We want  to be able to contain arbitrary content that is >> used as the content of the instances that are created from it. Now >> assume that the template element contains some active content

Re: Model-driven Views

2011-04-27 Thread Olli Pettay
On 04/27/2011 09:13 PM, Erik Arvidsson wrote: On Wed, Apr 27, 2011 at 08:33, Olli Pettay wrote: Not sure why this had some relation with XBL. Unless you are planning to put the template based DOM nodes to anonymous DOM. The relation to XBL is that XBL has a template element and inside it you

Re: Model-driven Views

2011-04-27 Thread Erik Arvidsson
On Wed, Apr 27, 2011 at 08:33, Olli Pettay wrote: > Not sure why this had some relation with XBL. Unless you are > planning to put the template based DOM nodes to anonymous DOM. The relation to XBL is that XBL has a template element and inside it you can "bind" attributes and content to the host

Re: Model-driven Views

2011-04-27 Thread Olli Pettay
HI Rafael, few random comments, or mainly just random questions :) On 04/23/2011 03:35 AM, Rafael Weinstein wrote: Myself and a few other chromium folks have been working on a design for a formalized separation between View and Model in the browser, with needs of web applications being the pri

Re: Model-driven Views

2011-04-26 Thread Rafael Weinstein
Thank, Nathan. I hadn't known of Knockout, but it looks pretty great. Conceptually, its design is very similar to MDV. Notably, the two big items: -Observable JS object properties and Arrays. -DOM-based template production (although they work with JQuery templates which are string-based). The au

Re: Model-driven Views

2011-04-26 Thread Dave Raggett
The model-based UI effort is focused on UI design and making it easier to maintain, as well as adaptation to different contexts, and support for accessibility. As such authors wouldn't work with HTML5 directly, as this would be generated automatically from the models, guided by the author's prefere

Re: Model-driven Views

2011-04-26 Thread Arthur Barstow
Hi Rafael, On Apr/22/2011 8:35 PM, ext Rafael Weinstein wrote: Myself and a few other chromium folks have been working on a design for a formalized separation between View and Model in the browser, with needs of web applications being the primary motivator. Our ideas are implemented as an exper

Re: Model-driven Views

2011-04-25 Thread Tab Atkins Jr.
On Mon, Apr 25, 2011 at 9:14 PM, Boris Zbarsky wrote: > On 4/22/11 8:35 PM, Rafael Weinstein wrote: >> Myself and a few other chromium folks have been working on a design >> for a formalized separation between View and Model in the browser, >> with needs of web applications being the primary motiv

Re: Model-driven Views

2011-04-25 Thread Boris Zbarsky
On 4/22/11 8:35 PM, Rafael Weinstein wrote: Myself and a few other chromium folks have been working on a design for a formalized separation between View and Model in the browser, with needs of web applications being the primary motivator. Our ideas are implemented as an experimental Javascript l

Re: Model-driven Views

2011-04-25 Thread Nathan Kitchen
Have you heard of knockout.js? It's an MVVM pattern based on JQuery, if you're not aware of it you may be interested to see their approach. Official site: http://knockoutjs.com/ Recent MIX event: http://channel9.msdn.com/Events/MIX/MIX11/FRM08 Just FYI as it was related... On 23 April 2011 01:3

Model-driven Views

2011-04-25 Thread Rafael Weinstein
Myself and a few other chromium folks have been working on a design for a formalized separation between View and Model in the browser, with needs of web applications being the primary motivator. Our ideas are implemented as an experimental Javascript library: https://code.google.com/p/mdv/ and the