<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.developpeur.org/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>Search results matching tags 'Niveau interm&amp;#233;diaire', 'Standards du web', 'HTML', 'XSLT', 'ASP.net Ajax', and 'Ajax Control Toolkit'</title><link>http://blogs.developpeur.org/search/SearchResults.aspx?o=DateDescending&amp;tag=Niveau+interm%26%23233%3Bdiaire,Standards+du+web,HTML,XSLT,ASP.net+Ajax,Ajax+Control+Toolkit&amp;orTags=0</link><description>Search results matching tags 'Niveau interm&amp;#233;diaire', 'Standards du web', 'HTML', 'XSLT', 'ASP.net Ajax', and 'Ajax Control Toolkit'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61019.2)</generator><item><title>Prototype Vs Closure - optimisation d'une classe en JavaScript</title><link>http://blogs.developpeur.org/cyril/archive/2007/10/16/prototype-closure-optimisation-creation-classe-javascript.aspx</link><pubDate>Tue, 16 Oct 2007 11:49:00 GMT</pubDate><guid isPermaLink="false">7d6e5d3c-61cc-4264-bc3a-a336023fcec4:34912</guid><dc:creator>cyril</dc:creator><description>En JavaScript, il y a 2 grandes façons de faire une classe : le mode prototype et le mode closure. 
Méthode closure :

var Foo = function(){
    this.method = function(){
        return 'test'; 
    }
}


Méthode prototype : 

var Foo = fu...</description></item></channel></rss>