[WEBINAR] The New Normal: Dealing with the Reality of an Unsecure World

Prototype-Based Programming

Definition - What does Prototype-Based Programming mean?

Prototype-based programming is a style of programming in which already-created objects are cloned and reused to construct a program or applications.

Its programming context and core framework is similar to an object-oriented programming structure, but it uses a classless inheritance programming style in creating duplicate object instances.

Prototype-based programming is also known as prototypal programming, prototype-oriented programming, classless programming or instance-based programming.

Techopedia explains Prototype-Based Programming

Prototype-based programming primarily is a programming model that works on the concept of object cloning and prototyping. It utilizes object inheritance, where one object can be reused by another object without the need for creating any parent class. Such as when using "prototype" function/method in JavaScript, an object can be called/used in another program without defining its class. The JavaScript creates a link between the new object and the primary object. The cloned/copied/prototyped object works the same way as the primary object.

Java Script, Action Script, Newton Script and MOO are some prototype-based programming languages.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
"Techopedia" on Twitter

Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.