In software engineering, creational design patterns are design patterns that deal with object creation mechanisms, trying to create objects in a manner suitable to the situation. Software engineering is the application of a systematic disciplined quantifiable approach to the development operation and maintenance of Software. In Software engineering, a design pattern is a general reusable solution to a commonly occurring problem in Software design. In Computer science, the object lifetime (or life cycle) of an object in Object-oriented programming is the time between an object's creation The basic form of object creation could result in design problems or added complexity to the design. Creational design patterns solve this problem by somehow controlling this object creation.
Some examples of creational design patterns include:
- Abstract factory pattern: centralize decision of what factory to instantiate
- Factory method pattern: centralize creation of an object of a specific type choosing one of several implementations
- Builder pattern: separate the construction of a complex object from its representation so that the same construction process can create different representations
- Lazy initialization pattern: tactic of delaying the creation of an object, the calculation of a value, or some other expensive process until the first time it is needed
- Object pool: avoid expensive acquisition and release of resources by recycling objects that are no longer in use
- Prototype pattern: used when the inherent cost of creating a new object in the standard way (e. A software design pattern, the Abstract Factory Pattern provides a way to encapsulate a group of individual factories that have a common theme The factory method pattern is an Object-oriented design pattern. The factory method pattern is an Object-oriented design pattern. The Builder Pattern is a software design pattern. The intention is to separate the construction of a complex object from its representation so that the same construction process In Computer programming, lazy initialization is the tactic of delaying the creation of an object the calculation of a value or some other expensive process until the first In Computer programming, an object pool is a software design pattern. A prototype pattern is a creational design pattern used in software development when the type of objects to create is determined by a prototypical instance which is cloned to g. , using the 'new' keyword) is prohibitively expensive for a given application
- Singleton pattern: restrict instantiation of a class to one object
See also
In Software engineering, the singleton pattern is a design pattern that is used to restrict instantiation of a class to one object. In Software engineering, behavioral design patterns are design patterns that identify common communication patterns between objects and realize these patterns In Software Engineering, Structural Design Patterns are Design Patterns that ease the design by identifying a simple way to realize relationships between entities In Software engineering, concurrency patterns are one of the types of design patterns.
© 2009 citizendia.org; parts available under the terms of GNU Free Documentation License, from http://en.wikipedia.org
network: | |