-
javascriptを初めて学ぶ人についてのおさらい。その2 ポスト @ 8:16:56 , 修正 @ 2007/12/17 8:24:29 | javascript, ioLanguage, slate, prototype このエントリーを含むはてなブックマーク 前回のエントリが700users突入しました。ありがとうございます。参考になれば幸いです。 ということで、その2になります。 前回書いた通り、C/Javaについてはある程度の知識がある人なので、クラスなどのオブジェクト指向はちゃんと理解されているようですが、プロトタ イプ指向は初めて学ぶようです。 javascript(ECMAScript)のプロトタイプは他のプロトタイプ指向言語とはひと味違う動作をするので、その点も含めておさらい プロトタイプとはなんですか?プロトタイプとは継承パターンの一つでしかないです プロトタイプは単なる継承パターンであり、単一の方向への継承しか行わない点についてはクラスベースと同じです。 var Hoge = function (){}; Hoge.prototype.methodA = (Read Full Article)
Bookmark or Share this article
Related Articles
- : Javascript
- also published in ハタさんのブログ
- Ajaxian Featured Tutorial: Extending DOM elements Prototypes
- also categorized in Prototype
- DatePicker using Prototype and Scriptaculous
- also categorized in Prototype
- Testing JavaScript Objects with Function.prototype.call and Crosscheck
- also categorized in Prototype
- Simple Layout Manager with Prototype
- also categorized in Prototype
- javascriptを初めて学ぶ人についてのおさらい。その1
- also published in ハタさんのブログ
- JavaScript Array Remove
- also categorized in Prototype
- Create your own iGoogle with Prototype
- also categorized in Prototype
- Prototype 1.6.0 RC1: Changes to the Class and Event APIs, Hash rewrite, and bug fixes
- also categorized in Prototype
- Ajaxian Featured Tutorial: Defining classes and inheritance using Prototype 1.60
- also categorized in Prototype







Recent Comments
KenyaVAZQUEZ » ExtJs + Grails
Houses and cars are quite expensive and not everyone is able to buy it. Nevertheless, ...
TateDeborah32 » ExtJs + Grails
People deserve wealthy life and loan or college loan can make it better. Because people's ...
See all recent comments