Home | Gaming | Programming | Play Online | Contact | Keyword Query
Games++ Games & Game Programming


Web Games++

Cheat Codes
Trickster Wiki
Game Ratings
Gameboy Cheats
PlayStation Cheats
BlackBerry Games
Photoshop Tutorials
Illustrator Tutorials
ImageReady Tutorials



Behavioral Design Patterns | Creational Design Patterns | Structural Design Patterns
Java Programming | Java How To Source Code

Creational Design Patterns
view article The Abstract Factory Pattern
The Abstract Factory pattern is one level of abstraction higher than the factory pattern. You can use this pattern when you want to return one of several related classes of objects, each of which can return several different objects on request. In other words, the Abstract Factory is a factory object that returns one of several factories.
view article The Builder Pattern
We have already seen that the Factory Pattern returns one of several different subclasses depending on the data passed to in arguments to the creation methods. But suppose we don’t want just a computing algorithm, but a whole different user interface depending on the data we need to display.
view article The Factory Pattern
One type of pattern that we see again and again in OO programs is the Factory pattern or class. A Factory pattern is one that returns an instance of one of several possible classes depending on the data provided to it. Usually all of the classes it returns have a common parent class and common methods, but each of them performs a task differently and is optimized for different kinds of data.
view article The Prototype Pattern
The Protoype pattern is used when creating an instance of a class is very time-consuming or complex in some way. Then, rather than creating more instances, you make copies of the original instance, modifying them as appropriate.
view article The Singleton Pattern
The Singleton pattern is grouped with the other Creational patterns, although it is to some extent a “non-creational” pattern. There are any number of cases in programming where you need to make sure that there can be one and only one instance of a class. For example, your system can have only one window manager or print spooler, or a single point of access to a database engine.


PC Game Ratings
PS3 Ratings
Wii Ratings
Xbox 360 Ratings
PS2 Ratings
Xbox Ratings
Gamecube Ratings
PSP Ratings
NDS Ratings
GBA Ratings
Release Dates


Copyright © 1998-2008, Games++ All rights reserved. | Privacy Policy