<?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"?><!-- generator="wordpress/2.3.3" --><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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>/bin/recykl</title>
	<link>http://blog.zmok.net</link>
	<description>Rails, Grails and Life</description>
	<pubDate>Wed, 22 Apr 2009 20:34:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/bin/recykl" type="application/rss+xml" /><item>
		<title>Playing with Grails application configuration</title>
		<link>http://feedproxy.google.com/~r/bin/recykl/~3/U5DZAgzmeeY/playing-with-grails-application-configuration</link>
		<comments>http://blog.zmok.net/articles/2009/04/22/playing-with-grails-application-configuration#comments</comments>
		<pubDate>Wed, 22 Apr 2009 19:48:55 +0000</pubDate>
		<dc:creator>Roman Mackovcak</dc:creator>
		
		<category><![CDATA[Grails]]></category>

		<category><![CDATA[How-to]]></category>

		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[configuration]]></category>

		<guid isPermaLink="false">http://blog.zmok.net/articles/2009/04/22/playing-with-grails-application-configuration</guid>
		<description>&lt;script type="text/javascript"&gt;dzone_url = "http://blog.zmok.net/articles/2009/04/22/playing-with-grails-application-configuration";&lt;/script&gt;
This small tutorial will show how to create a configuration file and how to manage configuration of your Grails application. It will show how to


Access configuration parameters
Create external configuration
Configure Spring for different environments
Create a new environment

Accessing configuration parameters

The configuration of Grails is stored in grails-app/conf directory. Parameters are stored in configuration files in &amp;#8220;plain text [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/bin/recykl?a=U5DZAgzmeeY:6AsK7BokaD0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bin/recykl?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bin/recykl?a=U5DZAgzmeeY:6AsK7BokaD0:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bin/recykl?i=U5DZAgzmeeY:6AsK7BokaD0:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bin/recykl?a=U5DZAgzmeeY:6AsK7BokaD0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bin/recykl?i=U5DZAgzmeeY:6AsK7BokaD0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bin/recykl?a=U5DZAgzmeeY:6AsK7BokaD0:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bin/recykl?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bin/recykl?a=U5DZAgzmeeY:6AsK7BokaD0:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bin/recykl?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/bin/recykl?a=U5DZAgzmeeY:6AsK7BokaD0:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/bin/recykl?i=U5DZAgzmeeY:6AsK7BokaD0:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://blog.zmok.net/articles/2009/04/22/playing-with-grails-application-configuration/feed</wfw:commentRss>
		<feedburner:origLink>http://blog.zmok.net/articles/2009/04/22/playing-with-grails-application-configuration</feedburner:origLink></item>
		<item>
		<title>Configuration and usage of Gldapo in a Grails project</title>
		<link>http://feedproxy.google.com/~r/bin/recykl/~3/oYYYRfzov3Q/configuration-and-usage-of-gldapo-in-a-grails-project</link>
		<comments>http://blog.zmok.net/articles/2009/02/10/configuration-and-usage-of-gldapo-in-a-grails-project#comments</comments>
		<pubDate>Mon, 09 Feb 2009 22:22:20 +0000</pubDate>
		<dc:creator>Roman Mackovcak</dc:creator>
		
		<category><![CDATA[Grails]]></category>

		<category><![CDATA[Gldapo]]></category>

		<category><![CDATA[LDAP]]></category>

		<guid isPermaLink="false">http://blog.zmok.net/articles/2009/02/10/configuration-and-usage-of-gldapo-in-a-grails-project</guid>
		<description>&lt;script type="text/javascript"&gt;dzone_url = "http://blog.zmok.net/articles/2009/02/10/configuration-and-usage-of-gldapo-in-a-grails-project";&lt;/script&gt;
Configuration and usage of Gldapo in a Grails project
 Gldapo is a groovy library for object oriented LDAP access. &amp;#8220;The Gldapo is to LDAP what GORM is to SQL&amp;#8221;.

Gldapo is packaged in Grails LDAP plugin, its installation is easy. In the root of your Grails project run command:

grails install-plugin ldap

