<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Extending Prototype for Javascript Inheritance : Class.extend()</title>
	<link>http://wanderingken.com/2006/04/01/extending-prototype-classextend/</link>
	<description>google maps, javascript, religion, politics, and whatever else comes to mind</description>
	<pubDate>Thu, 21 Aug 2008 01:14:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: Kevin Dahlhausen</title>
		<link>http://wanderingken.com/2006/04/01/extending-prototype-classextend/#comment-5627</link>
		<pubDate>Thu, 31 May 2007 19:36:50 +0000</pubDate>
		<guid>http://wanderingken.com/2006/04/01/extending-prototype-classextend/#comment-5627</guid>
					<description>Thanks for posting this.  It did the trick - I was having trouble finding documentation on how to subclass prototype classes.</description>
		<content:encoded><![CDATA[<p>Thanks for posting this.  It did the trick - I was having trouble finding documentation on how to subclass prototype classes.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ken</title>
		<link>http://wanderingken.com/2006/04/01/extending-prototype-classextend/#comment-2960</link>
		<pubDate>Wed, 11 Apr 2007 05:02:48 +0000</pubDate>
		<guid>http://wanderingken.com/2006/04/01/extending-prototype-classextend/#comment-2960</guid>
					<description>Andrew:

Great comment, and great work on the JSINER library.  I sympathize with your point that typed classes of the sort used in Sam Stephenson's Prototype library necessitate maintaining a proper loading order.  I've had to deal with this problem a number of times.  Lazy inheritance of the sort you describe solves this problem.

That said, including an extra library like JSINER adds overhead to a website.  As a developer, you've got to make a choice...

For folks already using Prototype library, and Class.extend is a handy 2-function addition which makes coding easier, that's all.  It doesn't change any inheritance mechanisms...</description>
		<content:encoded><![CDATA[<p>Andrew:</p>
<p>Great comment, and great work on the JSINER library.  I sympathize with your point that typed classes of the sort used in Sam Stephenson&#8217;s Prototype library necessitate maintaining a proper loading order.  I&#8217;ve had to deal with this problem a number of times.  Lazy inheritance of the sort you describe solves this problem.</p>
<p>That said, including an extra library like JSINER adds overhead to a website.  As a developer, you&#8217;ve got to make a choice&#8230;</p>
<p>For folks already using Prototype library, and Class.extend is a handy 2-function addition which makes coding easier, that&#8217;s all.  It doesn&#8217;t change any inheritance mechanisms&#8230;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Andrew Saziniv</title>
		<link>http://wanderingken.com/2006/04/01/extending-prototype-classextend/#comment-2926</link>
		<pubDate>Tue, 10 Apr 2007 10:22:02 +0000</pubDate>
		<guid>http://wanderingken.com/2006/04/01/extending-prototype-classextend/#comment-2926</guid>
					<description>There is another approach to implement JavaScript inheritance - a “lazy” inheritance which has all benefits of “prototype” based approach like typed classes, but also eliminates necessity to declare external scripts in proper order and automatically resolves and loads (if necessary) dependencies to external scripts that contains related classes.
This approach is supported by JSINER library - you can find more about it on http://www.soft-amis.com/jsiner/inheritance.html</description>
		<content:encoded><![CDATA[<p>There is another approach to implement JavaScript inheritance - a “lazy” inheritance which has all benefits of “prototype” based approach like typed classes, but also eliminates necessity to declare external scripts in proper order and automatically resolves and loads (if necessary) dependencies to external scripts that contains related classes.<br />
This approach is supported by JSINER library - you can find more about it on <a href='http://www.soft-amis.com/jsiner/inheritance.html' rel='nofollow'>http://www.soft-amis.com/jsiner/inheritance.html</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: keifir</title>
		<link>http://wanderingken.com/2006/04/01/extending-prototype-classextend/#comment-242</link>
		<pubDate>Thu, 17 Aug 2006 19:26:03 +0000</pubDate>
		<guid>http://wanderingken.com/2006/04/01/extending-prototype-classextend/#comment-242</guid>
					<description>Great article! It saved me tons of time. I hope I won't need 'dynamic inheritance' - that would be a big pain for maintenance.</description>
		<content:encoded><![CDATA[<p>Great article! It saved me tons of time. I hope I won&#8217;t need &#8216;dynamic inheritance&#8217; - that would be a big pain for maintenance.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Charles Wang</title>
		<link>http://wanderingken.com/2006/04/01/extending-prototype-classextend/#comment-170</link>
		<pubDate>Fri, 07 Jul 2006 19:55:16 +0000</pubDate>
		<guid>http://wanderingken.com/2006/04/01/extending-prototype-classextend/#comment-170</guid>
					<description>This is not real dynamic Class level inheritance. Suppose BaseClass introduces a new method by calling Object.extend, the new method won't be inherited automatically in SubClass.</description>
		<content:encoded><![CDATA[<p>This is not real dynamic Class level inheritance. Suppose BaseClass introduces a new method by calling Object.extend, the new method won&#8217;t be inherited automatically in SubClass.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
