<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Object Oriented Programming with JavaScript &#8211; Before Prototype, jQuery or ExtJS</title>
	<atom:link href="http://www.phpmadesimple.info/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpmadesimple.info/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/</link>
	<description>To support simplicity, possiibility and cost effective of PHP</description>
	<lastBuildDate>Fri, 18 Jun 2010 08:53:27 +0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dmitriy</title>
		<link>http://www.phpmadesimple.info/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/comment-page-1/#comment-54</link>
		<dc:creator>Dmitriy</dc:creator>
		<pubDate>Fri, 18 Jun 2010 08:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://artemis.com.vn/blogvui/index.php/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/#comment-54</guid>
		<description>Thanks for a very clarifying article! Should&#039;ve read this long time ago *blush*</description>
		<content:encoded><![CDATA[<p>Thanks for a very clarifying article! Should&#8217;ve read this long time ago *blush*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexwebmaster</title>
		<link>http://www.phpmadesimple.info/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/comment-page-1/#comment-26</link>
		<dc:creator>Alexwebmaster</dc:creator>
		<pubDate>Tue, 03 Mar 2009 10:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://artemis.com.vn/blogvui/index.php/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/#comment-26</guid>
		<description>Hello webmaster
I would like to share with you a link to your site
write me here preonrelt@mail.ru</description>
		<content:encoded><![CDATA[<p>Hello webmaster<br />
I would like to share with you a link to your site<br />
write me here <a href="mailto:preonrelt@mail.ru">preonrelt@mail.ru</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sukdev garai</title>
		<link>http://www.phpmadesimple.info/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/comment-page-1/#comment-23</link>
		<dc:creator>sukdev garai</dc:creator>
		<pubDate>Tue, 25 Nov 2008 12:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://artemis.com.vn/blogvui/index.php/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/#comment-23</guid>
		<description>Easy to understand.</description>
		<content:encoded><![CDATA[<p>Easy to understand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gilles Ruppert</title>
		<link>http://www.phpmadesimple.info/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/comment-page-1/#comment-24</link>
		<dc:creator>Gilles Ruppert</dc:creator>
		<pubDate>Sun, 23 Nov 2008 22:12:27 +0000</pubDate>
		<guid isPermaLink="false">http://artemis.com.vn/blogvui/index.php/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/#comment-24</guid>
		<description>You touch on some good points in your article, but one of your examples is wrong:

Your example:
&lt;code&gt;
MyObject.prototype.color=&quot;red&quot;;
var obj1=new MyObject();
MyObject.prototype.color=&quot;blue&quot;;
MyObject.prototype.soundEffect=&quot;boOOOoing!!&quot;;
var obj2=new MyObject();
&lt;/code&gt;
is wrong:
if you change the prototype of an object, all objects that inherit or are instantiated from that object will have the new value.

if you query obj1.color before line 3, you will get &#039;red&#039; as a response. If you query obj1.color after line 3 you will get &#039;blue&#039;.</description>
		<content:encoded><![CDATA[<p>You touch on some good points in your article, but one of your examples is wrong:</p>
<p>Your example:<br />
<code><br />
MyObject.prototype.color="red";<br />
var obj1=new MyObject();<br />
MyObject.prototype.color="blue";<br />
MyObject.prototype.soundEffect="boOOOoing!!";<br />
var obj2=new MyObject();<br />
</code><br />
is wrong:<br />
if you change the prototype of an object, all objects that inherit or are instantiated from that object will have the new value.</p>
<p>if you query obj1.color before line 3, you will get &#8216;red&#8217; as a response. If you query obj1.color after line 3 you will get &#8216;blue&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.phpmadesimple.info/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/comment-page-1/#comment-25</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Wed, 13 Aug 2008 21:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://artemis.com.vn/blogvui/index.php/2008/04/27/object-oriented-programming-with-javascript-before-prototype-jquery-or-extjs/#comment-25</guid>
		<description>Enjoyed the read, but I can&#039;t even imagine living without ExtJS or JQuery.</description>
		<content:encoded><![CDATA[<p>Enjoyed the read, but I can&#8217;t even imagine living without ExtJS or JQuery.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
