skip to Main Content

Welcome

Say hello to the toggle bar. This is an optional section you can use to display any content you'd like. Simply select a page from the theme panel and the content of the page will display here. You can even use the drag and drop builder to create this! This is a perfect place for your company mission statement, alerts, notices or anything else.

Get In Touch

Email: support@total.com
Phone: 1-800-Total-Theme
Address: Las Vegas, Nevada

Our Location

togglebar-map

Prototype

Post Series: Creational Design Pattern

Useful

create a duplicate object or clone the current object to enhance performance

 

Prototype: This is an interface which is used for the types of object that can be cloned itself.
ConcretePrototype: This is a class which implements the Prototype interface for cloning itself.

Implement

 

Resource

http://www.dotnettricks.com/learn/designpatterns/prototype-design-pattern-dotnet

https://www.stdio.vn/articles/read/480/design-pattern-prototype-pattern

https://scotch.io/bar-talk/4-javascript-design-patterns-you-should-know

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top