as3-signals

Signals is a new approach for AS3 events, inspired by C# events and signals/slots in Qt.

  • Owner: robertpenner/as3-signals
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

h1. Signals: Think Outside the Event.

Signals are light-weight, strongly-typed AS3 messaging tools.
Wire your application with better APIs and less boilerplate than AS3 Events.

h2. Concept

  • A Signal is essentially a mini-dispatcher specific to one event, with its own array of listeners.
  • A Signal gives an event a concrete membership in a class.
  • Listeners subscribe to real objects, not to string-based channels.
  • Event string constants are no longer needed.
  • Signals are inspired by "C# events":http://en.wikipedia.org/wiki/C_Sharp_syntax#Events and "signals/slots":http://en.wikipedia.org/wiki/Signals_and_slots in Qt.

h2. Syntax

I am still looking for impressions, critiques and suggestions.
My email is robert at robertpenner.com.
I'm "@robpenner on Twitter":http://twitter.com/robpenner.

h2. Background on AS3 Events

  • "My Critique of AS3 Events - Part 1":http://flashblog.robertpenner.com/2009/08/my-critique-of-as3-events-part-1.html
  • "AS3 Events - 7 things I've learned from community":http://flashblog.robertpenner.com/2009/09/as3-events-7-things-ive-learned-from.html
  • "My Critique of AS3 Events - Part 2":http://flashblog.robertpenner.com/2009/09/my-critique-of-as3-events-part-2.html

Main metrics

Overview
Name With Ownerrobertpenner/as3-signals
Primary LanguageActionScript
Program languageActionScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2009-09-10 02:12:14
Pushed At2025-05-19 18:05:34
Last Commit At2015-10-08 21:13:19
Release Count4
Last Release Namev0.8 (Posted on )
First Release Namev0.5 (Posted on )
用户参与
Stargazers Count1.1k
Watchers Count84
Fork Count201
Commits Count479
Has Issues Enabled
Issues Count52
Issue Open Count4
Pull Requests Count5
Pull Requests Open Count5
Pull Requests Close Count12
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private