<?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 JavaScript &#8211; Part I (Objects)</title>
	<atom:link href="http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/</link>
	<description></description>
	<lastBuildDate>Mon, 26 Jul 2010 16:11:34 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Eliza Hasas</title>
		<link>http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/comment-page-1/#comment-419</link>
		<dc:creator>Eliza Hasas</dc:creator>
		<pubDate>Fri, 05 Mar 2010 01:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.unemployeddeveloper.com/?p=101#comment-419</guid>
		<description>Hi, I found this blog article while searching for help with JavaScript. I have recently changed browsers from Chrome to Microsoft Internet Explorer 5. Just recently I seem to have a issue with loading JavaScript. Every time I browse page that requires Javascript, my browser doesn&#039;t load and I get a &quot;runtime error javascript.JSException: Unknown name&quot;. I cannot seem to find out how to fix it. Any help is greatly appreciated! Thanks</description>
		<content:encoded><![CDATA[<p>Hi, I found this blog article while searching for help with JavaScript. I have recently changed browsers from Chrome to Microsoft Internet Explorer 5. Just recently I seem to have a issue with loading JavaScript. Every time I browse page that requires Javascript, my browser doesn&#8217;t load and I get a &#8220;runtime error javascript.JSException: Unknown name&#8221;. I cannot seem to find out how to fix it. Any help is greatly appreciated! Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Things you might add to attract more customers to your trade show booth &#124; Real Estate US.</title>
		<link>http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/comment-page-1/#comment-277</link>
		<dc:creator>Things you might add to attract more customers to your trade show booth &#124; Real Estate US.</dc:creator>
		<pubDate>Sat, 05 Dec 2009 02:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.unemployeddeveloper.com/?p=101#comment-277</guid>
		<description>[...] Object-Oriented JavaScript – Part I (Objects). &#124; Unemployed Developer [...]</description>
		<content:encoded><![CDATA[<p>[...] Object-Oriented JavaScript – Part I (Objects). | Unemployed Developer [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Things that can attract people to your trade show booth &#124; Real Estate US.</title>
		<link>http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/comment-page-1/#comment-276</link>
		<dc:creator>Things that can attract people to your trade show booth &#124; Real Estate US.</dc:creator>
		<pubDate>Sat, 05 Dec 2009 02:51:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.unemployeddeveloper.com/?p=101#comment-276</guid>
		<description>[...] Object-Oriented JavaScript – Part I (Objects). &#124; Unemployed Developer [...]</description>
		<content:encoded><![CDATA[<p>[...] Object-Oriented JavaScript – Part I (Objects). | Unemployed Developer [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Getting the right things for your trade show &#124; Real Estate US.</title>
		<link>http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/comment-page-1/#comment-161</link>
		<dc:creator>Getting the right things for your trade show &#124; Real Estate US.</dc:creator>
		<pubDate>Sun, 22 Nov 2009 07:27:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.unemployeddeveloper.com/?p=101#comment-161</guid>
		<description>[...] Object-Oriented JavaScript – Part I (Objects). &#124; Unemployed Developer [...]</description>
		<content:encoded><![CDATA[<p>[...] Object-Oriented JavaScript – Part I (Objects). | Unemployed Developer [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to generate a lot of leads through a trade show &#124; Real Estate US.</title>
		<link>http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/comment-page-1/#comment-160</link>
		<dc:creator>How to generate a lot of leads through a trade show &#124; Real Estate US.</dc:creator>
		<pubDate>Sun, 22 Nov 2009 07:23:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.unemployeddeveloper.com/?p=101#comment-160</guid>
		<description>[...] Object-Oriented JavaScript – Part I (Objects). &#124; Unemployed Developer [...]</description>
		<content:encoded><![CDATA[<p>[...] Object-Oriented JavaScript – Part I (Objects). | Unemployed Developer [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Object-Oriented JavaScript – Part III (jQuery) &#124; Unemployed Developer</title>
		<link>http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/comment-page-1/#comment-37</link>
		<dc:creator>Object-Oriented JavaScript – Part III (jQuery) &#124; Unemployed Developer</dc:creator>
		<pubDate>Fri, 16 Oct 2009 23:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.unemployeddeveloper.com/?p=101#comment-37</guid>
		<description>[...] Object Oriented JavaScript postings(Object-Oriented JavaScript – Part II (encapsulation) &amp;  Object-Oriented JavaScript – Part I (Objects)) and expand on them using [...]</description>
		<content:encoded><![CDATA[<p>[...] Object Oriented JavaScript postings(Object-Oriented JavaScript – Part II (encapsulation) &amp;  Object-Oriented JavaScript – Part I (Objects)) and expand on them using [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LimeSpace &#8211; IT &#187; Der Wochenrückblick: Interfaces in PHP, Motivation, Marketing</title>
		<link>http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/comment-page-1/#comment-20</link>
		<dc:creator>LimeSpace &#8211; IT &#187; Der Wochenrückblick: Interfaces in PHP, Motivation, Marketing</dc:creator>
		<pubDate>Sun, 11 Oct 2009 07:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.unemployeddeveloper.com/?p=101#comment-20</guid>
		<description>[...] komplexer geht es beim &#8220;Unemployed Developer&#8221; zur Sache. Wie entwickelt man Objekt-Orientiert mit JavaScript, der erste Teil gibt bereits gute Einblicke in das [...]</description>
		<content:encoded><![CDATA[<p>[...] komplexer geht es beim &#8220;Unemployed Developer&#8221; zur Sache. Wie entwickelt man Objekt-Orientiert mit JavaScript, der erste Teil gibt bereits gute Einblicke in das [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-10-09 &#171; sySolution</title>
		<link>http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/comment-page-1/#comment-16</link>
		<dc:creator>links for 2009-10-09 &#171; sySolution</dc:creator>
		<pubDate>Fri, 09 Oct 2009 15:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.unemployeddeveloper.com/?p=101#comment-16</guid>
		<description>[...] Object-Oriented JavaScript – Part I (Objects). &#124; Unemployed Developer (tags: javascript) [...]</description>
		<content:encoded><![CDATA[<p>[...] Object-Oriented JavaScript – Part I (Objects). | Unemployed Developer (tags: javascript) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cancel bubble</title>
		<link>http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/comment-page-1/#comment-15</link>
		<dc:creator>cancel bubble</dc:creator>
		<pubDate>Thu, 08 Oct 2009 21:27:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.unemployeddeveloper.com/?p=101#comment-15</guid>
		<description>Think of the prototype object as the template upon which an object is based.  Any properties/methods on that prototype are passed on to all instances of that class.

So in your example, if you ended up with 50 instances of Person, each instance of Person will have *it&#039;s own copy* of the getName() method.  That&#039;s wasteful as you really only need one instance of that method (since it does the same thing for every instance).

Putting the getName() method on the prototype object, you only have one instance of that method, but it&#039;s passed on to those 50 instances of Person.  Much more efficient.

There&#039;s an awesome book called &quot;Pro JavaScript Design Patterns&quot; by Ross Harmes and Dustin Diaz I highly recommend.  It&#039;s really a great look at Object Oriented JavaScript.  You can pick up a used copy on Amazon for probably $20-25.</description>
		<content:encoded><![CDATA[<p>Think of the prototype object as the template upon which an object is based.  Any properties/methods on that prototype are passed on to all instances of that class.</p>
<p>So in your example, if you ended up with 50 instances of Person, each instance of Person will have *it&#8217;s own copy* of the getName() method.  That&#8217;s wasteful as you really only need one instance of that method (since it does the same thing for every instance).</p>
<p>Putting the getName() method on the prototype object, you only have one instance of that method, but it&#8217;s passed on to those 50 instances of Person.  Much more efficient.</p>
<p>There&#8217;s an awesome book called &#8220;Pro JavaScript Design Patterns&#8221; by Ross Harmes and Dustin Diaz I highly recommend.  It&#8217;s really a great look at Object Oriented JavaScript.  You can pick up a used copy on Amazon for probably $20-25.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://www.unemployeddeveloper.com/101_object-oriented-javascript-part-i-objects/comment-page-1/#comment-14</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Thu, 08 Oct 2009 20:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.unemployeddeveloper.com/?p=101#comment-14</guid>
		<description>@Tony and @Shitic - Thanks for the kind words.

I&#039;ll get more of this series out real soon guys, been a busy couple days here.</description>
		<content:encoded><![CDATA[<p>@Tony and @Shitic &#8211; Thanks for the kind words.</p>
<p>I&#8217;ll get more of this series out real soon guys, been a busy couple days here.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
