Factory Method

14,000,000 Leading Edge Experts on the ideXlab platform

Scan Science and Technology

Contact Leading Edge Experts & Companies

Scan Science and Technology

Contact Leading Edge Experts & Companies

The Experts below are selected from a list of 25416 Experts worldwide ranked by ideXlab platform

Huang Jin-guo - One of the best experts on this subject based on the ideXlab platform.

  • Simulation System Design for LED light Based on 3dsmax
    Computer Simulation, 2005
    Co-Authors: Huang Jin-guo
    Abstract:

    The LED light has been used widely in the field of light, so simulating the effect of the LED light is imperative under the situation. This article studies the simulation system of LED light based on the 3dsmax, writes the plugins of 3dsmax with the API interface and the class library provided by 3dsmax, and gives the important interface function detailedly. The simulation system includes the implementation of light, the creating of the scene, the change of the light and the animation effect. And this article designes the system with the Object - Oriented thinking, including every module of the system, and gives the layout of LED light with Image Recognition ,and realizes the main function using the Factory Method which is propitious to extend the performance of the simulation system.

Yu Jiang-ying - One of the best experts on this subject based on the ideXlab platform.

  • The Application and Research of Design Pattern in 3D Graphics Engine
    Computer Simulation, 2008
    Co-Authors: Yu Jiang-ying
    Abstract:

    In this paper,we describe the Method of how to design 3D graphics engine called VEE(Virtual Environment Engine) by using design pattern.We use Factory Method to load many kinds of resources,Singleton to create a manager of the system which is the only one,Composite to mange the scene and Flyweight to share the resources.By this means,we not only make our design concision,but also improve the maintainability,reusability,extensibility and flexibility of the system. In the end,we give an example developed by VEE to show the performance of the engine.

Wang Cheng-shan - One of the best experts on this subject based on the ideXlab platform.

  • Application of Object-oriented Design Patterns in Transient Simulation
    2012
    Co-Authors: Wang Cheng-shan
    Abstract:

    The research of the transients of micro-grid needs efficient simulation tools.The paper proposes the design idea of TSDG,which is developed for micro-grid transient simulation,based on object-oriented design patterns and modern software architecture.Four important patterns in TSDG,including Factory Method pattern,adapter pattern,strategy pattern and singleton pattern,are described in detail.Based on the object-oriented design,the developments of transient simulation program widely adopt the theory of design pattern to achieve low coupling between modules as well as high cohesion within the module,and make the software more extensible and useable to the functional requirements.The application and integration Method of various design patterns in TSDG is universal,and can serve as a reference for other power system simulation software.

Tracy Hall - One of the best experts on this subject based on the ideXlab platform.

  • WCRE - Design Patterns and Change Proneness: A Replication Using Proprietary C# Software
    2009 16th Working Conference on Reverse Engineering, 2009
    Co-Authors: Matt Gatrell, Steve Counsell, Tracy Hall
    Abstract:

    This paper documents a study of change in commercial, proprietary software and attempts to determine whether a relationship exists between a class’ propensity to change and its design context; more specifically: whether a class is a participant in a design pattern. We identify specific design patterns and their propensity for change. Design pattern participants were found to have a higher propensity to change than classes that did not participate in a design pattern, supporting an earlier study by Bieman et al.; some design patterns, such as the Adaptor, Factory Method and Singleton were found have a higher change propensity than others.

Kelt Dockins - One of the best experts on this subject based on the ideXlab platform.

  • The Factory Method
    Design Patterns in PHP and Laravel, 2016
    Co-Authors: Kelt Dockins
    Abstract:

    Define an interface for creating an object, but let subclasses decide which class to instantiate. The Factory Method lets a class defer instantiation to subclasses.

  • Simple Factory Method
    Design Patterns in PHP and Laravel, 2016
    Co-Authors: Kelt Dockins
    Abstract:

    The simple Factory is not an design pattern you find in the original 90s Gang of Four design patterns book. Yet it is an extremely useful way to create objects—so useful that I made a chapter for it.

  • Design Patterns in PHP and Laravel
    2016
    Co-Authors: Kelt Dockins
    Abstract:

    1. Laravel Basics -- 2. Let’s Grow a SOLID Garden -- 3. Abstract Factory -- 4. Builder -- 5. Factory Method -- 6. Prototype -- 7. Singleton -- 8. Simple Factory Method -- 9. Adapter -- 10. Bridge -- 11. Composite -- 12. Decorator -- 13. Facade -- 14. Flyweight -- 15. Proxy -- 16. Chain of Responsibility -- 17. Command -- 18. Interpreter -- 19. Iterator -- 20. Mediator -- 21. Memento -- 22. Observer -- 23. State -- 24. Strategy -- 25. Template Method -- 26. Visitor -- 27. More Resources.