data aware widgets

Hello,

is it possible to make the wxpython widgets data aware ?

Bye
Andreas

Hi Andreas,

Please see :

http://wiki.wxpython.org/index.cgi/Data_2daware_20Controls_20with_20Validators_2c_20demonstrated_20in_20a_20dialog

http://wiki.wxpython.org/index.cgi/Data_2daware_20Controls_20with_20Validators_2c_20Note_201

Thanks,
-Kartic

···

On 9/11/05, Andreas Moroder <andreas.moroder@gmx.net> wrote:

Hello,

is it possible to make the wxpython widgets data aware ?

Bye
Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Andreas Moroder wrote:

is it possible to make the wxpython widgets data aware ?

I don't know if you are looking for something lightweight, or something more heavyweight like a total framework, but I can offer the latter. Dabo is a 3-tier app framework (db/biz/ui) that wraps wxPython for the ui, and adds properties to the data controls (textbox, radiobox, etc) to connect the controls to fields in the datasource.

More info at: http://dabodev.com

···

--
Paul McNett
http://paulmcnett.com
http://dabodev.com

I had a brief look at dabo, but couldn't find how they deal with one-to-many
and many-to-many relationships.
Can somebody enlighten me please?

Horst

···

On Mon, 12 Sep 2005 14:46, Paul McNett wrote:

I don't know if you are looking for something lightweight, or something
more heavyweight like a total framework, but I can offer the latter.
Dabo is a 3-tier app framework (db/biz/ui) that wraps wxPython for the
ui, and adds properties to the data controls (textbox, radiobox, etc) to
connect the controls to fields in the datasource.

1:M relationships are a breeze in Dabo. To set it up, simply define the business objects (bizobjs) for each entity in the relationship, and then add the child bizobj to the parent by calling: parentBizobj.addChild(childBizobj). There are several other aspects of the relationship that can be controlled by bizobj properties, such as referential integrity constraints, whether adding a new parent record automatically adds a new child record, whether new child records automatically grab the FK to the current parent record, etc.

     I must say that M:M has been on our To-Do list for a while. The only times I've had to work with a M:M relationship since Dabo has been mature enough to use I've been able to deal with the M:M in one direction at a time, making it essentially two 1:M relations. Like most things in an Open Source project, though, these features are added when there is an impetus or need driving the development. If you have a particular need and are willing to work with us, I'd be very interested in doing further work to implement simple M:M modeling in Dabo.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com

···

On Sep 12, 2005, at 1:12 AM, Horst Herb wrote:

I had a brief look at dabo, but couldn't find how they deal with one-to-many
and many-to-many relationships.
Can somebody enlighten me please?

Let me second that recommendation. I've been very impressed by the
power of Dabo, and the responsiveness of the authors.

···

On 9/12/05, Paul McNett <p@ulmcnett.com> wrote:

I don't know if you are looking for something lightweight, or something
more heavyweight like a total framework, but I can offer the latter.
Dabo is a 3-tier app framework (db/biz/ui) that wraps wxPython for the
ui, and adds properties to the data controls (textbox, radiobox, etc) to
connect the controls to fields in the datasource.

--

# p.d.