Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8617179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:47:42+00:00 2026-06-12T05:47:42+00:00

Few days back, our team was having discussion on design patterns for flexible DB

  • 0

Few days back, our team was having discussion on design patterns for flexible DB implementation – Oracle, MYSql etc.

We discussed Bridge pattern and Abstract Factory pattern.

I was in favor of Abstract Factory as its flexible, easy to implement and Client doesn’t know whats the underlying DB implementation. But my other team mates preferred Bridge over Abstract Factory. They mention that is even more flexible and easy to maintain when class hierarchy grows n all..

I am still not satisfied why we can’t use Abstract Factory and I am looking for your suggestions and good references where I cam compare both of there pattern w.r.t different DB Implementations.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:47:43+00:00Added an answer on June 12, 2026 at 5:47 am

    As has been said, AbstractFactory is about creating things. In fact, an abstract factory can create a Bridge patern object. So the two are not mutually exclusive.

    Personally, I find Bridge to be over-complicated for a lot of scenarios, and prefer to just abstract things away behind a simple façade pattern, such as when using the Repository pattern.

    But, Bridge may be more useful if you intend to define a standard operations around multiple implementation types. It’s over-engineering, in my opinion, if you just want to create an abstraction that allows you to swap to a different backend sometime in the future. If you’re going to use different back-ends at runtime then it may be appropriate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A few days back there was a discussion here about whether the expression i
I friend of mine and I had a discussion a few days back about
Currently we are using query-string extensively in our asp.net application. Few days back we
Few days back I put a question regarding mapping two classes Message and MessageStatusHistory
A few days back, while the built-in server (Tomcat v5.5) in eclipse was running,
I came across a competitor product to VisualSVN a few days back. It provides
few days ago i read tutorial about GenericRepository and Unit Of Work patterns http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application
A few days ago, I updated my homepage with a new design as shown
Few days back i suddenly came up with getting empty result, I was surprised
A few days back I felt this question to be dumb and dint post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.