Patron de conception - SmartProjector: Difference between revisions

From air
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
How can we perform complex processing on a message while maintaining independence and flexibility?
How can we perform complex processing on a message while maintaining independence and flexibility?


That's how GStreamer (framework) works
That's how GStreamer (our framework) works


== MVC ==
== MVC ==
Model: communicate with database : sends logins + comments + settings, to the view and controller
* Model: communicate with database : sends logins + comments + settings, to the view and controller


View: one window with streams from different computers + user window (on his computer) with the possibility of adding comments and setting up the view + admin interface
* 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
* Controller: updates view and model, processes data


== RBAC : Role-Based Access Control ==
== RBAC : Role-Based Access Control ==
Students (users) don't have the same permissions as the teacher (admin)
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.

Latest revision as of 11:22, 8 February 2016

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.