realbasic-nug
[Top] [All Lists]

Re: What are Bindings WAS Re: UI inspirations and standards from MS

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: What are Bindings WAS Re: UI inspirations and standards from MS
From: Arnaud Nicolet <anic297@mac.com>
Date: Thu, 27 Nov 2008 00:20:27 +0100
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <E6B6DB60-73EE-4842-BB45-C37F724F2F05@oofile.com.au>
References: <D3F2FF61-5BC7-46F7-8716-D63DBDF087D3@oofile.com.au> <AD8EBF7D-83C8-4DFD-B4B9-F7F67DB2E60B@alphaview.com> <FCF17850-5122-4C90-9AAE-3C2031FDDEF1@mac.com> <E6B6DB60-73EE-4842-BB45-C37F724F2F05@oofile.com.au>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Le 26 nov. 08 à 23:54 (soir), Andy Dent a écrit:

On Nov 27, 2008, at 6:56 AM, Arnaud Nicolet wrote:

Please, can you tell me what "binding" stands for?
I can only translate to a synonym of link, in french.

Bindings are a feature of a language or framework where you declare a connection of some kind between data items, usually involving a GUI control at one end of the connection, and the framework takes care of updating the connected items when the other end changes. Bindings may be either one-directional or uni-directional.

Ah, like RB allowed for years like "Enable PushButton1 when ListBox1 has a selection". Simply?

They simplify the amount of source code that has to be written considerably, especially with complex GUI development and many items referring to the same data model.

Some frameworks allow property bindings, eg: having a graph item color adjusted by a slider without going through an intermediate data model. (WPF allows this but the cut-down version in Silverlight requires the data model.)

They were deprecated in RB several versions ago, with the last traces being removed in 2008r2.

see
http://www.codeproject.com/KB/WPF/WpfDataBinding1.aspx

http://msdn.microsoft.com/en-us/magazine/cc163299.aspx

http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaBindings/CocoaBindings.html

http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaBindings/Concepts/WhatAreBindings.html

http://www.declaresub.com/Articles/ControlBinding/bindingDoc.html
(based on RB v4)


hope that helps

Sure! Thanks very much!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>