This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
2019_2020:lp:dp [2020/02/01 18:13] blay |
2019_2020:lp:dp [2020/02/01 19:28] (current) blay [Choisir un patron à étudier parmi ceux-ci] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Design Pattern ====== | ====== Design Pattern ====== | ||
- | Introduction sous forme d'une VIDEO en Français | + | ===== Introduction ===== |
+ | Introduction sous forme d'une VIDEO en Français | ||
https://www.youtube.com/watch?v=DK6vSUVfyug | https://www.youtube.com/watch?v=DK6vSUVfyug | ||
- | **Patron DAO** | + | **Pour en savoir plus sur le Patron DAO** |
https://cyrille-herby.developpez.com/tutoriels/java/mapper-sa-base-donnees-avec-pattern-dao/ | https://cyrille-herby.developpez.com/tutoriels/java/mapper-sa-base-donnees-avec-pattern-dao/ | ||
+ | ===== Choisir un patron à étudier parmi ceux-ci ===== | ||
+ | |||
+ | Par groupe de 2 à 3 étudiants maximum | ||
+ | - choisir un des patrons parmi la liste ci-dessous; | ||
+ | - au sein d'un groupe de projet de plus de 3 étudiants, sélectionner 2 patrons différents, un étudiant peut contribuer à 2 rendus; | ||
+ | - au sein d'un groupe de TD, un patron ne peut pas être sélectionné plus de 3 fois. | ||
+ | - l'appliquer dans le cadre du projet, éventuellement en étendant un peu le projet par des codes non connectés au projet lui-même; | ||
+ | - Le **rendu se fera sur Moodle** (quand il sera accessible...) sous la forme : | ||
+ | - Un document contenant les diagrammes UML qui explique comment le patron a été mis en oeuvre en identifiant clairement les rôles joués par les différentes classes, | ||
+ | - Un Zip contenant les codes correspondants. | ||
+ | |||
+ | Au sein d'un groupe de TD au plus 2 groupes sur un patron. | ||
+ | |||
+ | **Patron Stratégie** | ||
+ | <html> | ||
+ | <img src="https://refactoring.guru/images/patterns/content/strategy/strategy-2x.png" alt="Strategy" style="width:200px"> | ||
+ | </html> | ||
+ | https://refactoring.guru/design-patterns/strategy | ||
+ | |||
+ | **Patron Flyweight** | ||
+ | <html> | ||
+ | <img src="https://refactoring.guru/images/patterns/content/flyweight/flyweight-2x.png" alt="Flyweight" style="width:200px"> | ||
+ | </html> | ||
+ | https://refactoring.guru/design-patterns/flyweight | ||
+ | |||
+ | **Patron Builder** | ||
+ | <html> | ||
+ | <img src="https://refactoring.guru/images/patterns/content/builder/builder-2x.png" alt="Builder" style="width:200px"> | ||
+ | </html> | ||
+ | https://refactoring.guru/design-patterns/builder | ||
+ | |||
+ | **Patron Proxy** | ||
+ | <html> | ||
+ | <img src="https://refactoring.guru/images/patterns/content/proxy/proxy-2x.png" alt="Proxy" style="width:200px"> | ||
+ | </html> | ||
+ | https://refactoring.guru/design-patterns/proxy | ||
+ | |||
+ | **Patron Facade** | ||
+ | <html> | ||
+ | <img src="https://refactoring.guru/images/patterns/content/facade/facade-2x.png" alt="Facade" style="width:200px"> | ||
+ | </html> | ||
+ | https://refactoring.guru/design-patterns/facade | ||
+ | |||
+ | **Patron Chaîne de responsabilité** | ||
+ | <html> | ||
+ | <img src="https://refactoring.guru/images/patterns/content/chain-of-responsibility/chain-of-responsibility-2x.png" alt="Patron Chaîne de responsabilité" style="width:200px"> | ||
+ | </html> | ||
+ | https://refactoring.guru/design-patterns/chain-of-responsibility |