<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://aspxwizard.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Object Orientation In JavaScript II [Inheritance]</title><link>http://aspxwizard.net/blogs/wand/archive/2007/12/05/object-orientation-in-javascript-ii-inheritance.aspx</link><description>well there are two ways inheritance can be implemented in JavaScript this code explains how the first way 1: function superClass (){ 2: this .superClassMember = function (){ 3: alert ( &amp;#39;this is executed from the Super Class&amp;#39; ); 4: } 5: } 6: 7</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>re: Object Orientation In JavaScript II [Inheritance]</title><link>http://aspxwizard.net/blogs/wand/archive/2007/12/05/object-orientation-in-javascript-ii-inheritance.aspx#85</link><pubDate>Tue, 01 Jan 2008 09:22:18 GMT</pubDate><guid isPermaLink="false">318922e2-3002-4869-8654-4cebdb510d6f:85</guid><dc:creator>amir.magdy</dc:creator><description>&lt;p&gt;yep i like prototype and it's my favorite too :D, actually it's mandatory for a lot of other javascript more advanced libraries, this post was an introduction to inheritance in javascript :D&lt;/p&gt;
&lt;p&gt;later i promise to have a series of posts handling more advanced topics&lt;/p&gt;
&lt;img src="http://aspxwizard.net/aggbug.aspx?PostID=85" width="1" height="1"&gt;</description></item><item><title>re: Object Orientation In JavaScript II [Inheritance]</title><link>http://aspxwizard.net/blogs/wand/archive/2007/12/05/object-orientation-in-javascript-ii-inheritance.aspx#82</link><pubDate>Tue, 01 Jan 2008 04:28:00 GMT</pubDate><guid isPermaLink="false">318922e2-3002-4869-8654-4cebdb510d6f:82</guid><dc:creator>Hernan Garcia</dc:creator><description>&lt;p&gt;Some libraries like Prototype (my favorite) add the Object.extend construct to help with inheritance.&lt;/p&gt;
&lt;p&gt;Your example should be something like this:&lt;/p&gt;
&lt;p&gt;var SubClass = Object.extend({}, new Superclass());&lt;/p&gt;
&lt;p&gt;There are lot's of people that don't like it and I certainly don't use it all the time but it's nice.&lt;/p&gt;
&lt;p&gt;Another way is using the Base class from Dean Edwards: &lt;a rel="nofollow" target="_new" href="http://dean.edwards.name/weblog/2006/03/base/"&gt;dean.edwards.name/.../base&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://aspxwizard.net/aggbug.aspx?PostID=82" width="1" height="1"&gt;</description></item><item><title>W&amp;ouml;chentliche Rundablage: ASP.NET MVC, ASP.NET 3.5, ADO.NET Data Services, C# 3.0, ASP.NET AJAX, LINQ, WPF, Surface, Javascript | Code-Inside Blog</title><link>http://aspxwizard.net/blogs/wand/archive/2007/12/05/object-orientation-in-javascript-ii-inheritance.aspx#77</link><pubDate>Mon, 31 Dec 2007 10:42:45 GMT</pubDate><guid isPermaLink="false">318922e2-3002-4869-8654-4cebdb510d6f:77</guid><dc:creator>Wöchentliche Rundablage: ASP.NET MVC, ASP.NET 3.5, ADO.NET Data Services, C# 3.0, ASP.NET AJAX, LINQ, WPF, Surface, Javascript | Code-Inside Blog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;W&amp;amp;ouml;chentliche Rundablage: ASP.NET MVC, ASP.NET 3.5, ADO.NET Data Services, C# 3.0, ASP.NET AJAX, LINQ, WPF, Surface, Javascript | Code-Inside Blog&lt;/p&gt;
&lt;img src="http://aspxwizard.net/aggbug.aspx?PostID=77" width="1" height="1"&gt;</description></item><item><title>Object Orientation In JavaScript II [Inheritance]</title><link>http://aspxwizard.net/blogs/wand/archive/2007/12/05/object-orientation-in-javascript-ii-inheritance.aspx#72</link><pubDate>Sun, 30 Dec 2007 09:52:29 GMT</pubDate><guid isPermaLink="false">318922e2-3002-4869-8654-4cebdb510d6f:72</guid><dc:creator>DotNetKicks.com</dc:creator><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
&lt;img src="http://aspxwizard.net/aggbug.aspx?PostID=72" width="1" height="1"&gt;</description></item><item><title>Object Orientation In JavaScript III [Overloading and Overriding]</title><link>http://aspxwizard.net/blogs/wand/archive/2007/12/05/object-orientation-in-javascript-ii-inheritance.aspx#56</link><pubDate>Thu, 06 Dec 2007 23:17:49 GMT</pubDate><guid isPermaLink="false">318922e2-3002-4869-8654-4cebdb510d6f:56</guid><dc:creator>.net Wand</dc:creator><description>&lt;p&gt;let&amp;amp;#39;s start with Overriding it&amp;amp;#39;s easier to explain of course you must have the idea of inheritence&lt;/p&gt;
&lt;img src="http://aspxwizard.net/aggbug.aspx?PostID=56" width="1" height="1"&gt;</description></item></channel></rss>