Configuration
The Gldapo is configured in the [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=eHqFcmNW"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=7f4iq3jh"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=7f4iq3jh" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=9gCGugRO"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=9gCGugRO" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=lbrGdSAU"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=52" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=SJkpm3xN"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=54" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=A7MOSKMR"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=A7MOSKMR" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://blog.zmok.net/articles/2009/02/10/configuration-and-usage-of-gldapo-in-a-grails-project/feed</wfw:commentRss>
		<feedburner:origLink>http://blog.zmok.net/articles/2009/02/10/configuration-and-usage-of-gldapo-in-a-grails-project</feedburner:origLink></item>
		<item>
		<title>Grails RichUI - Incorrect international characters of the month names</title>
		<link>http://feedproxy.google.com/~r/bin/recykl/~3/sjwIIkkKTM0/grails-richui-incorrect-international-characters-of-the-month-names</link>
		<comments>http://blog.zmok.net/articles/2009/01/16/grails-richui-incorrect-international-characters-of-the-month-names#comments</comments>
		<pubDate>Thu, 15 Jan 2009 22:58:22 +0000</pubDate>
		<dc:creator>Roman Mackovcak</dc:creator>
		
		<category><![CDATA[Grails]]></category>

		<category><![CDATA[RichUI]]></category>

		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://blog.zmok.net/articles/2009/01/16/grails-richui-incorrect-international-characters-of-the-month-names</guid>
		<description>&lt;script type="text/javascript"&gt;dzone_url = "http://blog.zmok.net/articles/2009/01/16/grails-richui-incorrect-international-characters-of-the-month-names";&lt;/script&gt;
I am working on a small project and I decided to use RichUI plugin do display a timeline. 
The plugin is just great and working like a charm. If you want to try it,  this tutorial is a very good one.
The english version works perfectly, but I have found a small bug in the [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=VR6OzYKi"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=sD9mRz2Q"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=sD9mRz2Q" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=zXdQnQIl"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=zXdQnQIl" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=b6wZe9es"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=52" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=U8MhOujG"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=54" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=y1YI8OIs"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=y1YI8OIs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://blog.zmok.net/articles/2009/01/16/grails-richui-incorrect-international-characters-of-the-month-names/feed</wfw:commentRss>
		<feedburner:origLink>http://blog.zmok.net/articles/2009/01/16/grails-richui-incorrect-international-characters-of-the-month-names</feedburner:origLink></item>
		<item>
		<title>Web services in Grails</title>
		<link>http://feedproxy.google.com/~r/bin/recykl/~3/NiyzO9Nx6RQ/web-services-in-grails</link>
		<comments>http://blog.zmok.net/articles/2008/11/04/web-services-in-grails#comments</comments>
		<pubDate>Tue, 04 Nov 2008 19:40:30 +0000</pubDate>
		<dc:creator>Roman Mackovcak</dc:creator>
		
		<category><![CDATA[Grails]]></category>

		<category><![CDATA[groovyWS]]></category>

		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://blog.zmok.net/articles/2008/11/04/web-services-in-grails</guid>
		<description>&lt;script type="text/javascript"&gt;dzone_url = "http://blog.zmok.net/articles/2008/11/04/web-services-in-grails";&lt;/script&gt;
This article summarizes my experience with web services in Grails (and also Groovy). It will focus the on client side &amp;#8211; 
consuming web services. If you are looking for server size &amp;#8211; providing services, you can use plugins like Metro or XFire. 
Options
Once you want to create a web service client in pure groovy, you [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=NxCbmWL8"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=hEMuCBJT"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=hEMuCBJT" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=25ftuUeJ"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=25ftuUeJ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=DmRO9TJg"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=52" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=WKsPx4w0"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=54" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=rbGlOdPW"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=rbGlOdPW" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://blog.zmok.net/articles/2008/11/04/web-services-in-grails/feed</wfw:commentRss>
		<feedburner:origLink>http://blog.zmok.net/articles/2008/11/04/web-services-in-grails</feedburner:origLink></item>
		<item>
		<title>String similarity detection</title>
		<link>http://feedproxy.google.com/~r/bin/recykl/~3/dZASYpCoPzM/string-similarity-detection</link>
		<comments>http://blog.zmok.net/articles/2008/09/15/string-similarity-detection#comments</comments>
		<pubDate>Mon, 15 Sep 2008 13:01:22 +0000</pubDate>
		<dc:creator>Roman Mackovcak</dc:creator>
		
		<category><![CDATA[Grails]]></category>

		<category><![CDATA[Similarity detection]]></category>

		<category><![CDATA[String algorithm]]></category>

		<guid isPermaLink="false">http://blog.zmok.net/articles/2008/09/15/string-similarity-detection</guid>
		<description>&lt;script type="text/javascript"&gt;dzone_url = "http://blog.zmok.net/articles/2008/09/15/string-similarity-detection";&lt;/script&gt;
I was looking for a simple string similarity detection algorithm and I did find the one on  CatalySoft. Since I like it and I found it useful, I did create a groovy equivalent of it.


Here is the code:


public class LetterPairSimilarity &amp;#123;
&amp;#160;
  /** @return an array of adjacent letter pairs contained in the input [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=qZrg0PyO"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=Mo0hi3xU"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=Mo0hi3xU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=zzzC1Vgz"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=zzzC1Vgz" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=TC46tKC6"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=52" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=pbWanfPp"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=54" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=gcE8lQA8"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=gcE8lQA8" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://blog.zmok.net/articles/2008/09/15/string-similarity-detection/feed</wfw:commentRss>
		<feedburner:origLink>http://blog.zmok.net/articles/2008/09/15/string-similarity-detection</feedburner:origLink></item>
		<item>
		<title>Modalbox in Grails</title>
		<link>http://feedproxy.google.com/~r/bin/recykl/~3/MNoZHjFgcc0/modalbox-in-grails</link>
		<comments>http://blog.zmok.net/articles/2008/08/12/modalbox-in-grails#comments</comments>
		<pubDate>Tue, 12 Aug 2008 21:20:19 +0000</pubDate>
		<dc:creator>Roman Mackovcak</dc:creator>
		
		<category><![CDATA[Grails]]></category>

		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Modalbox]]></category>

		<guid isPermaLink="false">http://blog.zmok.net/articles/2008/08/12/modalbox-in-grails</guid>
		<description>&lt;script type="text/javascript"&gt;dzone_url = "http://blog.zmok.net/articles/2008/08/12/modalbox-in-grails";&lt;/script&gt;There is a nice and handy javascript library for creating kind of a modal &amp;#8220;window&amp;#8221;, similar to the famous lightbox. Here are few lines of code to make it running in a Grails application 
Installation
First of all, you have to download the library. The easiest way is to install a plugin modalbox 

grails install-plugin modalbox

There [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=OvrPL7SZ"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=Gs8H9FcG"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=Gs8H9FcG" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=fYpHkTtw"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=fYpHkTtw" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=AKMdV1M8"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=52" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=WoCIwEzk"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=54" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=LMyKhIbA"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=LMyKhIbA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://blog.zmok.net/articles/2008/08/12/modalbox-in-grails/feed</wfw:commentRss>
		<feedburner:origLink>http://blog.zmok.net/articles/2008/08/12/modalbox-in-grails</feedburner:origLink></item>
		<item>
		<title>Grails: internationalization in the service</title>
		<link>http://feedproxy.google.com/~r/bin/recykl/~3/sbR2g1pPvnk/grails-internationalization-in-the-service</link>
		<comments>http://blog.zmok.net/articles/2008/08/07/grails-internationalization-in-the-service#comments</comments>
		<pubDate>Thu, 07 Aug 2008 20:00:37 +0000</pubDate>
		<dc:creator>Roman Mackovcak</dc:creator>
		
		<category><![CDATA[Grails]]></category>

		<category><![CDATA[How-to]]></category>

		<category><![CDATA[i18n]]></category>

		<category><![CDATA[internationalization]]></category>

		<guid isPermaLink="false">http://blog.zmok.net/articles/2008/08/07/grails-internationalization-in-the-service</guid>
		<description>&lt;script type="text/javascript"&gt;dzone_url = "http://blog.zmok.net/articles/2008/08/07/grails-internationalization-in-the-service";&lt;/script&gt;
Today I spent some time by creation of localized messages in a service. Here is a small tutorial.
1. Create your service

grails create-service Local

2. Add a messageSource variable to your new service

class LocalService &amp;#123;
  def messageSource
&amp;#125;

3. Use it in a service method

// Initialize parameters
Object&amp;#91;&amp;#93; testArgs = &amp;#123;&amp;#125;
def msg = messageSource.resolveCode&amp;#40;&amp;#34;message.code.to.translate&amp;#34;, new java.util.Locale&amp;#40;&amp;#34;EN&amp;#34;&amp;#41;&amp;#41;.format&amp;#40;testArgs&amp;#41;

4. Finally edit the [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=4HZF7j8o"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=gFrIuxsb"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=gFrIuxsb" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=ZyGQr0SY"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=ZyGQr0SY" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=cNLDgQvc"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=52" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=H51YLWYO"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=54" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=Xvew65y1"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=Xvew65y1" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://blog.zmok.net/articles/2008/08/07/grails-internationalization-in-the-service/feed</wfw:commentRss>
		<feedburner:origLink>http://blog.zmok.net/articles/2008/08/07/grails-internationalization-in-the-service</feedburner:origLink></item>
		<item>
		<title>Monitoring number of SQL queries in MySQL</title>
		<link>http://feedproxy.google.com/~r/bin/recykl/~3/4ey5QQN3x4M/monitoring-number-of-sql-queries-in-mysql</link>
		<comments>http://blog.zmok.net/articles/2008/07/18/monitoring-number-of-sql-queries-in-mysql#comments</comments>
		<pubDate>Thu, 17 Jul 2008 22:44:25 +0000</pubDate>
		<dc:creator>Roman Mackovcak</dc:creator>
		
		<category><![CDATA[Database]]></category>

		<category><![CDATA[How-to]]></category>

		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.zmok.net/articles/2008/07/18/monitoring-number-of-sql-queries-in-mysql</guid>
		<description>&lt;script type="text/javascript"&gt;dzone_url = "http://blog.zmok.net/articles/2008/07/18/monitoring-number-of-sql-queries-in-mysql";&lt;/script&gt;
I have created a new application in Grails and surprisingly, in production environment it was slower than on my laptop. Production administrator found that my application generate too many SQL queries. The delay was caused by network latency. So, I had to find a way how to monitor number of SQL queries on MySQL server.
For [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=3d4cYOAh"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=A8jd8j1a"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=A8jd8j1a" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=9N7hmzPe"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=9N7hmzPe" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=Hxsqn7X8"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=52" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=lSbGpGxx"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=54" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=uvlEopYK"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=uvlEopYK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://blog.zmok.net/articles/2008/07/18/monitoring-number-of-sql-queries-in-mysql/feed</wfw:commentRss>
		<feedburner:origLink>http://blog.zmok.net/articles/2008/07/18/monitoring-number-of-sql-queries-in-mysql</feedburner:origLink></item>
		<item>
		<title>Live fulltext search in Ruby on Rails</title>
		<link>http://feedproxy.google.com/~r/bin/recykl/~3/pd_ltnix-Ro/live-fulltext-search-in-ruby-on-rails</link>
		<comments>http://blog.zmok.net/articles/2008/07/10/live-fulltext-search-in-ruby-on-rails#comments</comments>
		<pubDate>Wed, 09 Jul 2008 22:13:02 +0000</pubDate>
		<dc:creator>Roman Mackovcak</dc:creator>
		
		<category><![CDATA[Ruby on Rails]]></category>

		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[fulltext]]></category>

		<category><![CDATA[Live search]]></category>

		<category><![CDATA[RoR]]></category>

		<guid isPermaLink="false">http://blog.zmok.net/articles/2008/07/10/live-fulltext-search-in-ruby-on-rails</guid>
		<description>&lt;script type="text/javascript"&gt;dzone_url = "http://blog.zmok.net/articles/2008/07/10/live-fulltext-search-in-ruby-on-rails";&lt;/script&gt;
Some time ago I promised to create a small tutorial about live fulltext search. A fulltext search, that gives you results as you type.

Ingredients:

Ruby on rails
ferret gem (gem install ferret)
acts_as_ferret gem (gem install acts_as_ferret)
auto_complete plugin (from the application root: ruby script/plugin install auto_complete)

What we will do

Create an empty application – simple book database
Add fulltext search [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=qIM6fLAI"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=3GtqrWdt"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=3GtqrWdt" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=T0YhhVDf"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=T0YhhVDf" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=KnGNhMRe"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=52" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=XXC6Nwf3"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=54" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=TpMq7EB2"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=TpMq7EB2" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://blog.zmok.net/articles/2008/07/10/live-fulltext-search-in-ruby-on-rails/feed</wfw:commentRss>
		<feedburner:origLink>http://blog.zmok.net/articles/2008/07/10/live-fulltext-search-in-ruby-on-rails</feedburner:origLink></item>
		<item>
		<title>Bootstrapping Grails integration tests</title>
		<link>http://feedproxy.google.com/~r/bin/recykl/~3/3OOSoBZFfm0/bootstrapping-grails-integration-tests</link>
		<comments>http://blog.zmok.net/articles/2008/06/18/bootstrapping-grails-integration-tests#comments</comments>
		<pubDate>Wed, 18 Jun 2008 14:54:29 +0000</pubDate>
		<dc:creator>Roman Mackovcak</dc:creator>
		
		<category><![CDATA[Grails]]></category>

		<category><![CDATA[bootstrap]]></category>

		<category><![CDATA[integration]]></category>

		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://blog.zmok.net/articles/2008/06/18/bootstrapping-grails-integration-tests</guid>
		<description>&lt;script type="text/javascript"&gt;dzone_url = "http://blog.zmok.net/articles/2008/06/18/bootstrapping-grails-integration-tests";&lt;/script&gt;
It is quite easy to prepare test environment the same as the development one. Just use Bootstrap.

class BootstrappedTests extends GroovyTestCase {
  void testBootstrap() {
    new BootStrap().init(null) 
    assert MyDomain.count() == 5   // Perform your tests here
    }
}&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=5iilfJuU"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=BonwX1uD"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=BonwX1uD" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=aQ9pWgLF"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=aQ9pWgLF" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=KrpHfU02"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=52" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=sFYi8Z2L"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?d=54" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/bin/recykl?a=0SYcWDOz"&gt;&lt;img src="http://feeds.feedburner.com/~f/bin/recykl?i=0SYcWDOz" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://blog.zmok.net/articles/2008/06/18/bootstrapping-grails-integration-tests/feed</wfw:commentRss>
		<feedburner:origLink>http://blog.zmok.net/articles/2008/06/18/bootstrapping-grails-integration-tests</feedburner:origLink></item>
	</channel>
</rss>
