as3-signals

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

  • 所有者: robertpenner/as3-signals
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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

主要指标

概览
名称与所有者robertpenner/as3-signals
主编程语言ActionScript
编程语言ActionScript (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2009-09-10 02:12:14
推送于2025-05-19 18:05:34
最后一次提交2015-10-08 21:13:19
发布数4
最新版本名称v0.8 (发布于 )
第一版名称v0.5 (发布于 )
用户参与
星数1.1k
关注者数84
派生数201
提交数479
已启用问题?
问题数52
打开的问题数4
拉请求数5
打开的拉请求数5
关闭的拉请求数12
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?