<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Max Korytko's Blog</title>
	<atom:link href="http://maxkorytko.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://maxkorytko.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 02 May 2011 14:53:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='maxkorytko.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Max Korytko's Blog</title>
		<link>http://maxkorytko.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://maxkorytko.wordpress.com/osd.xml" title="Max Korytko&#039;s Blog" />
	<atom:link rel='hub' href='http://maxkorytko.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Grails MySQL connection problem &#8211; java.net.ConnectException: Connection refused</title>
		<link>http://maxkorytko.wordpress.com/2011/04/27/grails-mysql-connection-problem-java-net-connectexception-connection-refused/</link>
		<comments>http://maxkorytko.wordpress.com/2011/04/27/grails-mysql-connection-problem-java-net-connectexception-connection-refused/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 15:43:52 +0000</pubDate>
		<dc:creator>maxkorytko</dc:creator>
				<category><![CDATA[Grails]]></category>

		<guid isPermaLink="false">http://maxkorytko.wordpress.com/?p=142</guid>
		<description><![CDATA[I have recently run into the java.net.ConnectException: Connection refused exception trying to connect MySQL server with Grails. The resolution turned out to be pretty easy. Here is what my set up was: Max OS X 10.6 XAMPP GRAILS 1.3.7 After configuring the data source to connect MySQL server (regular stuff) and running grails run-app command, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=142&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have recently run into the java.net.ConnectException: Connection refused exception trying to connect MySQL server with Grails.</p>
<p>The resolution turned out to be pretty easy. Here is what my set up was:</p>
<p>Max OS X 10.6</p>
<p>XAMPP</p>
<p>GRAILS 1.3.7</p>
<p>After configuring the data source to connect MySQL server (regular stuff) and running grails run-app command, I was getting tons of exceptions. All of them were related to MySQL server connection problem.</p>
<pre>Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
	at java.net.Socket.connect(Socket.java:529)
	at java.net.Socket.connect(Socket.java:478)
	at java.net.Socket.&lt;init&gt;(Socket.java:375)
	at java.net.Socket.&lt;init&gt;(Socket.java:218)
	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)
	at com.mysql.jdbc.MysqlIO.&lt;init&gt;(MysqlIO.java:295)</pre>
<p>Here is how I was able to fix the problem thanks to this blog post: <a href="http://www.hydronitrogen.com/280/grails-mysql-connection-refused-error-help-slackware-or-maybe-not/">Hydronitrogen.com</a></p>
<p>Open file /Applications/XAMPP/xamppfiles/etc/my.cnf<br />
Comment the following line: <b>skip-networking</b></p>
<p>The problem should be fixed.<br />
If not, try replacing <b>localhost</b> with <b>127.0.0.1</b> in your DataSource.groovy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxkorytko.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxkorytko.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxkorytko.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxkorytko.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maxkorytko.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maxkorytko.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maxkorytko.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maxkorytko.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxkorytko.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxkorytko.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxkorytko.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxkorytko.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxkorytko.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxkorytko.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=142&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maxkorytko.wordpress.com/2011/04/27/grails-mysql-connection-problem-java-net-connectexception-connection-refused/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7ca617e21aa42f63b1548b6c78689d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maxkorytko</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure log4net</title>
		<link>http://maxkorytko.wordpress.com/2011/01/17/configure-log4net/</link>
		<comments>http://maxkorytko.wordpress.com/2011/01/17/configure-log4net/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 20:28:18 +0000</pubDate>
		<dc:creator>maxkorytko</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[asp.net mvc]]></category>
		<category><![CDATA[log4net]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://maxkorytko.wordpress.com/?p=137</guid>
		<description><![CDATA[Here is how I configured log4net to log to a file. Place lo4net configuration to web.config. &#60;config&#62; &#60;log4net&#62; &#60;appender name="FileAppender" type="log4net.Appender.FileAppender"&#62; &#60;file value="log\\file.log" /&#62; &#60;appendToFile value="true" /&#62; &#60;layout type="log4net.Layout.PatternLayout"&#62; &#60;conversionPattern value="%date %level [%type.%method:%line] - %message%newline" /&#62; &#60;/layout&#62; &#60;/appender&#62; &#60;root&#62; &#60;level value="INFO" /&#62; &#60;appender-ref ref="FileAppender" /&#62; &#60;/root&#62; &#60;logger name="AssurantLogger"&#62; &#60;level value="DEBUG" /&#62; &#60;/logger&#62; &#60;/log4net&#62; &#60;/config&#62; Refer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=137&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is how I configured log4net to log to a file.<br />
Place lo4net configuration to web.config.</p>
<p><code></p>
<pre>&lt;config&gt;
	&lt;log4net&gt;
        &lt;appender name="FileAppender" type="log4net.Appender.FileAppender"&gt;
            &lt;file value="log\\file.log" /&gt;
            &lt;appendToFile value="true" /&gt;
            &lt;layout type="log4net.Layout.PatternLayout"&gt;
                &lt;conversionPattern value="%date %level [%type.%method:%line] - %message%newline" /&gt;
            &lt;/layout&gt;
        &lt;/appender&gt;

        &lt;root&gt;
            &lt;level value="INFO" /&gt;
            &lt;appender-ref ref="FileAppender" /&gt;
        &lt;/root&gt;

        &lt;logger name="AssurantLogger"&gt;
            &lt;level value="DEBUG" /&gt;
        &lt;/logger&gt;
    &lt;/log4net&gt;
&lt;/config&gt;</pre>
<p></code><br />
Refer to this documentation page to find more details regarding <a href="http://logging.apache.org/log4net/release/sdk/log4net.Layout.PatternLayout.html" target="_blank">PatternLayout</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxkorytko.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxkorytko.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxkorytko.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxkorytko.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maxkorytko.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maxkorytko.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maxkorytko.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maxkorytko.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxkorytko.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxkorytko.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxkorytko.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxkorytko.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxkorytko.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxkorytko.wordpress.com/137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=137&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maxkorytko.wordpress.com/2011/01/17/configure-log4net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7ca617e21aa42f63b1548b6c78689d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maxkorytko</media:title>
		</media:content>
	</item>
		<item>
		<title>Java</title>
		<link>http://maxkorytko.wordpress.com/2010/08/17/java/</link>
		<comments>http://maxkorytko.wordpress.com/2010/08/17/java/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 14:16:48 +0000</pubDate>
		<dc:creator>maxkorytko</dc:creator>
				<category><![CDATA[MacOS X]]></category>

		<guid isPermaLink="false">http://maxkorytko.wordpress.com/?p=131</guid>
		<description><![CDATA[MacOS X comes with its own version of Java. There is a program called Java Preferences in Applications-&#62;Utilities, which you can use to manage your JVMs. If you need to find out where Java home is, run the following script: /usr/libexec/java_home<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=131&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>MacOS X comes with its own version of Java.<br />
There is a program called <strong>Java Preferences</strong> in Applications-&gt;Utilities, which you can use to manage your JVMs.</p>
<p>If you need to find out where Java home is, run the following script:<br />
<strong>/usr/libexec/java_home</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxkorytko.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxkorytko.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxkorytko.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxkorytko.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maxkorytko.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maxkorytko.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maxkorytko.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maxkorytko.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxkorytko.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxkorytko.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxkorytko.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxkorytko.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxkorytko.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxkorytko.wordpress.com/131/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=131&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maxkorytko.wordpress.com/2010/08/17/java/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7ca617e21aa42f63b1548b6c78689d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maxkorytko</media:title>
		</media:content>
	</item>
		<item>
		<title>Good to know technologies</title>
		<link>http://maxkorytko.wordpress.com/2010/04/28/good-to-know-technologies/</link>
		<comments>http://maxkorytko.wordpress.com/2010/04/28/good-to-know-technologies/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 17:42:43 +0000</pubDate>
		<dc:creator>maxkorytko</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://maxkorytko.wordpress.com/?p=125</guid>
		<description><![CDATA[BlazeDS BlazeDS is the server-based Java remoting and web messaging technology for Adobe Flex and AIR applications. FlourineFX FluorineFx provides an implementation of Flex/Flash Remoting, Flex Data Services and real-time messaging functionality for the .NET framework. JMeter Java desktop application designed to load test functional behavior and measure performance. Apache Lucene Apache Lucene is a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=125&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>BlazeDS</h3>
<p>BlazeDS is the server-based Java remoting and web messaging technology for Adobe Flex and AIR applications.</p>
<h3>FlourineFX</h3>
<p>FluorineFx provides an implementation of Flex/Flash Remoting, Flex Data Services and real-time messaging functionality for the .NET framework.</p>
<h3>JMeter</h3>
<p>Java desktop application designed to load test functional behavior and measure performance.</p>
<h3>Apache Lucene</h3>
<p>Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxkorytko.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxkorytko.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxkorytko.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxkorytko.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maxkorytko.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maxkorytko.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maxkorytko.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maxkorytko.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxkorytko.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxkorytko.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxkorytko.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxkorytko.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxkorytko.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxkorytko.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=125&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maxkorytko.wordpress.com/2010/04/28/good-to-know-technologies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7ca617e21aa42f63b1548b6c78689d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maxkorytko</media:title>
		</media:content>
	</item>
		<item>
		<title>File upload in CakePHP</title>
		<link>http://maxkorytko.wordpress.com/2010/03/10/file-upload-in-cakephp/</link>
		<comments>http://maxkorytko.wordpress.com/2010/03/10/file-upload-in-cakephp/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 21:26:53 +0000</pubDate>
		<dc:creator>maxkorytko</dc:creator>
				<category><![CDATA[CakePHP Framework]]></category>

		<guid isPermaLink="false">http://maxkorytko.wordpress.com/2010/03/10/file-upload-in-cakephp/</guid>
		<description><![CDATA[Refer to this blog post: CakePHP file upload<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=123&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Refer to this blog post:<br />
<a href="http://cakebaker.42dh.com/2006/04/15/file-upload-with-cakephp/">CakePHP file upload</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxkorytko.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxkorytko.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxkorytko.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxkorytko.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maxkorytko.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maxkorytko.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maxkorytko.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maxkorytko.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxkorytko.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxkorytko.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxkorytko.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxkorytko.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxkorytko.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxkorytko.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=123&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maxkorytko.wordpress.com/2010/03/10/file-upload-in-cakephp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7ca617e21aa42f63b1548b6c78689d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maxkorytko</media:title>
		</media:content>
	</item>
		<item>
		<title>CakePHP Console</title>
		<link>http://maxkorytko.wordpress.com/2010/02/11/cakephp-console/</link>
		<comments>http://maxkorytko.wordpress.com/2010/02/11/cakephp-console/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 20:32:05 +0000</pubDate>
		<dc:creator>maxkorytko</dc:creator>
				<category><![CDATA[CakePHP Framework]]></category>

		<guid isPermaLink="false">http://maxkorytko.wordpress.com/?p=110</guid>
		<description><![CDATA[CakePHP console lets you create scripts executable from the command line. This might be useful if you need to create a cron task for your project, for example. In this post I&#8217;ll summarize my experience with building console scripts. You can also read about the Cake console in the Cake book under Developing with CakePHP-&#62;The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=110&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>CakePHP console lets you create scripts executable from the command line. This might be useful if you need to create a cron task for your project, for example. In this post I&#8217;ll summarize my experience with building console scripts.<br />
You can also read about the Cake console in the Cake book under Developing with CakePHP-&gt;<a href="http://book.cakephp.org/view/108/The-CakePHP-Console" target="_blank">The CakePHP Console.</a><br />
There are two artifacts that you can build: shells and tasks. Usually you create a shell which executes the tasks. Refer to the documentaion for mode details.<br />
Most likely when building console scripts, you&#8217;ll want to use Cake&#8217;s methods related to models (find, save, etc). In order to do it, you&#8217;ll need to import related classes. As you know in controllers you use the <b>uses</b>, <b>components</b> arrays. In shells and tasks it&#8217;s a bit different. In the example below, I&#8217;m importing a model, controller, view and the Email component.<br />
<code><br />
App::import('Core', 'Controller');<br />
App::import('Core', 'View');<br />
App::import('Model', 'MyModel');<br />
App::import('Component', 'Email');<br />
</code></p>
<p>Once you&#8217;ve imported all you need you can start writing the task class. It&#8217;s your job to create the objects you&#8217;ve imported.<br />
<code><br />
class MyTask extends Shell<br />
{<br />
protected $Controller;<br />
protected $Email;<br />
protected $MyModel;</p>
<p>function initialize()<br />
{<br />
$this-&gt;Controller =&amp; new Controller();<br />
$this-&gt;Email =&amp; new EmailComponent(null);<br />
$this-&gt;Email-&gt;startup($this-&gt;Controller);<br />
$this-&gt;MyModel =&amp; new MyModel();<br />
}<br />
}<br />
</code></p>
<p>That&#8217;s pretty much it. You can now use the model methods as you would in the contoller.</p>
<p><code><br />
function execute()<br />
{<br />
$this-&gt;MyModel-&gt;find('all');</p>
<p>// the Email component will also work<br />
$this-&gt;Email-&gt;layout = 'my_email_layout';<br />
$this-&gt;Email-&gt;template = 'my_email_template'; // make sure you create my_email_template.ctp in /app/views/email/html|plain/<br />
$this-&gt;Email-&gt;sendAs('html');<br />
$this-&gt;Email-&gt;charset('UTF-8');</p>
<p>$this-&gt;Controller-&gt;set('myVar', 'my value'); // will be available in the email template<br />
$success = $this-&gt;Email-&gt;send();<br />
}<br />
</code><br />
<br />
In order to be able to use this task in a shell, make sure you add it to the task list:<br />
<code><br />
class MyShell extends Shell<br />
{<br />
var $tasks = array('MyTask');</p>
<p>function main()<br />
{<br />
$this-&gt;out('Executing My task');<br />
$this-&gt;MyTask-&gt;execute();<br />
}<br />
}<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxkorytko.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxkorytko.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxkorytko.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxkorytko.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maxkorytko.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maxkorytko.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maxkorytko.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maxkorytko.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxkorytko.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxkorytko.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxkorytko.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxkorytko.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxkorytko.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxkorytko.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=110&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maxkorytko.wordpress.com/2010/02/11/cakephp-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7ca617e21aa42f63b1548b6c78689d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maxkorytko</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL server character encodings and collations</title>
		<link>http://maxkorytko.wordpress.com/2010/01/13/mysql-server-character-encodings-and-collations/</link>
		<comments>http://maxkorytko.wordpress.com/2010/01/13/mysql-server-character-encodings-and-collations/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 17:37:29 +0000</pubDate>
		<dc:creator>maxkorytko</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://maxkorytko.wordpress.com/?p=97</guid>
		<description><![CDATA[Quite often there is a requirement to build a localized web site. The challenge I keep facing is how to store, select, and display string values that require different character encoding. I&#8217;ve taken some time to read the MySQL server documentation on the topic, and this post is just a quick summary of what I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=97&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Quite often there is a requirement to build a localized web site. The challenge I keep facing is how to store, select, and display string values that require different character encoding. I&#8217;ve taken some time to read the MySQL server documentation on the topic, and this post is just a quick summary of what I read. The complete documentation is located here: <a href="http://dev.mysql.com/doc/refman/5.1/en/internationalization-localization.html">MySQL Server Localization</a></p>
<p>To store character values MySql server provides <b>CHAR</b>, <b>VARCHAR</b>, and <b>TEXT</b> data types. Each uses a character set and collation.</p>
<p><b>Character set</b> is a set of symbols and encodings.</b><br />
<b>Collation</b> is a set of rules for comparing characters in a character set.</p>
<p>It&#8217;s clearly explained in the mysql server reference document. You can read it <a href="http://dev.mysql.com/doc/refman/5.1/en/charset-general.html">here</a>.</p>
<p><b>Display the list of character sets MySQL server supports</b><br />
mysql&gt; show character set;</p>
<p><b>Display the list of collations</b><br />
mysql&gt; show collation;<br />
mysql&gt; show collation like &#8216;latin1%&#8217;;</p>
<p><b>Specify character sets and collations</b><br />
Can be specified for:</p>
<ul>
<li>server</li>
<li>database</li>
<li>table</li>
<li>column</li>
</ul>
<p>The table character set and collation are MySQL extensions, and will not work in standard SQL.</p>
<p><b>Change the character set for all column of an existing table</b><br />
mysql&gt; ALTER TABLE tbl_name CONVERT TO CHARACTER SET charset_name [COLLATE collation_name];<br />
If the character sets are incompatible, there may be data loss.</p>
<p><b>Determine the character set and collation for the selected database</b><br />
mysql&gt; show variables like &#8216;character_set_database&#8217;<br />
mysql&gt; show variable like &#8216;collation_server&#8217;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxkorytko.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxkorytko.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxkorytko.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxkorytko.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maxkorytko.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maxkorytko.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maxkorytko.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maxkorytko.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxkorytko.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxkorytko.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxkorytko.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxkorytko.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxkorytko.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxkorytko.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=97&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maxkorytko.wordpress.com/2010/01/13/mysql-server-character-encodings-and-collations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7ca617e21aa42f63b1548b6c78689d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maxkorytko</media:title>
		</media:content>
	</item>
		<item>
		<title>URL rewriting in Grails 1.1</title>
		<link>http://maxkorytko.wordpress.com/2010/01/07/url-rewriting/</link>
		<comments>http://maxkorytko.wordpress.com/2010/01/07/url-rewriting/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 17:00:31 +0000</pubDate>
		<dc:creator>maxkorytko</dc:creator>
				<category><![CDATA[Grails]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://maxkorytko.wordpress.com/?p=93</guid>
		<description><![CDATA[To store data between requests we use sessions. With every request the browser sends session id to the server, so that the request is identified and session scope is assigned to it. On the client side, the browser stores the session id in a cookie. If the browser doesn&#8217;t support cookies (mobile browser) or they [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=93&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To store data between requests we use sessions. With every request the browser sends session id to the server, so that the request is identified and session scope is assigned to it. On the client side, the browser stores the session id in a cookie. If the browser doesn&#8217;t support cookies (mobile browser) or they are turned off, we can use URL rewriting to append session id to each URL on all pages of the website. So with cookies turned on some URL might look like this: /shop/promos.<br />
To append a session id at the end of the URL you would write something like this in JSP: response.encodeURL(&#8220;/shop/promos&#8221;) . The resulting URL will look like this: /shop/promos;jsessionid=G32898fdaGagda098890.</p>
<p>To enable URL rewriting in Grails views, add this line line to Config.groovy:<br />
<strong>grails.views.enable.jsessionid = true</strong><br />
I tested this in Grails 1.1.</p>
<p>Then, URLs generated by Grails tags (link, createLink, etc) will be url encoded only when cookies are disabled.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxkorytko.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxkorytko.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxkorytko.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxkorytko.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maxkorytko.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maxkorytko.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maxkorytko.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maxkorytko.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxkorytko.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxkorytko.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxkorytko.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxkorytko.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxkorytko.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxkorytko.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=93&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maxkorytko.wordpress.com/2010/01/07/url-rewriting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7ca617e21aa42f63b1548b6c78689d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maxkorytko</media:title>
		</media:content>
	</item>
		<item>
		<title>CakePHP tips and tricks</title>
		<link>http://maxkorytko.wordpress.com/2009/12/11/cakephp-tips-and-tricks/</link>
		<comments>http://maxkorytko.wordpress.com/2009/12/11/cakephp-tips-and-tricks/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 17:49:05 +0000</pubDate>
		<dc:creator>maxkorytko</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://maxkorytko.wordpress.com/?p=87</guid>
		<description><![CDATA[Change the configuration settings programmatically configure::write('debug', 0);<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=87&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>
<b>Change the configuration settings programmatically</b></p>
<pre style="overflow:auto;background-color:#000;color:#fff;font-size:14px;padding:5px;">
configure::write('debug', 0);
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxkorytko.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxkorytko.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxkorytko.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxkorytko.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maxkorytko.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maxkorytko.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maxkorytko.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maxkorytko.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxkorytko.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxkorytko.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxkorytko.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxkorytko.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxkorytko.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxkorytko.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=87&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maxkorytko.wordpress.com/2009/12/11/cakephp-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7ca617e21aa42f63b1548b6c78689d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maxkorytko</media:title>
		</media:content>
	</item>
		<item>
		<title>Collections in GORM</title>
		<link>http://maxkorytko.wordpress.com/2009/11/24/collections-in-gorm/</link>
		<comments>http://maxkorytko.wordpress.com/2009/11/24/collections-in-gorm/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 21:12:17 +0000</pubDate>
		<dc:creator>maxkorytko</dc:creator>
				<category><![CDATA[GORM]]></category>

		<guid isPermaLink="false">http://maxkorytko.wordpress.com/?p=56</guid>
		<description><![CDATA[Grails allows several data types to be used to store the data on the programmatic level for 1:m and m:n relationships. If you read Grails documentation, you&#8217;ll find out that by default Grails uses an object of the java.util.Set class to store objects of the associated class. For example: class Person { String name City [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=56&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Grails allows several data types to be used to store the data on the programmatic level for 1:m and m:n relationships.<br />
If you read Grails documentation, you&#8217;ll find out that by default Grails uses an object of the java.util.Set class to store objects of the associated class. For example:</p>
<pre style="overflow:auto;background-color:#777;color:#fff;font-size:14px;text-shadow:#000 1px 1px;padding:5px;">
class Person
{
  String name
  City city
  static belongsTo = City
}

class City
{
  String name
  static hasMany = [people:Person]
}
</pre>
<p>The data type of the <b>people</b> instance field will be java.util.Set.<br />
If you want to use List instead, and access the associated objects by index, you need to declare the <b>people</b> field as List.<br />
<code></p>
<pre style="overflow:auto;background-color:#000;color:#fff;font-size:14px;padding:5px;">
class City
{
  String name
  List people
  static hasMany = [people:Person]
}
</pre>
<p></code><br />
To make this work, Grails will ad the <b>people_idx</b> column to the <b>person</b> table. The values in this column are important. The first record will have its value set to 0, the next 1, and so forth.</p>
<p>Pay attention to the following quote, taken from the Grails user guide</p>
<div style="background-color:#ffcc33;">
When using a List, elements must be added to the collection before being saved, otherwise Hibernate will throw an exception (org.hibernate.HibernateException: null index column for collection):<br />
<code style="font-size:14px;"><br />
// This won't work!<br />
def book = new Book(title: 'The Shining')<br />
book.save()<br />
author.addToBooks(book)</p>
<p>// Do it this way instead.<br />
def book = new Book(title: 'Misery')<br />
author.addToBooks(book)<br />
author.save()<br />
</code>
</div>
<p>When you write city.people, Grails will construct the list of people based on the values of the persons_idx column. If the sequence is broken, you&#8217;ll end up with <b>nulls</b> in the list.</p>
<p><b>Examples</b><br />
Suppose the people_idx sequence is like so: 0 1 2 3<br />
city.people will be equal to [personA, personB, personC, personD]</p>
<p>Suppose the poople_idx sequence is like so: 0 1 4 5<br />
city.people will be equal to [personA, personB, null, null, personC, personD]</p>
<p>To avoid breaking the sequnce, make sure you remove the associated object from its owner when deleting the associated object.</p>
<p>When deleting a person do the following:</p>
<pre style="overflow:auto;background-color:#000;color:#fff;font-size:14px;padding:5px;">
def person = Person.get(params.id)
person.delete()
City.get(person.city.id)?.removeFromPeople(person)
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maxkorytko.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maxkorytko.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maxkorytko.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maxkorytko.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maxkorytko.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maxkorytko.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maxkorytko.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maxkorytko.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maxkorytko.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maxkorytko.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maxkorytko.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maxkorytko.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maxkorytko.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maxkorytko.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maxkorytko.wordpress.com&amp;blog=7776614&amp;post=56&amp;subd=maxkorytko&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maxkorytko.wordpress.com/2009/11/24/collections-in-gorm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b7ca617e21aa42f63b1548b6c78689d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">maxkorytko</media:title>
		</media:content>
	</item>
	</channel>
</rss>
