<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>JSPatterns.com</title>
	<atom:link href="http://www.jspatterns.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jspatterns.com</link>
	<description>Exploring common JavaScript patterns and anti-patterns</description>
	<pubDate>Sat, 17 May 2008 22:28:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5-RC1</generator>
	<language>en</language>
			<item>
		<title>Literal Notations</title>
		<link>http://www.jspatterns.com/literal-notations/</link>
		<comments>http://www.jspatterns.com/literal-notations/#comments</comments>
		<pubDate>Sat, 17 May 2008 22:26:26 +0000</pubDate>
		<dc:creator>stoyan</dc:creator>
		
		<category><![CDATA[books]]></category>

		<category><![CDATA[book]]></category>

		<category><![CDATA[literal notation]]></category>

		<category><![CDATA[oojs]]></category>

		<guid isPermaLink="false">http://www.jspatterns.com/?p=34</guid>
		<description><![CDATA[A little something from my forthcoming book "Object-Oriented JavaScript" I thought would be nice to share.

Literal Notations


name
literal
constructor
example


object
{}
new Object()
{prop: 1}


array
[]
new Array()
[1,2,3,'test']


regular expression
/pattern/modifiers
new RegExp('pattern', 'modifiers')
/java.*/img



]]></description>
			<content:encoded><![CDATA[<p>A little something from my forthcoming book "Object-Oriented JavaScript" I thought would be nice to share.</p>
<table border="1">
<caption>Literal Notations</caption>
<tbody>
<tr>
<th>name</th>
<th>literal</th>
<th>constructor</th>
<th>example</th>
</tr>
<tr>
<td>object</td>
<td><code>{}</code></td>
<td><code>new Object()</code></td>
<td><code>{prop: 1}</code></td>
</tr>
<tr>
<td>array</td>
<td><code>[]</code></td>
<td><code>new Array()</code></td>
<td><code>[1,2,3,'test']</code></td>
</tr>
<tr>
<td>regular expression<br id="d1su" /></td>
<td><code>/<em>pattern</em>/<em>modifiers</em></code></td>
<td><code style="white-space: nowrap">new RegExp('<em>pattern</em>', '<em>modifiers</em>')</code></td>
<td><code>/java.*/img</code></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.jspatterns.com/literal-notations/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Doug Crockford on inheritance</title>
		<link>http://www.jspatterns.com/doug-crockford-on-inheritance/</link>
		<comments>http://www.jspatterns.com/doug-crockford-on-inheritance/#comments</comments>
		<pubDate>Tue, 06 May 2008 17:08:32 +0000</pubDate>
		<dc:creator>stoyan</dc:creator>
		
		<category><![CDATA[books]]></category>

		<category><![CDATA[douglas crockford]]></category>

		<category><![CDATA[free chapter]]></category>

		<category><![CDATA[inheritance]]></category>

		<guid isPermaLink="false">http://www.jspatterns.com/?p=33</guid>
		<description><![CDATA[
From YUI blog today, there is a free chapter of Douglas Crockford's JavaScript book.
It's a great read. I had the pleasure of reading drafts of the book and giving some inputs (Whoa, giving Doug Crockford input with his JavaScript book! Yeah, I know.) and I can only highly recommend the book. But don't take my [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://ecx.images-amazon.com/images/I/51UHglbU2UL._SL500_AA240_.jpg" alt="JavaScript, the good parts" /></p>
<p>From <a href="http://yuiblog.com/blog/2008/05/05/crockford-inheritance/">YUI blog today</a>, there is a free chapter of <a href="http://www.crockford.com/">Douglas Crockford</a>'s <a href="http://www.amazon.com/exec/obidos/ASIN/0596517742/">JavaScript book</a>.</p>
<p>It's a great read. I had the pleasure of reading drafts of the book and giving some inputs (Whoa, giving Doug Crockford input with his JavaScript book! Yeah, I know.) and I can only highly recommend the book. But don't take my word for it, go download the free chapter and decide for yourself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jspatterns.com/doug-crockford-on-inheritance/feed/</wfw:commentRss>
		</item>
		<item>
		<title>This site&#8217;s theme is available</title>
		<link>http://www.jspatterns.com/this-site-theme-is-available/</link>
		<comments>http://www.jspatterns.com/this-site-theme-is-available/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 07:00:25 +0000</pubDate>
		<dc:creator>stoyan</dc:creator>
		
		<category><![CDATA[news]]></category>

		<category><![CDATA[colors]]></category>

		<category><![CDATA[download]]></category>

		<category><![CDATA[theme]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.jspatterns.com/?p=10</guid>
		<description><![CDATA[If you want this site's wordpress theme, by all means, use it.
jspatterns theme
Again, credits to Linsomnia for the color scheme!

]]></description>
			<content:encoded><![CDATA[<p>If you want this site's wordpress theme, by all means, use it.</p>
<div style="border: 1px solid #BBCDF7; display: inline; padding: 10px; margin: 10px"><a href="http://www.jspatterns.com/wp-content/uploads/2008/03/jspatterns.zip">jspatterns theme</a></div>
<p>Again, credits to <a href="http://www.colourlovers.com/lover/Linsomnia">Linsomnia</a> for the <a href="http://www.colourlovers.com/palette/139591/Autumn_Scarf">color scheme</a>!</p>
<p><img src="http://www.jspatterns.com/wp-content/themes/jspatterns/screenshot.png" alt="screenshot" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jspatterns.com/this-site-theme-is-available/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The old TOC</title>
		<link>http://www.jspatterns.com/the-old-toc/</link>
		<comments>http://www.jspatterns.com/the-old-toc/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 06:41:50 +0000</pubDate>
		<dc:creator>stoyan</dc:creator>
		
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.jspatterns.com/?p=9</guid>
		<description><![CDATA[BTW, the Table of Contents from the previous version of the site is still here. There will be some changes, of course, but overall this is more or less the type of content you can expect from this site.
]]></description>
			<content:encoded><![CDATA[<p>BTW, the Table of Contents from the previous version of the site is still <a href="http://jspatterns.com/backupindex.html">here</a>. There will be some changes, of course, but overall this is more or less the type of content you can expect from this site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jspatterns.com/the-old-toc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome to JSPatterns.com</title>
		<link>http://www.jspatterns.com/welcome-to-jspatternscom/</link>
		<comments>http://www.jspatterns.com/welcome-to-jspatternscom/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 11:32:12 +0000</pubDate>
		<dc:creator>stoyan</dc:creator>
		
		<category><![CDATA[news]]></category>

		<category><![CDATA[colors]]></category>

		<category><![CDATA[palette]]></category>

		<category><![CDATA[pattern]]></category>

		<guid isPermaLink="false">http://www.jspatterns.com/?p=6</guid>
		<description><![CDATA[Some time ago I started this site as a wiki and had it for a while, but the amount of spam I was receiving was just insane. Before deleting the database, I had about 300 Megs!?! of spam content.
So now here's a second chance, relaunching as a wordpress-powered blog. I'm planning to rewrite the content [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago I started this site as a wiki and had it for a while, but the amount of spam I was receiving was just insane. Before deleting the database, I had about 300 Megs!?! of spam content.</p>
<p>So now here's a second chance, relaunching as a wordpress-powered blog. I'm planning to rewrite the content anyway, keeping basically more or less only the topics of the previously identified patterns. The patterns will be static pages (with comments, of course) and in addition I'll use the blog functionality to ... well, blog.</p>
<p>If you spot common patterns in your daily JavaScripting and you want to share, please let me know, email ssttoo at gmail or just comment anywhere on the blog or the pattern pages.</p>
<p>Many thanks to <a href="http://www.colourlovers.com/palette/139591/Autumn_Scarf">colourlovers</a> and <a href="http://www.colourlovers.com/lover/Linsomnia">Linsomnia</a> for the color palette and the background pattern.</p>
<p><a href="http://www.colourlovers.com/palette/139591/Autumn_Scarf"><img src="http://www.colourlovers.com/badge/p/139591/Autumn_Scarf.png" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jspatterns.com/welcome-to-jspatternscom/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
