<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Grails for You</title>
	
	<link>http://grails4you.com</link>
	<description>Thought's on Grails</description>
	<lastBuildDate>Sun, 07 Oct 2012 23:21:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/MichaelAstreiko" /><feedburner:info uri="michaelastreiko" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Merging place names</title>
		<link>http://feedproxy.google.com/~r/MichaelAstreiko/~3/tIZtWqSbgw0/</link>
		<comments>http://grails4you.com/2012/09/merging-places-names/#comments</comments>
		<pubDate>Thu, 06 Sep 2012 14:37:08 +0000</pubDate>
		<dc:creator>Michael Astreiko</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[algorithm]]></category>
		<category><![CDATA[similarities]]></category>

		<guid isPermaLink="false">http://grails4you.com/?p=98</guid>
		<description>Problem If you are working on service which need to aggregate place names from different sources, like Google Places, Foursquare and local db for example, then you always have a problem not to display same place more then one time. Imagine you have Paolo Pizza at Backer Street 43 and all three data sources return &lt;a href='http://grails4you.com/2012/09/merging-places-names/' class='excerpt-more'&gt;[...]&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/MichaelAstreiko/~4/tIZtWqSbgw0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://grails4you.com/2012/09/merging-places-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://grails4you.com/2012/09/merging-places-names/</feedburner:origLink></item>
		<item>
		<title>Load City list for Country</title>
		<link>http://feedproxy.google.com/~r/MichaelAstreiko/~3/H1WUwZh_LzY/</link>
		<comments>http://grails4you.com/2012/09/load-city-list-for-country/#comments</comments>
		<pubDate>Wed, 05 Sep 2012 18:24:02 +0000</pubDate>
		<dc:creator>Michael Astreiko</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[cities]]></category>

		<guid isPermaLink="false">http://grails4you.com/?p=90</guid>
		<description>Task Need to show two selectboxes to User: Country City City select box should change its data based on Country Possible solutions Online Webservice That was me fist idea: just find needed (possibly free!) API Service and use it from grails project. But after googling a lot I did not find any solution which allow &lt;a href='http://grails4you.com/2012/09/load-city-list-for-country/' class='excerpt-more'&gt;[...]&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/MichaelAstreiko/~4/H1WUwZh_LzY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://grails4you.com/2012/09/load-city-list-for-country/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://grails4you.com/2012/09/load-city-list-for-country/</feedburner:origLink></item>
		<item>
		<title>Grails, MySQL and java.io.EOFException: Can not read response from server.</title>
		<link>http://feedproxy.google.com/~r/MichaelAstreiko/~3/1oIVGN5Huio/</link>
		<comments>http://grails4you.com/2012/04/grails-and-java-io-eofexception-can-not-read-response-from-server/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 18:59:36 +0000</pubDate>
		<dc:creator>Michael Astreiko</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://grails4you.com/?p=80</guid>
		<description>After migration to new PROD server start getting error from some inactivity period: 2012-04-11 14:27:29,415 [TP-Processor3] ERROR (org.hibernate.util.JDBCExceptionReporter) - Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException MESSAGE: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost. STACKTRACE: java.io.EOFException: Can &lt;a href='http://grails4you.com/2012/04/grails-and-java-io-eofexception-can-not-read-response-from-server/' class='excerpt-more'&gt;[...]&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/MichaelAstreiko/~4/1oIVGN5Huio" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://grails4you.com/2012/04/grails-and-java-io-eofexception-can-not-read-response-from-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://grails4you.com/2012/04/grails-and-java-io-eofexception-can-not-read-response-from-server/</feedburner:origLink></item>
		<item>
		<title>RESTful API for grails Domains</title>
		<link>http://feedproxy.google.com/~r/MichaelAstreiko/~3/te5t4VBZqL4/</link>
		<comments>http://grails4you.com/2012/04/restful-api-for-grails-domains/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 19:58:41 +0000</pubDate>
		<dc:creator>Michael Astreiko</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[rest]]></category>

		<guid isPermaLink="false">http://grails4you.com/?p=74</guid>
		<description>Problem Ofter we need to create RESTful API to READ data for existed domain objects with easy manipulation of fields in it. For example, we do not need to see in API result fields like &amp;#8216;id&amp;#8217;, &amp;#8216;lastUpdated&amp;#8217;, &amp;#8216;createdBy&amp;#8217;, collections, references and any other fields. Also we want to have easy way to change field name. &lt;a href='http://grails4you.com/2012/04/restful-api-for-grails-domains/' class='excerpt-more'&gt;[...]&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/MichaelAstreiko/~4/te5t4VBZqL4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://grails4you.com/2012/04/restful-api-for-grails-domains/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://grails4you.com/2012/04/restful-api-for-grails-domains/</feedburner:origLink></item>
		<item>
		<title>QR Code and Bar Code rendering in Grails</title>
		<link>http://feedproxy.google.com/~r/MichaelAstreiko/~3/rrfs6nDofUE/</link>
		<comments>http://grails4you.com/2012/02/qr-code-and-bar-code-rendering-in-grails/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 18:35:14 +0000</pubDate>
		<dc:creator>Michael Astreiko</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[bacrcode]]></category>
		<category><![CDATA[qrcode]]></category>

		<guid isPermaLink="false">http://grails4you.com/?p=55</guid>
		<description>Problem Need to generate QRCode and as many as possible BarCodes based on specific code. Solution After looking to several plugins like qrcode and barcode4j and after unsuccessful usage of them I&amp;#8217;ve decided to do it myself and found out that it is easy enough. Step 1 &amp;#8211; Add necessary libs After looking to several &lt;a href='http://grails4you.com/2012/02/qr-code-and-bar-code-rendering-in-grails/' class='excerpt-more'&gt;[...]&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/MichaelAstreiko/~4/rrfs6nDofUE" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://grails4you.com/2012/02/qr-code-and-bar-code-rendering-in-grails/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://grails4you.com/2012/02/qr-code-and-bar-code-rendering-in-grails/</feedburner:origLink></item>
		<item>
		<title>Distinct paging in grails app with Criteria Builder</title>
		<link>http://feedproxy.google.com/~r/MichaelAstreiko/~3/dlMV_1ayeCI/</link>
		<comments>http://grails4you.com/2012/02/distinct-paging-in-grails-app-with-criteria-builder/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 21:59:24 +0000</pubDate>
		<dc:creator>Michael Astreiko</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[criteria]]></category>
		<category><![CDATA[paging]]></category>

		<guid isPermaLink="false">http://grails4you.com/?p=47</guid>
		<description>Have multiple domain which connected with each other. Need to provide deep search functionality, so that need to search in Master domain&amp;#8217;s 3-d and 4-th level children. For example we have structure like 1 2 3 4 5 6 7 8 9 10 11 12 13 14 class Person &amp;#123; static hasMany = &amp;#91;clothes:Cloth&amp;#93; ... &lt;a href='http://grails4you.com/2012/02/distinct-paging-in-grails-app-with-criteria-builder/' class='excerpt-more'&gt;[...]&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/MichaelAstreiko/~4/dlMV_1ayeCI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://grails4you.com/2012/02/distinct-paging-in-grails-app-with-criteria-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://grails4you.com/2012/02/distinct-paging-in-grails-app-with-criteria-builder/</feedburner:origLink></item>
		<item>
		<title>Ajax file uploading in grails</title>
		<link>http://feedproxy.google.com/~r/MichaelAstreiko/~3/ntXPwqBiOIk/</link>
		<comments>http://grails4you.com/2012/02/ajax-file-uploading-in-grails/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 23:22:09 +0000</pubDate>
		<dc:creator>Michael Astreiko</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[file uploader]]></category>
		<category><![CDATA[valums]]></category>

		<guid isPermaLink="false">http://grails4you.com/?p=32</guid>
		<description>For Ajax file uploading I&amp;#8217;m using Andrew Valums AJAX file uploader. On UI I added jQuery script like: jQuery&amp;#40;function&amp;#40;&amp;#41; &amp;#123; var uploader = new qq.FileUploaderBasic&amp;#40;&amp;#123; button: document.getElementById&amp;#40;'addButton'&amp;#41;, action: &amp;#34;${createLink(controller: 'upload', action: 'uploadImage')}&amp;#34;, multiple: true, allowedExtensions:&amp;#91;'PNG', 'JPG', 'JPEG', 'GIF'&amp;#93;, sizeLimit:4194304, // max 4GB file onSubmit:function&amp;#40;&amp;#41;&amp;#123;jQuery&amp;#40;'#spinner'&amp;#41;.show&amp;#40;&amp;#41;&amp;#125;, onComplete:function&amp;#40;id, fileName, responseJSON&amp;#41;&amp;#123; reloadImage&amp;#40;&amp;#34;urlHolder&amp;#34;, responseJSON&amp;#91;0&amp;#93;&amp;#41; &amp;#125; &amp;#125;&amp;#41;; &amp;#125;&amp;#41;; Where reloadImage is &lt;a href='http://grails4you.com/2012/02/ajax-file-uploading-in-grails/' class='excerpt-more'&gt;[...]&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/MichaelAstreiko/~4/ntXPwqBiOIk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://grails4you.com/2012/02/ajax-file-uploading-in-grails/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://grails4you.com/2012/02/ajax-file-uploading-in-grails/</feedburner:origLink></item>
		<item>
		<title>Grails database migration on existing project in PROD</title>
		<link>http://feedproxy.google.com/~r/MichaelAstreiko/~3/QFG8-GInqRQ/</link>
		<comments>http://grails4you.com/2012/02/grails-database-migration-on-existing-project-in-prod/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 20:50:27 +0000</pubDate>
		<dc:creator>Michael Astreiko</dc:creator>
				<category><![CDATA[grails]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[prod]]></category>

		<guid isPermaLink="false">http://grails4you.com/?p=18</guid>
		<description>Problem We have grails project which is already running in PROD without using database migration/liquibase plugins. Need to do changes in database structure without destroying of existing data. Solution Let&amp;#8217;s call database states: state A is current state of database state B new state of database, which we want to get in result First of &lt;a href='http://grails4you.com/2012/02/grails-database-migration-on-existing-project-in-prod/' class='excerpt-more'&gt;[...]&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/MichaelAstreiko/~4/QFG8-GInqRQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://grails4you.com/2012/02/grails-database-migration-on-existing-project-in-prod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://grails4you.com/2012/02/grails-database-migration-on-existing-project-in-prod/</feedburner:origLink></item>
	</channel>
</rss>
