Bridge Pattern

This is a discussion on Bridge Pattern within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I have been reading about design patterns but do not understand the bridge pattern can some one explain it to ...

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    450

    Bridge Pattern

    I have been reading about design patterns but do not understand the bridge pattern can some one explain it to me?

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    http://www.dofactory.com/Patterns/PatternBridge.aspx

    I don't suppose this helps at all?

  3. #3
    Registered User
    Join Date
    Jul 2003
    Posts
    450
    I need real world examples and the only thing I could think of is supposing the implementation requires the use of opengl or directx then by we can decouple the abstraction form the implementation via composition. Really I am unclear as to real examples that are meaningful.

    It seems from there statement of the implementation that the abstraction almost acts like an adapter.
    Last edited by curlious; 12-11-2004 at 10:18 PM.

  4. #4
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    It sounds like that abstraction is the public functions of a class and
    implementator is the private functions
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  5. #5
    Registered User
    Join Date
    Jul 2003
    Posts
    450
    So you can provide loose coupling between the public interface and the private implementation?

    This seem like a good thing though I am not sure this is what it means. If so it would make it easier to change the details if the implementation by composition and abstraction of the implementor from the concrete implementations and my idea about the real world is totaly wrong.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Visitor / Decorator Pattern
    By MarkZWEERS in forum C++ Programming
    Replies: 9
    Last Post: 05-16-2009, 12:53 PM
  2. Hmm.. Ai? Finding the pattern in number squences?
    By Zeusbwr in forum C++ Programming
    Replies: 8
    Last Post: 04-02-2005, 06:13 PM
  3. string pattern search problem
    By goron350 in forum C Programming
    Replies: 6
    Last Post: 11-25-2004, 08:50 AM
  4. (pattern *) pat & pattern * pat
    By siubo in forum C Programming
    Replies: 1
    Last Post: 04-08-2003, 11:03 PM
  5. text pattern recognition
    By mtsmox in forum C++ Programming
    Replies: 5
    Last Post: 02-27-2002, 08:38 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21