Browse by Tags

Tagged Content List
  • Wiki Page: SharePoint Design Patterns

    Table of Contents Books Articles / Blog Posts Other Articles Case Studies This is a stub page for SharePoint design patterns. Having a collection of design patterns in one wiki will cut down on estimation, development and maintenance of SharePoint projects. This Wiki page will catalog books, blog and...
  • Wiki Page: Singleton or Dependency Injection?

    Singleton or Dependency Injection? Design patterns in software engineering provide a common way of resolving specific problems that share a common context. It only pertains to the approach of solving the problem but not necessarily providing the solution by itself. The pattern can be focused ...
  • Wiki Page: Software Patterns & Practices

    Table of Contents The article describes how to deal with Design patterns and practices while developing your application. This article is basically a pointer to all the design patters accociated with the series. Please bookmark this to get links updated for all other articles that is added to the...
  • Wiki Page: Decorator Pattern

    Decorator pattern is used to create responsibilities dynamically. That means each class in case of Decorator patter adds up special characteristics.In other words, Decorator pattern is the same as inheritance. public class ParentClass { public void Method1() { } ...
  • Wiki Page: Factory Method

    A Factory method is just an addition to Factory class. It creates the object of the class through interfaces but on the other hand, it also lets the subclass to decide which class to be instantiated. public interface IProduct { string GetName(); string SetPrice( double...
  • Wiki Page: Abstract Factory

    Abstract factory is the extension of basic Factory pattern. It provides Factory interfaces for creating a family of related classes. In other words, here I am declaring interfaces for Factories, which will in turn work in similar fashion as with Factories. public interface IFactory1...
  • Wiki Page: Builder Pattern

    This pattern creates object based on the Interface, but also lets the subclass decide which class to instantiate. It also has finer control over the construction process. There is a concept of Director in Builder Pattern implementation. The director actually creates the object and also runs a few...
  • Wiki Page: Prototype Pattern

    This pattern creates the kind of object using its prototype. In other words, while creating the object of Prototype object, the class actually creates a clone of it and returns it as prototype. public abstract class Prototype { // normal implementation public abstract...
  • Wiki Page: Adapter Pattern

    Adapter pattern converts one instance of a class into another interface which client expects. In other words, Adapter pattern actually makes two classes compatible. public interface IAdapter { /// <summary> /// Interface method Add which decouples the actual concrete...
  • Wiki Page: Bridge Pattern

    Bridge pattern compose objects in tree structure. It decouples abstraction from implementation. Here abstraction represents the client where from the objects will be called. # region The Implementation /// <summary> /// Helps in providing truely decoupled architecture /...
  • Wiki Page: Composite Pattern

    Composite pattern treats components as a composition of one or more elements so that components can be separated between one another. In other words, Composite patterns are those for whom individual elements can easily be separated. /// <summary> /// Treats elements as composition...
  • Wiki Page: Flyweight Pattern

    Flyweight allows you to share bulky data which are common to each object. In other words, if you think that same data is repeating for every object, you can use this pattern to point to the single object and hence can easily save space. /// <summary> /// Defines Flyweight object...
  • Wiki Page: Memento Pattern

    Memento pattern allows you to capture the internal state of the object without violating encapsulation and later on you can undo/ revert the changes when required. public class OriginalObject { public string String1 { get ; set ; } public string String2 { get...
  • Wiki Page: Mediator Pattern

    Mediator pattern ensures that the components are loosely coupled, such that they don't call each others explicitly, rather they always use a separate Mediator implementation to do those jobs. public interface IComponent { void SetState( object state); } public...
  • Wiki Page: Observer Pattern

    When there are relationships between one or more objects, an observer will notify all the dependent elements when something is modified in the parent. Microsoft already implemented this pattern as ObservableCollection. Here let me implement the most basic Observer Pattern. public ...
  • Wiki Page: Iterator Pattern

    This pattern provides a way to access elements from an aggregate sequentially. Microsoft's IEnumerable is one of the example of this pattern. Let me introduce this pattern using this interface. public class Element { public string Name { get ; set ; } } public...
  • Wiki Page: Chain of Responsibility Pattern

    Chain of Responsibility pattern is for a situation when there is a need to handle a single request by multiple handler objects. This ensures that the request need to be handled by one of the handlers in the Chain. In this pattern, the request is sent to the first handler, if the request can be processed...
  • Wiki Page: Null Object Pattern

    Handling Null objects in code is always cumbersome. The Null Object pattern handles the Null objects by replacing the null reference with empty objects such that it removes the side effect that might occur while getting null objects. For instance, say you are implementing a class that returns the list...
  • Wiki Page: Command Pattern

    A command pattern is a design pattern that enables all the information for a request to be contained within a single object. The command can then be invoked as required, ofte as a part of a batch of queued commands with rollback capabilities. There are three key terms which needed to be explained...
  • Wiki Page: Interpreter Pattern

    The interpreter pattern is a design pattern that is useful when developing domain-specific languages or notations. The pattern allows the grammar for such a notation to be represented in an object oriented fashion that can easily be extended. The interpreter pattern is a behavioral design pattern...
  • Wiki Page: Cloud Computing Patterns

    Table of Contents Introduction Cloud computing Architecture Hosting platform Cloud Infrastructure Services (IAAS) Cloud Platform Services (PAAS) Cloud Applications (SAAS) Security Services Management Services Tools Patterns for Cloud Computing Compute Patterns Storage Patterns Communication Patterns...
  • Wiki Page: Design Pattern

    Table of Contents Introduction Uses of Design Patterns History of Design Patterns Types of Design Pattern Some other types of Patterns Introduction Design patterns may be said as a set of probable solutions for a particular problem which is tested to work best in certain situations. In other...
  • Wiki Page: Enterprise Architectural Patterns

    An architectural pattern is a common standard for an architecture and solution to a problem. Unlike Design Patterns , an architectural pattern has a broader scope and can address big problems. The architectural pattern address various issues of software engineering, such as computer hardware performance...
  • Wiki Page: Observer Pattern with Delegates

    Dive into Observer Pattern with Delegates: Targeted Audience: .NET Architects .NET Application Designers .NET Application Developers Prerequisites: .Net technologies. Basic understanding of design patterns and event handling. Delegates. Problem Statement: In Object Oriented Programming...
  • Wiki Page: Creational Patterns

    Following the Software Design Patterns , Creational patterns are those which deals with creation of objects and types. The basic form of object creation could result in design problems and hence creational patterns address the patterns that helps in avoiding design problems while creating objects....
Page 1 of 2 (29 items) 12
Can't find it? Write it!