BAARACUDA event model entry (1) - BARRACUDA Introduction

xiaoxiao2021-03-06  59

Barracuda's event model is a real server-side event-driven programming that enables perfect MVC design patterns. Barracuda's event model is responsible for converting HTTP (of course, it is also easy to support other request-response modes) requests to a primary event object, and then transfer event to event listeners through the event scheduling queue, the listener guarantees to generate an HTTP response , Able to implement model2 flow control. The event handling process uses the MVC mode, divided into a control event and response (View) event, the process of response events can have the Barracuda component model, where data is supplied to the page template in the component through the data model. Server-end event driver programming can be implemented on the programming implementation, as the event is an object, so the event has inheritance, which can be easily controlled to be triggered.

转载请注明原文地址:https://www.9cbs.com/read-112703.html

New Post(0)