Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hammerip

    Checking my OO technique

    I don't think interfaces are suitable in this situation because I am providing common functionality in the base classes and the using the template method design pattern to allow developers to plug-in the pieces of functionality that vary. Unfortunately, the developers also have to create empty...
  2. hammerip

    Checking my OO technique

    I'm happy with the base classes and subclasses. But I'm also trying to encapsulate the relationships between the classes in the base classes, i.e. BasePage calls BaseBll which calls BaseDAL. When a developer implements a specific instance of this framework they will have to subclass all the...
  3. hammerip

    Checking my OO technique

    I'm trying to write a set of abstract classes which call each other encapsulating the common functionality of a particular task. Each of the classes will alo contain some abstract methods where non-generic code can be plugged in, e.g. BasePage -> BaseBLL -> BaseDAL The way I have come up with...
  4. hammerip

    Checking my OO technique

    When writing OO code I quite often use the constructor to pass sub class instances which means my sub classes always have a constructor like the C# example below. Is this ok or is their a better way? class baseClassA { protected baseClassB m_ClassB; public baseClassA(baseClassB classB) {...

Part and Inventory Search

Back
Top