Patron de conception - SmartProjector

From air
Jump to: navigation, search

Pipes and filters

How can we perform complex processing on a message while maintaining independence and flexibility?

That's how GStreamer (our framework) works

MVC

  • Model: communicate with database : sends logins + comments + settings, to the view and controller
  • View: one window with streams from different computers + users window (on his computer) with the possibility of adding comments and setting up the view + admin interface
  • Controller: updates view and model, processes data

RBAC : Role-Based Access Control

Students (users) don't have the same permissions as the teacher (admin)

Publish-subscribe

Senders of messages (publishers) do not program the messages to be sent directly to specific receivers (subscribers), but instead characterize published messages into classes without knowledge of which subscribers, if any, there may be. Similarly, subscribers express interest in one or more classes and only receive messages that are of interest, without knowledge of which publishers, if any, there are.