jQuery plugin for Event Driven Architecture?

前端 未结 7 1017
谎友^
谎友^ 2021-01-30 09:00

Are there any Event Driven Architecture jQuery plugins?

Step 1: Subscribing

\"a

相关标签:
7条回答
  • 2021-01-30 10:01

    Though not a jQuery plugin, Twitter released a JavaScript framework called Flight which allows you to create component-based architectures, which communicate via events.

    Flight is a lightweight, component-based JavaScript framework from Twitter. Unlike other JavaScript frameworks which are based around the MVC pattern, Flight maps behavior directly to DOM nodes.

    Flight is agnostic to how requests are routed or which templating library you decide to use. Flight enforces strict separation of concerns. Components in Flight do not engage each other directly.

    They broadcast their actions as events and those components subscribed to those events can take actions based on them. To make use of Flight, you will need the ES5-shim and jQuery along with an AMD loader.

    Flight - A Lightweight, Component-Based JavaScript Framework From Twitter

    0 讨论(0)
提交回复
热议问题