Opened 14 years ago

Closed 13 years ago

Last modified 10 years ago

#19 closed defect (fixed)

Inconsistent use of event models

Reported by: david Owned by: alex
Priority: high Milestone:
Component: General Version: 0.0
Keywords: Cc:
Blocked By: Blocking:

Description

We aren't using connect() everywhere, which sends mixed signals to everyone about using a unified event model.

Change History (7)

comment:1 Changed 14 years ago by alex

perhaps worse, even in some places where we use connect() under the covers, we expose it in strange or new ways (like the template event syntax). Should we evaluate the <connect /> tag as a solution? Or is it just another incompatible event connection syntax?

Other suggestions?

Also, what other area don't we use connect()-like syntax? dojo.io.bind()? animation?

comment:2 Changed 14 years ago by alex

Milestone: 0.2release

comment:3 Changed 14 years ago by schontz@…

Version: 0.0

comment:4 Changed 14 years ago by alex

Milestone: 0.2release

comment:5 Changed 13 years ago by dylan

is this one worth resolving?

comment:6 Changed 13 years ago by bill

I say, close the bug. I'm not sure exactly what the bug description means, but I certainly don't want to give up the template syntax for defining event handlers, nor do I want to replace inheritance (dojo.declare, etc.) with AOP.

comment:7 Changed 13 years ago by dylan

Resolution: fixed
Status: newclosed

closed per feedback

Note: See TracTickets for help on using tickets.