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 820211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:26:20+00:00 2026-05-15T02:26:20+00:00

we are creating hospital information system software. The project will be different hospital to

  • 0

we are creating hospital information system software. The project will be different hospital to hospital and contain different use cases. But lots of parts will be the same. So we will use branching mechanism of the source control. If we find a bug in one hospital, how can we know the other branches have the same bug or not.

IMAGE http://img85.imageshack.us/img85/5074/version.png

The numbers in the picture which we attached show the each hospital software.

Do you have a solution about this problem ?

Which source control(SVN,Git,Hg) we will be suitable about this problem ?

Thank you.!

  • 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-05-15T02:26:20+00:00Added an answer on May 15, 2026 at 2:26 am

    Ok, this is not really a VCS question, this is first and foremost and architectural problem – how do you structure and build your application(s) in such a way that you can deliver the specific use cases to each hospital as required whilst being able, as you suggest, to fix bugs in commom code.

    I think one can state with some certainty that if you follow the model suggested in your image you aren’t going to be able to do so consistently and effectively. What you will end up with is a number of different, discrete, applications that have to be maintained separately even though they have at some point come from a common set of code.

    Its hard to make more than good generalisations but the way I would think about this would be something along the following lines:

    Firstly you need a core application (or set of applications or set of application libraries) these will form the basis of any delivered system and therefore a single maintained set of code (although this core may itself include external libraries).

    You then have a number of options for your customised applications (the per hospital instance) you can define the available functionality a number of means:

    • At one extreme, by configuration – having one application containing all the code and effectively switching things on and off on a per instance basis.
    • At the other extreme by having an application per hospital that substantially comprises the core code with customisation.

    However the likelyhood is that whilst the sum of the use cases for each hospital is different individual use cases will be common across a number of instances so you need to aim for a modular system i.e. something that starts with the common core and that can be extended and configured by composition as much as by any other means.

    This means that you are probably want to make extensive use of Inversion of Control and Dependency Injection to give you flexibility within a common framework. You want to look at extensibility frameworks (I do .NET so I’d be looking at the Managed Extensibility Framework – MEF) that allow you to go some way towards “assembling” an application at runtime rather than at compile time.

    You also need to pay attention to how you’re going to deploy – especially how you’re going to update – your applications and at this point you’re right you’re going to need to have both your version control and you build environment right.

    Once you know how you’re going build your application then you can look at your version control system – @VonC is spot on when he says that the key feature is to be able to include code from shared projects into multiple deliverable projects.

    If it were me, now, I’d probably have a core (which will probably itself be multiple projects/solutions) and then one project/solution per hospital but I would be aiming to have as little code as possible in the per hospital projects – ideally just enough framework to define the instance specific configuration and UI customisation

    As to which to use… if you’re a Microsoft shop then take a good long hard look at TFS, the productivity gains from having a well integrated environment can be considerable.

    Otherwise (and in any case), DVCS (Mercurial, Git, Bazaar, etc) seem to me to be gaining an edge on the more traditional systems as they mature. I think SVN is an excellent tool (I use it and it works), and I think that you need a central repository for this kind of development – not least because you need somewhere that triggers your Continuous Integration Server – however you can achieve the same thing with DVCS and the ability to do frequent local, incremental, commits without “breaking the build” and the flexibility that DVCS gives you means that if you have a choice now then that is almost certainly the way to go (but you do need to ensure that you establish good practices in ensuring that code is pushed to your core repositories early)

    I think there is still a lot to address purely from the VCS question – but you can’t get to that in useful detail ’til you know how you’re going to structure your delivered solution.

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

Sidebar

Related Questions

Creating a server-side socket will fail if I'm trying to use the same port
Creating an Iphone application, I used to perform INSERT QUERY on different databases. But
Creating a table without tbody using javascript createElement/appendChild will not add tbody in Firebug
Creating extensions got much easier with Vs2010, but this seems not to be the
Creating the closure is easy but using it is confusing for me. Here is
Creating a login system for something and am getting: Warning: mysql_result(): supplied argument is
Creating a login page in xcode 4.2 I have the users fill out information
Creating a simple TCP server based on examples but still do not get how
Creating a patch utility that will update my current website with my patch. when
I am creating a little game as a private project. Users can die and

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.