<?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"
	>
<channel>
	<title>Comments on: Extending&#160;Prototype</title>
	<atom:link href="http://particletree.com/notebook/extending-prototype/feed/" rel="self" type="application/rss+xml" />
	<link>http://particletree.com/notebook/extending-prototype/</link>
	<description>Everyone needs a hug.</description>
	<pubDate>Wed, 08 Oct 2008 05:12:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Ryan Johnson</title>
		<link>http://particletree.com/notebook/extending-prototype/#comment-20391</link>
		<dc:creator>Ryan Johnson</dc:creator>
		<pubDate>Fri, 23 Mar 2007 19:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/extending-prototype/#comment-20391</guid>
		<description>&lt;p&gt;Tobie, thanks for the Element.readAttribute note, I'll update Prototype.Extensions. Also in regards to the Browser object in 1.5.1, once the final version is released I will definitely get rid of the Client object. I rarely use the version and OS attributes myself, I more put them in there for completeness.&lt;/p&gt;

&lt;p&gt;I'm thinking of changing the name to Prototype.Tidbits as that more of how I treat it...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Tobie, thanks for the Element.readAttribute note, I&#8217;ll update Prototype.Extensions. Also in regards to the Browser object in 1.5.1, once the final version is released I will definitely get rid of the Client object. I rarely use the version and OS attributes myself, I more put them in there for completeness.</p>

<p>I&#8217;m thinking of changing the name to Prototype.Tidbits as that more of how I treat it&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Tobie Langel</title>
		<link>http://particletree.com/notebook/extending-prototype/#comment-20343</link>
		<dc:creator>Tobie Langel</dc:creator>
		<pubDate>Mon, 19 Mar 2007 22:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/extending-prototype/#comment-20343</guid>
		<description>&lt;p&gt;Ryan, a cookie object is definitely something that should be added to Prototype, maybe in an extensions lib. There's also a new "secret" feature in 1.5.1... the &lt;code&gt;Prototype.Browser&lt;/code&gt; object, which should provide for all the sniffing you need.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ryan, a cookie object is definitely something that should be added to Prototype, maybe in an extensions lib. There&#8217;s also a new &#8220;secret&#8221; feature in 1.5.1&#8230; the <code>Prototype.Browser</code> object, which should provide for all the sniffing you need.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Campbell</title>
		<link>http://particletree.com/notebook/extending-prototype/#comment-20341</link>
		<dc:creator>Ryan Campbell</dc:creator>
		<pubDate>Mon, 19 Mar 2007 21:26:58 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/extending-prototype/#comment-20341</guid>
		<description>&lt;p&gt;I probably should have mentioned it in the post, but I trimmed down the Prototype.Extension library quite a lot. I got rid of everything that wasn't part of the Client or Cookie object. Browser sniffing is questionable, but I have found that in one or two occasions there is no other way around a problem.&lt;/p&gt;

&lt;p&gt;Thanks for the other links and code. Wasn't aware of those.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I probably should have mentioned it in the post, but I trimmed down the Prototype.Extension library quite a lot. I got rid of everything that wasn&#8217;t part of the Client or Cookie object. Browser sniffing is questionable, but I have found that in one or two occasions there is no other way around a problem.</p>

<p>Thanks for the other links and code. Wasn&#8217;t aware of those.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sam D</title>
		<link>http://particletree.com/notebook/extending-prototype/#comment-20339</link>
		<dc:creator>Sam D</dc:creator>
		<pubDate>Mon, 19 Mar 2007 18:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/extending-prototype/#comment-20339</guid>
		<description>&lt;p&gt;Not having gotten many suggestions, I haven't updated it in a while either ;)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Not having gotten many suggestions, I haven&#8217;t updated it in a while either ;)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Tobie Langel</title>
		<link>http://particletree.com/notebook/extending-prototype/#comment-20338</link>
		<dc:creator>Tobie Langel</dc:creator>
		<pubDate>Mon, 19 Mar 2007 17:41:58 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/extending-prototype/#comment-20338</guid>
		<description>&lt;p&gt;Hi Ryan,&lt;/p&gt;

&lt;p&gt;Thanks for the link-love!&lt;/p&gt;

&lt;p&gt;Note that there's a lot more info on Prototype's native JSON in &lt;a href="http://prototypejs.org/learn/json" rel="nofollow"&gt;a tutorial&lt;/a&gt; which I posted on the Prototype website.&lt;/p&gt;

