Ticket #37 (closed documentation issue: fixed)

Opened 3 years ago

Last modified 3 years ago

Create XJConf configuration for net.stubbles.events

Reported by: mikey Owned by: mikey
Priority: major Milestone: 0.4.0
Component: EventHandling Version: SVN-trunk
Keywords: Cc:

Description

Currently it is not possible to configure the event handling without writing a large bootstrap file that configures the event dispatcher with the appopriate event listeners. It should be possible to configure the event dispatcher with XML and without writing extra PHP code.

Change History

Changed 3 years ago by mikey

  • type changed from defect to enhancement

Changed 3 years ago by mikey

  • milestone changed from 0.2.0 to 0.3.0

Changed 3 years ago by mikey

  • milestone changed from 0.3.0 to 0.4.0

Changed 3 years ago by mikey

  • status changed from new to assigned

Changed 3 years ago by mikey

  • type changed from enhancement to documentation issue

Implemented with changeset 1035.

However it is not possible to stack event dispatcher instances, this must be done by hand if required. Additionally the callback and the lazy event listener can only handle classes that do not need any arguments to instantiate them.

Documentation about event handlings needs to be updated now.

Changed 3 years ago by mikey

  • status changed from assigned to closed
  • resolution set to fixed

Documentation updated. See Wiring classes via events.

Note: See TracTickets for help on using tickets.