Re: [dabo-users] "Really" dynamic properties?

Author: OKB (not okblacke)

Posted: 2012-03-30 at 23:04:24

John Fabiani wrote:

> I guess I'm simple minded here! What is wrong with binding the

> control?

> object.bindEvent(dEvents.xxxxxxxx, self._function)

> or

> .Bind(wx.xxxxxxxx, function)

>

> You can even create your own events.

What's wrong with it is it's a lot of boilerplate. Decide the

event, write a function, in the function call update. In general I feel

that if using a feature of the framework is requiring me to write a

bunch of similar, repetitive functions, it's a sign that that

functionality could be abstracted into the framework. That may or may

not work in any individual case, but it's worth looking into.

--

--OKB (not okblacke)

Brendan Barnwell

"Do not follow where the path may lead. Go, instead, where there is

no path, and leave a trail."

--author unknown

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/XnsA026D6972F69AOKB@80.91.229.10

©2012 OKB (not okblacke)