Best Practices in class design RRS feed

  • Question

  • Hi,
    I am planning to develop a hospital management system. I would like to know the best practices tat needs to be followed while designing the classes for the application. any pointers on this regard would be greatly appreciated....
    Tuesday, July 31, 2007 8:19 AM


All replies


    This is too broad of a question.  There are entire books written on the subject of proper class design.  Class design is dependent upon the type of application being developed, the expected usage and a variety of other parameters.  Please clarify exactly what you are interested in knowing and the scenario you are specifically interested in.


    Michael Taylor - 7/31/07


    Tuesday, July 31, 2007 12:32 PM
  • You can try this link which covers architecture related design for .net 2.0 & 3.0


    And this link as well, there is video tutorial, titled MSDN Webcast: Architecting .NET Solutions with C# (Part 02 of 15): Classes, Components and Namespaces (Level 200), dedicated to class design covering best practices


    Tuesday, July 31, 2007 11:55 PM
  • Hi Prady,


    Welcome to this forum!


    According to your description, I understand that you want to design classes better for a hospital management system. Since your question is broad, not very specific, we are just giving you some general information.


    Based on my analysis, a complete Hospital Management System should include the following modules:

         Patient Management
         Patient Billing
         Lab Management
         Administration and House Keeping
         Accounts and HR

    I would like to suggest you to design classes/objects according to relevant modules.


    You can download and refer to these source files, I think the database design inside is helpful to you.


    1. Crystal Hospital Management System


    2. Patient Management System



    Hope that can help you!



    Best Regards,

    Martin Xie


    Wednesday, August 1, 2007 2:47 PM
  • thanks all of u for the replies...
    I do understand my question was very broad.. I was actually looking at how to approach a class design. I clearly know its very difficult to explain in a forum post. I am not very experienced with OOPS design concept. So i am looking at some articles or links to start off with...
    Tuesday, August 7, 2007 9:03 AM