Registry Design Pattern

Slides:



Advertisements
Similar presentations
Reza Gorgan Mohammadi AmirKabir University of Technology, Department of Computer Engineering & Information Technology Advanced design.
Advertisements

NJIT Designing for Visibility Chapter 19 Applying UML and Patterns Craig Larman.
Façade Design Pattern Source: Design Patterns – Elements of Reusable Object- Oriented Software; Gamma, et. al.
Design Patterns Trends and Case Study John Hurst June 2005.
Singleton Christopher Chiaverini Software Design & Documentation September 18, 2003.
Class Relationships Lecture Oo10 Dependencies. References n Booch, et al, The Unified Modeling Language User Guide, Chapt 5 p.69, Chapt 9 130, Chapt 10.
Creational Patterns CSE301 University of Sunderland Harry R Erwin, PhD.
A Reference Model for Event Patterns Christian Silberbauer
Copyright © 2009, Open Geospatial Consortium, Inc. Towards a Common Information Model of Water 70th OGC Technical Committee Darmstadt, Germany Rob Atkinson.
Interpreter CS 124 Reference: Gamma et al (“Gang-of-4”), Design Patterns Some material taken from:
SCA Bindings Simon Holdsworth Piotr Przybylski. Agenda n SCA Bindings Overview l Bindings TC Charter n Bindings l Web Services Binding l JMS Binding l.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 7 1COMP9321, 15s2, Week.
An Introduction To Design Patterns Jean-Paul S. Boodhoo Independent Consultant
CS 772: Global Knowledge Networks V. “Juggy” Jagannathan CSEE, West Virginia University Feb 18, 2002.
5. What did you do in order to find an answer to your question? 8.Why is the new information important for you? 7. What new information did you learn?
Progress presentation
The Observer Design Pattern Author :Erich Gamma, et al. Source :Elements of Reusable Object-Oriented Software Speaker : Chiao-Ping Chang Advisor : Ku-Yaw.
Oh, all the testing you’ll do. First time for everything.
EXPOSITORY TEXT. Expository text gives facts and information about a topic. This kind of text usually states a main idea, or central idea, about the topic.
PM LAV...Global Vision - Global Mission 1 7/23/2016 PMLAV IUID Implementation Bob Appleton.
Work Item “Patterns in Test Development (PTD)” Re-start Meeting 17 March, Berlin Helmut Neukirchen Institute for.
MGT 448 Week 4 DQ 2 Describe one exit strategy an organization may use when things go wrong in a foreign country. What are some of the issues that might.
UOP MGT 411 Week 4 DQ 2 Check this A+ tutorial guideline at For more classes visit
Understanding Epidemiology
COMP9321 Web Application Engineering Semester 2, 2016
Presented by FACADE PATTERN
System Engineering Area SANA BoF Kick-Off
Implementation Plan I want to plan a project
Factory Method Pattern
Process Management Process Concept Why only the global variables?
Chapter 16 UML Class Diagrams.
GRASP: Visibility and Design
Chapter 10 Design Patterns.
GoF Patterns (GoF) popo.
Introduction to Design Patterns
How do we use map symbols?
The Singleton Pattern SE-2811 Dr. Mark L. Hornick.
Essential Question: Changes in Supply SECTION 2
The U.S. Business Environment
APPLICATION OF DESIGN PATTERNS FOR HARDWARE DESIGN
Factory Method Pattern
Hire Toyota Innova in Delhi for Outstation Tour
Apply Expert, Creator, Controller, Low Coupling, High Cohesion
Intelligent Agents Chapter 2.
Research methods.
GoF Design Patterns (Ch. 26). GoF Design Patterns Adapter Factory Singleton Strategy Composite Façade Observer (Publish-Subscribe)
Software Architecture and
LEADING TRANSFORMATIVE CHANGE The MGGS Senior Years Story
Enterprise Architecture Patterns
Discussion Topic: BEST PRACTICES for Implementing NCHRP Products
Types of Maps.
Iterative Deepening Search
Theft: Information sharing
Software Engineering Furqan Rustam.
Essential Question: Changes in Supply SECTION 2
My Project Title (Track: Software)
GoF Design Patterns (Ch. 26)
Chapter 1 Section 4 What are maps?
JINI ICS 243F- Distributed Systems Middleware, Spring 2001
CS 350 – Software Design Singleton – Chapter 21
Software Engineering Lecture #3
COP 3330 Object-oriented Programming in C++
Use-Case Design in Context
In persuasive messages, you want the reader to act upon your message
Social Practice of the language: Describe and share information
Session 9 Strategy Implementation
U-Net: Convolutional Network for Segmentation
For More Details:
Understand three principles for organizing technical information:
GoF Patterns Ch. 26.
Presentation transcript:

Registry Design Pattern keeping track of objects

Registry Motivation & Provenance non-canonical (not out of Gamma et al) design pattern described by Martin Fowler in "Patterns of Enterprise Application Architecture" well-known object that other objects use to find common objects and services

Registry Implementation details registry is usually a global object may be implemented as singleton objects to be looked up register with the registry object lookup is performed by key key-ed map is often used as implementation may be used to pass information to objects without lookup evaluation global object – creates external dependencies may be preferred to passing them around as parameters

Registry Review why is it called a non-canonical pattern? what is Registry and what kind of functionality should it provide? where and how should Registry be used? Registry is a global object. How is this implemented in C++? why can’t just a global queue be used to implement the functionality of a Registry? What’s wrong with using Registry and why is it used anyway?