&lt;p&gt;Regarding Prototype.Extension, there's some interesting ideas in there, but the browser sniffing is sketchy at best and the &lt;code&gt;Element.getElementsByAttribute&lt;/code&gt; relies on the native &lt;code&gt;getAttribute&lt;/code&gt; DOM method, who's support is &lt;a href="http://tobielangel.com/2007/1/11/attribute-nightmare-in-ie" rel="nofollow"&gt;absolutely horrible in IE&lt;/a&gt;. Prototype now has an inbuilt method (&lt;a href="http://prototypejs.org/api/element/readAttribute" rel="nofollow"&gt;&lt;code&gt;Element.readAttribute&lt;/code&gt;&lt;/a&gt;) to deal with these discrepancies.&lt;/p&gt;

&lt;p&gt;Also note that, as the &lt;code&gt;$$&lt;/code&gt; utility supports CSS3 selectors, this can already be done in Prototype like so:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
$$('[widget]') // returns an array of all 
// the elements who have a 'widget' attribute.

$$('[widget=slideshow]') // returns an 
// array of all the elements whose 'widget' 
// attribute is 'slideshow'

$('main').getElementsBySelector('[widget]');
// returns all the children of element "main"
// who have a 'widget' attribute.
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And yes, the Built-with-Prototype stuff is coming... sorry for the delay!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>

<p>Thanks for the link-love!</p>

<p>Note that there&#8217;s a lot more info on Prototype&#8217;s native JSON in <a href="http://prototypejs.org/learn/json" rel="nofollow">a tutorial</a> which I posted on the Prototype website.</p>

<p>Regarding Prototype.Extension, there&#8217;s some interesting ideas in there, but the browser sniffing is sketchy at best and the <code>Element.getElementsByAttribute</code> relies on the native <code>getAttribute</code> DOM method, who&#8217;s support is <a href="http://tobielangel.com/2007/1/11/attribute-nightmare-in-ie" rel="nofollow">absolutely horrible in IE</a>. Prototype now has an inbuilt method (<a href="http://prototypejs.org/api/element/readAttribute" rel="nofollow"><code>Element.readAttribute</code></a>) to deal with these discrepancies.</p>

<p>Also note that, as the <code>$$</code> utility supports CSS3 selectors, this can already be done in Prototype like so:</p>

<pre><code>
$$('[widget]') // returns an array of all 
// the elements who have a 'widget' attribute.

$$('[widget=slideshow]') // returns an 
// array of all the elements whose 'widget' 
// attribute is 'slideshow'

$('main').getElementsBySelector('[widget]');
// returns all the children of element "main"
// who have a 'widget' attribute.
</code></pre>

<p>And yes, the Built-with-Prototype stuff is coming&#8230; sorry for the delay!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Campbell</title>
		<link>http://particletree.com/notebook/extending-prototype/#comment-20337</link>
		<dc:creator>Ryan Campbell</dc:creator>
		<pubDate>Mon, 19 Mar 2007 16:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/extending-prototype/#comment-20337</guid>
		<description>&lt;p&gt;Hey Sam, I only mentioned it was outdated because the original post date was about 9 months ago. I didn't realize this was a list that you were actively maintaining. Sorry about that.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey Sam, I only mentioned it was outdated because the original post date was about 9 months ago. I didn&#8217;t realize this was a list that you were actively maintaining. Sorry about that.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sam D</title>
		<link>http://particletree.com/notebook/extending-prototype/#comment-20336</link>
		<dc:creator>Sam D</dc:creator>
		<pubDate>Mon, 19 Mar 2007 16:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/extending-prototype/#comment-20336</guid>
		<description>&lt;p&gt;I'd be more then happy to update my list if anyone has any suggestions.  I'll add these tonight.&lt;/p&gt;

&lt;p&gt;Just add comment to 
http://blog.samdevore.com/archives/2006/07/24/prototypejs-extensions/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;d be more then happy to update my list if anyone has any suggestions.  I&#8217;ll add these tonight.</p>

<p>Just add comment to 
<a href="http://blog.samdevore.com/archives/2006/07/24/prototypejs-extensions/" rel="nofollow">http://blog.samdevore.com/archives/2006/07/24/prototypejs-extensions/</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph R. B. Tayloe</title>
		<link>http://particletree.com/notebook/extending-prototype/#comment-20335</link>
		<dc:creator>Joseph R. B. Tayloe</dc:creator>
		<pubDate>Mon, 19 Mar 2007 16:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/extending-prototype/#comment-20335</guid>
		<description>&lt;p&gt;Speaking of PHP frameworks, have you tried Code Igniter yet?  It seems really nice to me, I've done a couple sites with it.  Feels like PHP on Rails to be honest, though the scaffolding feature is a little less built up.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Speaking of PHP frameworks, have you tried Code Igniter yet?  It seems really nice to me, I&#8217;ve done a couple sites with it.  Feels like PHP on Rails to be honest, though the scaffolding feature is a little less built up.</p>]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.043 seconds -->
<!-- Cached page served by WP-Cache -->
