circuits

Event framework with a Component architecture
Download

circuits Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • James Mills
  • Publisher web site:
  • http://trac.shortcircuit.net.au/

circuits Tags


circuits Description

Event framework with a Component architecture The circuits project is an event-driven framework with a focus on Component Software Architectures where System Functionality is defined in Components. Components communicate with one another by propagating events throughout the system. Each Component can react to events and expose events to other parts of the system Components are able to manage their own events and can also be linked to other Components.circuits has a clean architecture and has no external dependencies on any other library. It's simplistic design is unmatchable but yet delivers a powerful framework for building large, scalable, maintainable applications and systems. circuits was a core integral part of the library developed in 2006 and was partly inspired by the architecture.Simple Example:>>> from circuits.core import listener, Component, Event, Manager>>>>>> class Hello(Component):... @listener("hello")... def onHELLO(self):... print "Hello World!">>> manager = Manager()>>> manager += Hello()>>> manager.push(Event(), "hello")>>> manager.flush()Hello World! Requirements: · Python


circuits Related Software