the prototype

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
everydayrun
Forum Commoner
Posts: 51
Joined: Wed Jan 20, 2010 1:30 am

the prototype

Post by everydayrun »

i want to learn javascript recently,now,there is one concepts i can't understand,which is prototype, in javascript object, i see it show often,and there is also a javascript framwork named prototype. very confused. hope anyone can give me some more datails on the prototype in javascript object
User avatar
PHPHorizons
Forum Contributor
Posts: 175
Joined: Mon Sep 14, 2009 11:38 pm

Re: the prototype

Post by PHPHorizons »

JavaScript uses prototype-based inheritance. The Prototype Library is simply named after the style of inheritance JavaScript uses.

I would highly recommend reading the articles on this page here: http://javascript.crockford.com/

Douglas Crockford is a renowned JavaScript expert and has a series of articles about JavaScript inheritance geared towards beginners.

Good luck!
Post Reply