I need to find design patterns or atleast 5 of them in code of Odoo (https://github.com/odoo/odoo). I am not sure how to find them or how to search the code for them, anybody have any tips or can show me an example of a pattern inside of a code?
Patterns that I look for are:
Wrapping: Adapter, Façade, Decorator, Proxy
Behaviour : Strategy, Command, State
Creation : Factory Method, Abstract Factory, Builder, Prototype, Singleton, Flyweight
Architecture : Layers, Pipes & Filters, Broker, Master Slave, Client Server
Collections : Iterator, Visitor, Composite, Null Object
Communication : Observer, Bridge, Broker, Mediator, Blackboard, Microkernel, Client Dispatcher Server/Lookup, Messaging & Service Orientation: Message, Message Endpoint, Message Translator, Message Router, MVC
Is there an app that looks at the code and can find the patterns or something similar or some kind of scheme to help me?
Thanks!
Aucun commentaire:
Enregistrer un commentaire