<?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: OOP in JavaScript.</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2004/09/30/oop-in-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2004/09/30/oop-in-javascript/</link>
	<description></description>
	<lastBuildDate>Wed, 01 Sep 2010 23:07:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: PerS</title>
		<link>http://www.scriptygoddess.com/archives/2004/09/30/oop-in-javascript/comment-page-1/#comment-12781</link>
		<dc:creator>PerS</dc:creator>
		<pubDate>Wed, 06 Oct 2004 14:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/09/30/oop-in-javascript/#comment-12781</guid>
		<description>You can do the inheritance more elegant using this technique:

&lt;h3&gt;
Object.prototype.extend = function (oSuper) { 
       for (sProperty in oSuper) { 
               this[sProperty] = oSuper[sProperty]; 
       } 
}

function ClassA () { 
} 

function ClassB() { 
       this.extend(new ClassA()); 
}
&lt;/h3&gt;

You&#039;ll find a sample and more about this in &lt;a href=&quot;http://www.codeproject.com/jscript/banner_js.asp&quot;&gt;my article&lt;/a&gt; at CodeProject</description>
		<content:encoded><![CDATA[<p>You can do the inheritance more elegant using this technique:</p>
<h3>
Object.prototype.extend = function (oSuper) {<br />
       for (sProperty in oSuper) {<br />
               this[sProperty] = oSuper[sProperty];<br />
       }<br />
}</p>
<p>function ClassA () {<br />
} </p>
<p>function ClassB() {<br />
       this.extend(new ClassA());<br />
}<br />
</h3>
<p>You&#039;ll find a sample and more about this in <a href="http://www.codeproject.com/jscript/banner_js.asp">my article</a> at CodeProject</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ResourceBlog &#187; OOP in Javascript</title>
		<link>http://www.scriptygoddess.com/archives/2004/09/30/oop-in-javascript/comment-page-1/#comment-12821</link>
		<dc:creator>ResourceBlog &#187; OOP in Javascript</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/09/30/oop-in-javascript/#comment-12821</guid>
		<description>&lt;pingback /&gt;[...] mon practices in the OOP (object oriented programming) with the JavaScript.&#182; 	Read it &lt;a href=&quot;http://www.scriptygoddess.com/archives/2004/09/30/oop-in-javascript/&quot;&gt;here&lt;/a&gt;.  &#182; 	  	 	 	          0 minutes ago [...]</description>
		<content:encoded><![CDATA[<pingback />[...] mon practices in the OOP (object oriented programming) with the JavaScript.&#182; 	Read it <a href="http://www.scriptygoddess.com/archives/2004/09/30/oop-in-javascript/">here</a>.  &#182; 	 </p>
<p> 	          0 minutes ago [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.270 seconds -->
<!-- Cached page served by WP-Cache -->
