Opened 16 years ago

Closed 15 years ago

Last modified 14 years ago

#18 closed defect (duplicate)

too much boilerplate required for widgets

Reported by: alex Owned by: alex
Priority: high Milestone:
Component: Widgets Version: 0.0
Keywords: Cc: [email protected]
Blocked By: Blocking:

Description

Due to the flexibility allowed by the hierarchy of widget classes, too much (error prone) boilerplate code is required in every widget in order to create a minimally-functional widget.

Attachments (1)

DomWidget.js.extend (23.1 KB) - added by alex 15 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 15 years ago by alex

Status: newassigned

I have patched Widget.js to use the new dojo.lang.extend() syntax, but my patches to DomWidget?.js seem much more invasive and are likely to break things. Dylan, can you review to let me know if they're going to fsck any of your widgets?

Changed 15 years ago by alex

Attachment: DomWidget.js.extend added

comment:2 Changed 15 years ago by alex

new APIs have been proposed that will assist. See: http://dojotoolkit.org/~psowden/newapis.html#widg

comment:3 Changed 15 years ago by alex

Milestone: 0.2release0.1alpha

revision 995 applies the DomWidget?.js.extend patch and updates all the widgets. This is the first pre-requisite for landing Paul's new API writeups.

comment:4 Changed 15 years ago by [email protected]

Milestone: 0.1alpha0.2release
Version: 0.0

I think that the widgets are good enough for 0.1. I think we can step back and separate things out into better pieces at a later date, but let's not stop 0.1 for it.

comment:5 Changed 15 years ago by alex

Resolution: duplicate
Status: assignedclosed

see bug #50

comment:6 Changed 14 years ago by (none)

Milestone: 0.2release

Milestone 0.2release deleted

Note: See TracTickets for help on using tickets.