This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes difference between... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "difference between..." Watch "difference between..." New topic
Author

difference between...

Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1291

Hi Kris,

Originally posted by Kris Hadlock:
Do you mean prototype the library or prototypes as in JavaScript objects?


what is the difference between prototype the library or prototypes as in JavaScript objects ?

Thanks in Advance.
[ December 22, 2006: Message edited by: Saif uddin ]

Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
Jaikiran Pai
Saloon Keeper

Joined: Jul 20, 2005
Posts: 6717

Prototypes in Javascript. The other Prototype that is being reffered is an AJAX library


[My Blog] [JavaRanch Journal]
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1291

Thanks Jaikiran Pai to giving me the links,

but i am looking for the difference between in these prototypes.
or you want me to know the difference myself?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
The one is a library and the one is part of the JavaScript core.

prototype.js is named after prototype BECAUSE it uses a lot of prototype in its code!

Eric
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50680

The prototype property of the function object is the major means by which object-oriented JavaScript is possible.

With it, creating Javascript "classes" (or as close as one can come to the concept of an OO class) becomes possible.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1291

Thanks Jaikiran Pai and Eric Pascarello and Bear Bibeault,

To answering me thanks for your helps guys.
[ December 22, 2006: Message edited by: Saif uddin ]
 
 
subject: difference between...
 
Threads others viewed
Get confused about js's prototype based inheritence.
What the purpose of libraries ?
DWR vs prototype
JavaScript Prototype
Ajax Beginner
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture