Tutorials to .com

Tutorials to .com » Software » Engineering » Soft Design Patterns

Soft Design Patterns Articles


1: The case of the introduction of model projects - Excel cell expansion
Some time ago a trip mechanism for the expansion of Excel, to put it simply, the template -> generation of documents, templates and documents are excel file, which a lot of template formula, which would like to say that the formula for the expans...

2: "Design model" of the Second Study Notes - Strategy Pattern
Source code examples in this article or download material Today, the main mode of learning the strategy, the strategy model is a method definition of a series of algorithms, from a conceptual point of view, all these algorithms are the same and com...

3: Review the design mode (7) - Template Method Pattern
1. Abstract In this paper, we Template Method Pattern to make a comprehensive understanding. 2. Job Bulletin Oh, if you do not mind, would like to do a job ad. Language direction: Java / C # / VB, in descending order of familiarity with the lang...

4: Practical design of four-Simple Factory, Factory Method and Abstract Factory
Simple Factory Simple Factory first started talking about the assumption that simulation of a video game store demo system, the video game stores sell Monopoly PS3 demo of the game and the provision of services, when a user would like to try, the n...

5: Vernacular design patterns - Practical Application - template method, factory and facade pattern
Model in the design of the learning process, and sometimes I felt particularly depressed. Because sometimes you read the book, feel that they understand. Come back, to think of the consequences, but also forgotten. To make this thing, and thewhite. ...

6: Design review (c) - Chain of Responsibility pattern (chain of responsibility)
1. EDITORIAL of Such a large number of design patterns, I think the chain of responsibility is the first time I looked the most simple, but in retrospect it's a model the most complex. Therefore, this article I am planning for a long time, has...

7: Review the design mode (d) - Factory Pattern
1. EDITORIAL This article is my brewing for nearly a month of time to write out, I would like to model in the first factory on the write mode, has been postponed until now. Factory pattern seemed to be easy, very common, but two years learning des...

8: The design of the main design principles of model profile
1. A single responsibility principle (SRP) "Single responsibility model" is understood literally, a kind of function to a "single" or specificity can not be arbitrary or not, many related to the mandatory inclusion of related fu...

9: Application Design Patterns - Command mode and MVC-based system architecture to build
Source code examples in this article or download material Design patterns have seen a number of books, many books do not like this way of example, take what the incident, or object to, for example. I think this is only the textbooks, even memorize,...

10: Fantasy RPG (role model skills and Strategy)
Source code examples in this article or download material And the issue of succession Game at the beginning of our journey, we need to define the role of players can choose. We first thought of the four roles Occupation: Barbarian (Barbarian), Bou...

11: Fantasy RPG (figures constructed with the Abstract Factory pattern)
Source code examples in this article or download material Way for the realization of Simplicity, we assume the role of the body constituted by three parts are: head (Head), tall (Stature), skin (Skin). Then the structure of human beings, we natura...

12: Fantasy RPG (with the Decorator pattern of forging items)
Source code examples in this article or download material To expand the use of inheritance We first thought there should be a base class Weapon, it is open to all the succession of a wide variety of weapons, for example, Sword, Axe, Bow. Descripti...

13: Command mode of Step by Step
Source code examples in this article or download material Introduction Command mode instituted, I would like nothing more than examples of remote control is better able to explain the problem, this article will step by step through it to achieve t...

14: Adapter mode
Introduction Adapter life there are many examples. For example, you buy a comfortable, good touch keyboard, it is the P / S interface, but your new computer is out of the P / S interface, only USB interface. At this point, in order to be able to us...

15: Design of an alternative mode of thinking of transposition of the observer
Mode observers (Observers) is defined between the one-to-many object-dependent, this one, when an object changes state, all its dependent persons will receive a notification and automatic updates, themes and the definition of a one-to-many observers...

16: Review the design patterns (a) - Flyweight pattern (Flyweight)
1. All things are objects in the world Stopped from the university campus in a software engineering student, asked him, What is object-oriented. He will tell you that things are objects in the world. The world, and far more than all things. Stars ...

17: Example of a design pattern Factory Method (factory method)
Examples of names: a simple calculator Example Description: definition of an abstract class (Calculate) and one abstract method (Result), the definition of two sub-categories (Add, Reduce) inherited from the abstract class and abstract methods to a...

18: Example 2 Design Patterns Decorator (decoration De)
Example Name: Super Members delivery Example Note: the definition of base class (BaseDelivery) and virtual methods (Deliver), the definition of the base class inherited from the three sub-categories (MilkDelivery, NewspaperDelivery and CarDelivery)...

19: Three examples of design pattern Abstract Factory (Abstract Factory)
Example Name: Family Choir Competition Example Description: definition of the father of abstract (AbstractFather), mother (Abstractmother) and children (AbstractChild) and abstract acts Sing. Abstract definition of the family (AbstractFamily), cont...

20: Four examples of design pattern Observer (observer) and the Iterator (Iterator)
The reason why these two models together is because the relationship between the C # language. These two models become very easy to achieve the same or not. Observer (Observer) class Observer { public delegate void EventHandler(string state); publi...


Page 1 of 3
[1]   [2]   [3]