Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 54429 invoked from network); 22 Jan 2008 16:04:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2008 16:04:37 -0000 Received: (qmail 59666 invoked by uid 500); 22 Jan 2008 16:04:26 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 59657 invoked by uid 500); 22 Jan 2008 16:04:26 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 59648 invoked by uid 99); 22 Jan 2008 16:04:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2008 08:04:26 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [17.148.16.71] (HELO smtpoutm.mac.com) (17.148.16.71) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2008 16:04:13 +0000 Received: from mac.com (asmtp005-s [10.150.69.68]) by smtpoutm.mac.com (Xserve/smtpout008/MantshX 4.0) with ESMTP id m0MG441w020448 for ; Tue, 22 Jan 2008 08:04:04 -0800 (PST) Received: from [200.58.85.228] (host-200-58-85-228.supernet.com.bo [200.58.85.228]) (authenticated bits=0) by mac.com (Xserve/asmtp005/MantshX 4.0) with ESMTP id m0MG3vMN009936 for ; Tue, 22 Jan 2008 08:04:00 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <20080122081521.631c1292@localhost.localdomain> References: <20080122081521.631c1292@localhost.localdomain> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Florijan Stamenkovic Subject: Re: Databinding library released Date: Tue, 22 Jan 2008 12:03:53 -0400 To: user@cayenne.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Adrian, On Jan 22, 2008, at 03:15, Adrian Wiesmann wrote: > Hello Florijan > > Nice work. Thanks. >> I am hoping that some of you Cayenne users would chip in the hour or >> two needed for implementing Cayenne support. The website describes in >> detail how this can be done. > > Could be interesting to look into your Databinding together with > what was > already done with DataViews. I had a quick look and my first > impression is > it that there are at least similarities. > > But I am walking into another direction right now. I am working on a > declarative UI and DataBinding framework in which you design the UI > in an > XML formatted file (similar to HTML) and directly define the data > binding > within that XML structure. A renderer does then take that XML file and > renders a Swing, Wicket or FOP representation from the defined > structure. > A code-behind class handles events and stuff. > > Said so I will have a look into your binding framework to see if I > could > remove my own binding mechanism and use yours instead. The main > problem I > currently see is that we have to parse the binding information and > translate this to a binding information which your framework would > understand. Well, I suppose binding information can only vary so much, in the end you always connect a property of a data carrying object with a user interface element. I think the complexity of what you want to do depends on other issues. For example, would you go for a completely generated user interface, or would you combine XML binding with user interfaces laid out by hand? If it is all generated, does your XML also contain "hints" as to how the user interface should be generated? If it does not, how do you control the layout of the interface? In my opinions these are some of the tough questions when one is designing what I understand you are. But I'm pretty sure you could integrate JBND into it. Flor