<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-20880701.post6340127056267553968..comments</id><updated>2011-06-22T18:15:11.244+02:00</updated><category term='templates'/><category term='print'/><category term='css framework'/><category term='framework'/><category term='css'/><category term='emastic beta2'/><category term='hartija'/><category term='free'/><category term='formy'/><title type='text'>Comments on Carrer Blog: Multiple object extend pattern in JavaScript</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.vcarrer.com/feeds/6340127056267553968/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20880701/6340127056267553968/comments/default'/><link rel='alternate' type='text/html' href='http://www.vcarrer.com/2011/06/multiple-object-extend-pattern-in.html'/><author><name>Vladimir</name><uri>http://www.blogger.com/profile/04801854386297420021</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20880701.post-4893423915157674931</id><published>2011-06-22T11:39:00.612+02:00</published><updated>2011-06-22T11:39:00.612+02:00</updated><title type='text'>IMHO, forcing JavaScript to mimic classical inheri...</title><content type='html'>IMHO, forcing JavaScript to mimic classical inheritance is a means of using the language in the wrong direction.&lt;br /&gt;&lt;br /&gt;JavaScript is meant for prototypal inheritance, and it should be used that way.&lt;br /&gt;&lt;br /&gt;AND (a big AND) jQuery != JavaScript; jQuery.extend != &amp;quot;JavaScript inheritance&amp;quot;&lt;br /&gt;&lt;br /&gt;As a corollary, I don&amp;#39;t agree with @balupton &amp;#39;s aggressive and destructive approach.&lt;br /&gt;&lt;br /&gt;Claiming &lt;br /&gt;&lt;br /&gt;&amp;quot;&lt;br /&gt;F.prototype[m] = arguments[i][m];&lt;br /&gt;&amp;quot;&lt;br /&gt;&lt;br /&gt;having nothing to do with inheritance, simply shows a lack of research, to say the least.&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;Yet, I&amp;#39;m doubtful about calling this usage a &amp;quot;pattern&amp;quot;, but let&amp;#39;s keep the terminology aside.&lt;br /&gt;&lt;br /&gt;And every pattern has its use. Every pattern has its advantages and liabilities.&lt;br /&gt;&lt;br /&gt;Just my 2c</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20880701/6340127056267553968/comments/default/4893423915157674931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20880701/6340127056267553968/comments/default/4893423915157674931'/><link rel='alternate' type='text/html' href='http://www.vcarrer.com/2011/06/multiple-object-extend-pattern-in.html?showComment=1308735540612#c4893423915157674931' title=''/><author><name>Volkan Özçelik</name><uri>http://o2js.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vcarrer.com/2011/06/multiple-object-extend-pattern-in.html' ref='tag:blogger.com,1999:blog-20880701.post-6340127056267553968' source='http://www.blogger.com/feeds/20880701/posts/default/6340127056267553968' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1020534583'/></entry><entry><id>tag:blogger.com,1999:blog-20880701.post-2477811262571524155</id><published>2011-06-21T17:33:58.367+02:00</published><updated>2011-06-21T17:33:58.367+02:00</updated><title type='text'>@balupton:

Can you link to jQuery plugin you ment...</title><content type='html'>@balupton:&lt;br /&gt;&lt;br /&gt;Can you link to jQuery plugin you mentioned before.&lt;br /&gt;&lt;br /&gt;About the Inheritance here is the link about the Prototypal Inheritance by Douglas Crockford http://javascript.crockford.com/prototypal.html&lt;br /&gt;&lt;br /&gt;This pattern uses that logic plus loop and copy of all the object methods. That is why I mentioned the Inheritance.&lt;br /&gt;&lt;br /&gt;Yes, I know the video you mentioned.&lt;br /&gt;&lt;br /&gt;This pattern is the product of my personal necessity to divide my framework into separate modules.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m sharing this pattern because it can help someone out there. Is this the best practice for extend objects? I don&amp;#39;t know. I was hoping that the JS community can give me so constructive criticism and alternative better solution.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20880701/6340127056267553968/comments/default/2477811262571524155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20880701/6340127056267553968/comments/default/2477811262571524155'/><link rel='alternate' type='text/html' href='http://www.vcarrer.com/2011/06/multiple-object-extend-pattern-in.html?showComment=1308670438367#c2477811262571524155' title=''/><author><name>Vladimir</name><uri>http://www.blogger.com/profile/04801854386297420021</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vcarrer.com/2011/06/multiple-object-extend-pattern-in.html' ref='tag:blogger.com,1999:blog-20880701.post-6340127056267553968' source='http://www.blogger.com/feeds/20880701/posts/default/6340127056267553968' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-721468892'/></entry><entry><id>tag:blogger.com,1999:blog-20880701.post-2983671225133902957</id><published>2011-06-21T17:08:58.903+02:00</published><updated>2011-06-21T17:08:58.903+02:00</updated><title type='text'>This seems no different to what jQuery plugin deve...</title><content type='html'>This seems no different to what jQuery plugin developers do every single day:&lt;br /&gt;myPlugin.js &amp;gt; $.extend($.fn, {one: ..., two: ...});&lt;br /&gt;&lt;br /&gt;What makes your thing special?&lt;br /&gt;&lt;br /&gt;Btw, I find the introduction paragraph incredible misleading as this post has nothing to do with inheritance and is just about extending objects. For inheritance see http://vimeo.com/9998565</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20880701/6340127056267553968/comments/default/2983671225133902957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20880701/6340127056267553968/comments/default/2983671225133902957'/><link rel='alternate' type='text/html' href='http://www.vcarrer.com/2011/06/multiple-object-extend-pattern-in.html?showComment=1308668938903#c2983671225133902957' title=''/><author><name>balupton</name><uri>http://www.blogger.com/profile/02409722249062911213</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vcarrer.com/2011/06/multiple-object-extend-pattern-in.html' ref='tag:blogger.com,1999:blog-20880701.post-6340127056267553968' source='http://www.blogger.com/feeds/20880701/posts/default/6340127056267553968' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1321403282'/></entry></feed>
