<?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/"
	>

<channel>
	<title>UkeSoft</title>
	<atom:link href="http://ukesoft.com/blog/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://ukesoft.com/blog</link>
	<description>no sabría que decir sobre este blog</description>
	<pubDate>Thu, 17 May 2012 13:27:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to read nested property from a string in groovy</title>
		<link>http://ukesoft.com/blog/index.php/2012/05/17/how-to-read-nested-property-from-a-string-in-groovy/</link>
		<comments>http://ukesoft.com/blog/index.php/2012/05/17/how-to-read-nested-property-from-a-string-in-groovy/#comments</comments>
		<pubDate>Thu, 17 May 2012 13:27:04 +0000</pubDate>
		<dc:creator>uke</dc:creator>
		
		<category><![CDATA[programming]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://ukesoft.com/blog/?p=188</guid>
		<description><![CDATA[Suppose you have the followin object or hash

def myObject = [
my: [
nested: [
property: [
foo: 'bar',
baz: 'bax'
]
]
]
]
And you want to read the &#8216;my.nested.property.foo&#8217; property, using the inject() method in groovy you can achieve this in only one line 

'my.nested.property.foo'.split(/\./).inject(myObject) {obj, prop -> obj?."$prop" } // return 'bar'

]]></description>
			<content:encoded><![CDATA[<p>Suppose you have the followin object or hash<br />
<code><br />
def myObject = [<br />
my: [<br />
nested: [<br />
property: [<br />
foo: 'bar',<br />
baz: 'bax'<br />
]<br />
]<br />
]<br />
]</code></p>
<p>And you want to read the &#8216;my.nested.property.foo&#8217; property, using the <a href="http://stackoverflow.com/questions/5209149/what-is-inject-method-in-groovy">inject()</a> method in groovy you can achieve this in only one line </p>
<p><code><br />
'my.nested.property.foo'.split(/\./).inject(myObject) {obj, prop -> obj?."$prop" } // return 'bar'<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ukesoft.com/blog/index.php/2012/05/17/how-to-read-nested-property-from-a-string-in-groovy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cargando javascript bajo demanda con jquery simple</title>
		<link>http://ukesoft.com/blog/index.php/2010/08/25/cargando-javascript-bajo-demanda-con-jquery-simple/</link>
		<comments>http://ukesoft.com/blog/index.php/2010/08/25/cargando-javascript-bajo-demanda-con-jquery-simple/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 15:21:55 +0000</pubDate>
		<dc:creator>uke</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ukesoft.com/blog/?p=181</guid>
		<description><![CDATA[Cargando javascript bajo demanda con jquery simple]]></description>
			<content:encoded><![CDATA[<p>Cargando javascript bajo demanda con jquery simple&#8230;</p>
<p>Cansado de buscar librerias de load javascript on demand y viendo que son muy pesadas programe mi funcion para propositos simples. La libreria toma el path del primer script como url para cargar los js relativos a esta.</p>
<p>plugin:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> using <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> loaded <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
        scriptUrl <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'script'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'src'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/(\/|^)[\w\.\-]+$/</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'$1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>lib<span style="color: #339933;">,</span> callback<span style="color: #339933;">,</span> scope<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        lib <span style="color: #339933;">=</span> $.<span style="color: #660066;">isArray</span><span style="color: #009900;">&#40;</span> lib <span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> lib<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span> lib <span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #003366; font-weight: bold;">var</span> cb <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            lib.<span style="color: #660066;">shift</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            loaded<span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">url</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span> lib.<span style="color: #660066;">length</span> <span style="color: #339933;">===</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                callback.<span style="color: #660066;">call</span><span style="color: #009900;">&#40;</span>scope<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
        $.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span>lib<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
            <span style="color: #003366; font-weight: bold;">var</span> u <span style="color: #339933;">=</span> scriptUrl <span style="color: #339933;">+</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/(\.js)?$/</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'.js'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span> loaded<span style="color: #009900;">&#91;</span>u<span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> cb<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
            <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span> $.<span style="color: #660066;">getScript</span><span style="color: #009900;">&#40;</span> u<span style="color: #339933;">,</span> cb<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>usage</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">using<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'milibreria.js'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'milibreria.js is loaded'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">using<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'milibreria1.js'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'milibreria2.js'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'milibreria1.js and milibreria2.js are loaded'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://ukesoft.com/blog/index.php/2010/08/25/cargando-javascript-bajo-demanda-con-jquery-simple/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lo que estoy leyendo</title>
		<link>http://ukesoft.com/blog/index.php/2009/07/31/lo-que-estoy-leyendo/</link>
		<comments>http://ukesoft.com/blog/index.php/2009/07/31/lo-que-estoy-leyendo/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 16:41:08 +0000</pubDate>
		<dc:creator>uke</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ukesoft.com/blog/index.php/2009/07/31/lo-que-estoy-leyendo/</guid>
		<description><![CDATA[Lo que estoy leyendo
http://www.google.com/reader/shared/eugeniolattanzio
]]></description>
			<content:encoded><![CDATA[<p>Lo que estoy leyendo</p>
<p style="text-align: center;"><a href="http://www.google.com/reader/shared/eugeniolattanzio">http://www.google.com/reader/shared/eugeniolattanzio</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ukesoft.com/blog/index.php/2009/07/31/lo-que-estoy-leyendo/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Trabajo de Campo UAI 2009</title>
		<link>http://ukesoft.com/blog/index.php/2009/06/25/trabajo-de-campo-uai-2009/</link>
		<comments>http://ukesoft.com/blog/index.php/2009/06/25/trabajo-de-campo-uai-2009/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 12:14:34 +0000</pubDate>
		<dc:creator>uke</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ukesoft.com/blog/?p=170</guid>
		<description><![CDATA[
El proyecto de trabajo de campo de ingeniería en sistemas implica llevar a cabo el desarrollo completo de un sistema desde cero.
En nuestro grupo de trabajo junto con mis compañeros de facultad, elegimos como desarrollo la gestión de un taller.
El proyecto utiliza las bases del Proceso Unificado para el desarrollo de software y UML como [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ukesoft.com/trabajo_de_campo/"><img class="alignright" title="Gestion Integral del Taller" src="http://ukesoft.com/trabajo_de_campo/logo.gif" alt="" width="135" height="135" /></a></p>
<p>El proyecto de trabajo de campo de ingeniería en sistemas implica llevar a cabo el desarrollo completo de un sistema desde cero.</p>
<p>En nuestro grupo de trabajo junto con mis compañeros de facultad, elegimos como desarrollo la gestión de un taller.</p>
<p>El proyecto utiliza las bases del <a href="http://es.wikipedia.org/wiki/Proceso_Unificado">Proceso Unificado</a> para el desarrollo de software y <a href="http://es.wikipedia.org/wiki/UML">UML</a> como herramienta de documentación.</p>
<p>La documentación del proyecto decidimos llevarla en una wiki y esta disponible <a title="Proyecto de trabajo de campo" href="http://ukesoft.com/trabajo_de_campo/">aquí</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ukesoft.com/blog/index.php/2009/06/25/trabajo-de-campo-uai-2009/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

