Difference between revisions of "Patron de conception - SmartProjector"

From air
Jump to navigation Jump to search
(Created page with "* Pipes and filters How can we perform complex processing on a message while maintaining independence and flexibility? * MVC Model: sends logins + comments + settings to the ...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* Pipes and filters
+
== Pipes and filters ==
 
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 (our framework) works
* MVC
 
Model: 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
 
Controller: updates view and model, processes data
 
   
 
== MVC ==
* RBAC : Role-Based Access Control
 
 
* 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)
 
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 13: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.