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

<channel>
	<title>moure.es - Alfonso Moure Ortega &#187; desarrollo</title>
	<atom:link href="http://www.moure.es/category/desarrollo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.moure.es</link>
	<description>innovation is the rule, not the exception</description>
	<lastBuildDate>Thu, 11 Aug 2011 10:07:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Geocodificar una dirección postal con los servicios de Google</title>
		<link>http://www.moure.es/2009/06/geocodificar-una-direccion-postal-con-los-servicios-de-google/</link>
		<comments>http://www.moure.es/2009/06/geocodificar-una-direccion-postal-con-los-servicios-de-google/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 21:01:03 +0000</pubDate>
		<dc:creator>moure</dc:creator>
				<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[gdata]]></category>
		<category><![CDATA[geocodificación]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://www.moure.es/?p=165</guid>
		<description><![CDATA[Es un tema archiconocido y muy usado hoy en día, y por si fuera poco, hipersimple: conseguir las coordenadas de una ubicación por su nombre o mediante una dirección postal. ¿Desde dónde? Pues bueno, hay muchos servicios que ofrecen este tipo de trabajo: desde Geonames (un proyecto increible que recoge coordenadas e información geográfica e [...]]]></description>
			<content:encoded><![CDATA[<p>Es un tema archiconocido y muy usado hoy en día, y por si fuera poco, hipersimple: conseguir las coordenadas de una ubicación por su nombre o mediante una dirección postal. ¿Desde dónde? Pues bueno, hay muchos servicios que ofrecen este tipo de trabajo: desde <a title="Geonames" href="http://www.geonames.org">Geonames</a> (un proyecto increible que recoge coordenadas e información geográfica e incluso demográfica de prácticamente todo el planeta&#8230; muy recomendable) hasta los servicios de <a title="Google Data GData API" href="http://code.google.com/apis/gdata/">GData</a> para <a title="Google Maps API" href="http://code.google.com/apis/maps">Google Maps</a>.</p>
<p>La ventaja de usar Google Data (AKA GData) es que el trabajo ya viene hecho, y de paso, está integrado diréctamente en el Google Maps API y por lo tanto el esfuerzo es minomo. Y encima, podemos hacer la consulta de manera asíncrona mediante AJAX. Si usaramos servicios como el de Geonames deberíamos currarnos nosotros mismos esta parte. Pero bueno, todo esto es texto redundante y a nadie le interesan mis verborreas absurdas sobre este tema. Vamos al grano.</p>
<blockquote><p>function showAddress(address)<br />
{<br />
var geocoder = new GClientGeocoder();<br />
geocoder.getLatLng(address,<br />
function(point)<br />
{<br />
if (!point)<br />
alert(address + &#8221; &#8211;&gt; no encontrado en Google Geo Services.&#8221;);<br />
else<br />
map.setCenter(point, 13);<br />
}<br />
);<br />
}</p></blockquote>
<p>Bien, ¿qué hace éste código? Pues es bien sencillo. Primero creamos la instancia de la clase GClientGeocoder, incluido con el Google Maps API desde su versión 2.55, y que contiene una serie de servicios de geocodificado que nos permiten consultar diferentes datos al mercadillo de Mountain View.</p>
<p>Concretamente nos interesa el método getLatLng, que recibe como parámetro la dirección o nombre de la ubicación que nos interesa, y al recibir la respuesta (callback) ejecutará la función creada, recibiendo como parámetro el punto concreto donde se encuentra el lugar, con un objeto de clase GLatLng. ¡Tachán! Ahí está nuestro resultado. Para centrar la vista en él, solo debemos llamar al método setCenter, pasandole como parámetros el punto en cuestión y el nivel de zoom.</p>
<p>Bueno, todo esto está tirado y todos sabemos hacerlo. Sobretodo porque viene en la documentación de la API, y aunque no es exáctamente esta la explicación que dan, es bastante aproximada.</p>
<p>Pero lo interesante aquí es rizar el rizo: recibir como respuesta lugares cercanos a una ubicación concreta.</p>
<p>Dentro del mundo GEO, y a un nivel fundamentalmente básico, hay tres maneras de representar una ubicación:</p>
<ul>
<li>Sus coordenadas geográficas (latitud, longitud)</li>
<li>Su encuadre en un mapa (latitud noreste, longitud noreste, latitud suroeste, longitud suroeste)</li>
<li>Dirección postal (como, por ejemplo, <em>calle celestina 983</em>)</li>
</ul>
<p>Pues bien, en el mismo objeto GClientGeocoder tenemos un método que nos permite pedir a <a title="Google España" href="http://www.google.es">Google</a> una colección de localizaciones cercanas a una ubicación concreta: <a title="GClientGeocoder getLocations" href="http://code.google.com/apis/maps/documentation/reference.html#GClientGeocoder">getLocations</a>, que puede recibir como parámetro de consulta o una dirección, o un punto GLatLng.</p>
<p>¿Qué nos va a devolver esta llamada? Un objeto estructurado con todos los datos precisos: por un lado, la información detallada de la ubicación pedida, y por otro, el resultado de Google para la ubicación, con todas las ubicaciones almacenadas en un array de <em>Placemarks</em>, tal que así (lo pego diréctamente desde la <a title="Google Maps reverse geocoding" href="http://code.google.com/apis/maps/documentation/services.html">documentación de ejemplo de Google</a>, es más claro así, para la geocodificación inversa):</p>
<blockquote>
<pre class="prettyprint"><span class="pun">[</span><span class="pln">
  </span><span class="pun">{</span><span class="pln">
    name</span><span class="pun">:</span><span class="pln"> </span><span class="str">"Washington, DC"</span><span class="pun">,</span><span class="pln">
    </span><span class="typ">Status</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
      code</span><span class="pun">:</span><span class="pln"> </span><span class="lit">200</span><span class="pun">,</span><span class="pln">
      request</span><span class="pun">:</span><span class="pln"> </span><span class="str">"geocode"</span><span class="pln">
    </span><span class="pun">},</span><span class="pln">
    </span><span class="typ">Placemark</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[</span><span class="pln">
      </span><span class="pun">{</span><span class="pln">
        address</span><span class="pun">:</span><span class="pln"> </span><span class="str">"Washington, DC, USA"</span><span class="pun">,</span><span class="pln">
        population</span><span class="pun">:</span><span class="pln"> </span><span class="str">"0.563M"</span><span class="pun">,</span><span class="pln">
        </span><span class="typ">AddressDetails</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
          </span><span class="typ">Country</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
            </span><span class="typ">CountryNameCode</span><span class="pun">:</span><span class="pln"> </span><span class="str">"US"</span><span class="pun">,</span><span class="pln">
            </span><span class="typ">AdministrativeArea</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
              </span><span class="typ">AdministrativeAreaName</span><span class="pun">:</span><span class="pln"> </span><span class="str">"DC"</span><span class="pun">,</span><span class="pln">
              </span><span class="typ">Locality</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                </span><span class="typ">LocalityName</span><span class="pun">:</span><span class="pln"> </span><span class="str">"Washington"</span><span class="pln">
              </span><span class="pun">}</span><span class="pln">
            </span><span class="pun">}</span><span class="pln">
          </span><span class="pun">},</span><span class="pln">
          </span><span class="typ">Accuracy</span><span class="pun">:</span><span class="pln"> </span><span class="lit">4</span><span class="pln">          
        </span><span class="pun">},</span><span class="pln">
        </span><span class="typ">Point</span><span class="pun">:</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
          coordinates</span><span class="pun">:</span><span class="pln"> </span><span class="pun">[-</span><span class="lit">77.036667</span><span class="pun">,</span><span class="pln"> </span><span class="lit">38.895000</span><span class="pun">,</span><span class="pln"> </span><span class="lit">0</span><span class="pun">]</span><span class="pln">
        </span><span class="pun">}</span><span class="pln">
      </span><span class="pun">}</span><span class="pln">
    </span><span class="pun">]</span><span class="pln">
  </span><span class="pun">},</span><span class="pln">
  </span><span class="pun">...</span><span class="pln"> </span><span class="com">// etc., and so on for other cities</span><span class="pln">
</span><span class="pun">]</span></pre>
</blockquote>
<p>Espero que os sea de utilidad&#8230; Aunque sea algo tan básico.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark</em></strong></a>
<br />
<div class="d">
<br />
<a href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F&amp;submitHeadline=Geocodificar+una+direcci%C3%B3n+postal+con+los+servicios+de+Google&amp;submitSummary=" rel="nofollow" title="Añadir a&nbsp;Buzz"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/buzz.png" title="Añadir a&nbsp;Buzz" alt="Añadir a&nbsp;Buzz" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F&amp;title=Geocodificar+una+direcci%C3%B3n+postal+con+los+servicios+de+Google" rel="nofollow" title="Añadir a&nbsp;Del.icio.us"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/delicious.png" title="Añadir a&nbsp;Del.icio.us" alt="Añadir a&nbsp;Del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F&amp;title=Geocodificar+una+direcci%C3%B3n+postal+con+los+servicios+de+Google" rel="nofollow" title="Añadir a&nbsp;digg"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/digg.png" title="Añadir a&nbsp;digg" alt="Añadir a&nbsp;digg" /></a>
<a href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F&amp;title=Geocodificar+una+direcci%C3%B3n+postal+con+los+servicios+de+Google" rel="nofollow" title="Añadir a&nbsp;DotNetKicks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Añadir a&nbsp;DotNetKicks" alt="Añadir a&nbsp;DotNetKicks" /></a>
<a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F" rel="nofollow" title="Añadir a&nbsp;Facebook"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/facebook.png" title="Añadir a&nbsp;Facebook" alt="Añadir a&nbsp;Facebook" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F&amp;title=Geocodificar+una+direcci%C3%B3n+postal+con+los+servicios+de+Google" rel="nofollow" title="Añadir a&nbsp;Google Bookmarks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/google.png" title="Añadir a&nbsp;Google Bookmarks" alt="Añadir a&nbsp;Google Bookmarks" /></a>
<a href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F&amp;bm_description=Geocodificar+una+direcci%C3%B3n+postal+con+los+servicios+de+Google" rel="nofollow" title="Añadir a&nbsp;Mister Wong"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Añadir a&nbsp;Mister Wong" alt="Añadir a&nbsp;Mister Wong" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F&amp;title=Geocodificar+una+direcci%C3%B3n+postal+con+los+servicios+de+Google" rel="nofollow" title="Añadir a&nbsp;reddit"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/reddit.png" title="Añadir a&nbsp;reddit" alt="Añadir a&nbsp;reddit" /></a>
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F&amp;title=Geocodificar+una+direcci%C3%B3n+postal+con+los+servicios+de+Google" rel="nofollow" title="Añadir a&nbsp;Slashdot"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Añadir a&nbsp;Slashdot" alt="Añadir a&nbsp;Slashdot" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F&amp;title=Geocodificar+una+direcci%C3%B3n+postal+con+los+servicios+de+Google" rel="nofollow" title="Añadir a&nbsp;Stumble Upon"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Añadir a&nbsp;Stumble Upon" alt="Añadir a&nbsp;Stumble Upon" /></a>
<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F" rel="nofollow" title="Añadir a&nbsp;Technorati"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/technorati.png" title="Añadir a&nbsp;Technorati" alt="Añadir a&nbsp;Technorati" /></a>
<a href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F" rel="nofollow" title="Añadir a&nbsp;Tip'd"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/tipd.png" title="Añadir a&nbsp;Tip'd" alt="Añadir a&nbsp;Tip'd" /></a>
<a href="http://twitter.com/home/?status=Check+out+Geocodificar+una+direcci%C3%B3n+postal+con+los+servicios+de+Google+@+http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F" rel="nofollow" title="Añadir a&nbsp;Twitter"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/twitter.png" title="Añadir a&nbsp;Twitter" alt="Añadir a&nbsp;Twitter" /></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fgeocodificar-una-direccion-postal-con-los-servicios-de-google%2F&amp;t=Geocodificar+una+direcci%C3%B3n+postal+con+los+servicios+de+Google" rel="nofollow" title="Añadir a&nbsp;Yahoo My Web"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Añadir a&nbsp;Yahoo My Web" alt="Añadir a&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.moure.es/2009/06/geocodificar-una-direccion-postal-con-los-servicios-de-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Peleando para trabajar con AJAX, JSON y PHP</title>
		<link>http://www.moure.es/2009/06/peleando-para-trabajar-con-ajax-json-y-php/</link>
		<comments>http://www.moure.es/2009/06/peleando-para-trabajar-con-ajax-json-y-php/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 21:25:22 +0000</pubDate>
		<dc:creator>moure</dc:creator>
				<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[addons]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.moure.es/?p=158</guid>
		<description><![CDATA[Bueno, como vistes en mi anterior post, ando jugueteando a ratos con Javascript y algunas de sus mejores funcionalidades (o metodologías, como prefiráis): AJAX y JSON. Como muchos sabéis, la gran utilidad que se nos presenta explotando estas tres tecnologías (este método, éste protocolo y este lenguaje de programación de scripting de lado de servidor, [...]]]></description>
			<content:encoded><![CDATA[<p>Bueno, como vistes en mi anterior post, ando jugueteando a ratos con Javascript y algunas de sus mejores funcionalidades (o metodologías, como prefiráis): AJAX y <a title="JSON con PHP" href="http://www.moure.es/2009/06/ajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente/">JSON</a>. Como muchos sabéis, la gran utilidad que se nos presenta explotando estas tres tecnologías (este método, éste protocolo y este lenguaje de programación de scripting de lado de servidor, para ser exáctos) es la posibilidad de intercambiar datos entre cliente y servidor de manera asíncrona y sin tener que recargar todo el HTML de la página, y por lo tanto, de enviar comandos en uno u otro sentido y conocer el resultado de los mismos.</p>
<p>En PHP existen dos maneras de recoger información que venga del exterior: mediante GET o mediante POST. Cuando trabajamos con GET, podemos probar bien nuestras aplicaciones haciendo uso del ya bien conocido QueryString de la URL, pero cuando tratemos de trabajar diréctamente mediante POST (bastante más seguro y útil) la cosa se vuelve más complicada.</p>
<p>¿Quién no ha desperdiciado horas tratando de enviar parámetros por POST a una aplicación PHP para probar su funcionamiento?</p>
<p>Hoy he visto la luz. Que sí, que muchos ya conoceríais su existencia, pero&#8230; he encontrado este Addon de Firefox que nos permite controlar los parámetros que enviamos a la aplicación tanto mediante GET como POST y probar así diferentes juegos de prueba. Se llama <a title="Tamper Data, Firefox addon" href="https://addons.mozilla.org/en-US/firefox/addon/966">Tamper Data</a>, y os puede facilitar mucho la vida <img src='http://www.moure.es/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Mira que siempre he sido un buen amante de los <a title="Firefox addons" href="http://www.webdesignbooth.com/35-absolutely-useful-firefox-plugins-for-web-designers-and-developers/">addons para Firefox</a>, pero por suerte o por desgracia soy un programador muy tradicional y siemre intento hacer todo <em>a manita</em> y pasando de herramientas externas siempre que me fuera posible. Porque, como bien me dicen mis amigos, siempre me gusta reinventar la rueda&#8230; ¡qué le vamos a hacer!</p>
<p>Y, como no, también nos permitirá ver la respuesta que recibimos del servidor de manera sencilla, aunque si trabajais con JSON, os recomiendo también instalar otra extensión: <a title="JSONView" href="https://addons.mozilla.org/en-US/firefox/addon/10869">JSONView</a>, que nos mostrará formateada y resaltada mediante diferentes colores y formas nuestras estructuras JSON sin necesidad de andar haciendo <em>pirulas</em> con nuestro Javascript (esos históricos <em>alert(miobjeto.toString());</em> que tanto usamos para hacer pruebas de Javascript&#8230;</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark</em></strong></a>
<br />
<div class="d">
<br />
<a href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F&amp;submitHeadline=Peleando+para+trabajar+con+AJAX%2C+JSON+y+PHP&amp;submitSummary=" rel="nofollow" title="Añadir a&nbsp;Buzz"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/buzz.png" title="Añadir a&nbsp;Buzz" alt="Añadir a&nbsp;Buzz" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F&amp;title=Peleando+para+trabajar+con+AJAX%2C+JSON+y+PHP" rel="nofollow" title="Añadir a&nbsp;Del.icio.us"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/delicious.png" title="Añadir a&nbsp;Del.icio.us" alt="Añadir a&nbsp;Del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F&amp;title=Peleando+para+trabajar+con+AJAX%2C+JSON+y+PHP" rel="nofollow" title="Añadir a&nbsp;digg"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/digg.png" title="Añadir a&nbsp;digg" alt="Añadir a&nbsp;digg" /></a>
<a href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F&amp;title=Peleando+para+trabajar+con+AJAX%2C+JSON+y+PHP" rel="nofollow" title="Añadir a&nbsp;DotNetKicks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Añadir a&nbsp;DotNetKicks" alt="Añadir a&nbsp;DotNetKicks" /></a>
<a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F" rel="nofollow" title="Añadir a&nbsp;Facebook"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/facebook.png" title="Añadir a&nbsp;Facebook" alt="Añadir a&nbsp;Facebook" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F&amp;title=Peleando+para+trabajar+con+AJAX%2C+JSON+y+PHP" rel="nofollow" title="Añadir a&nbsp;Google Bookmarks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/google.png" title="Añadir a&nbsp;Google Bookmarks" alt="Añadir a&nbsp;Google Bookmarks" /></a>
<a href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F&amp;bm_description=Peleando+para+trabajar+con+AJAX%2C+JSON+y+PHP" rel="nofollow" title="Añadir a&nbsp;Mister Wong"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Añadir a&nbsp;Mister Wong" alt="Añadir a&nbsp;Mister Wong" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F&amp;title=Peleando+para+trabajar+con+AJAX%2C+JSON+y+PHP" rel="nofollow" title="Añadir a&nbsp;reddit"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/reddit.png" title="Añadir a&nbsp;reddit" alt="Añadir a&nbsp;reddit" /></a>
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F&amp;title=Peleando+para+trabajar+con+AJAX%2C+JSON+y+PHP" rel="nofollow" title="Añadir a&nbsp;Slashdot"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Añadir a&nbsp;Slashdot" alt="Añadir a&nbsp;Slashdot" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F&amp;title=Peleando+para+trabajar+con+AJAX%2C+JSON+y+PHP" rel="nofollow" title="Añadir a&nbsp;Stumble Upon"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Añadir a&nbsp;Stumble Upon" alt="Añadir a&nbsp;Stumble Upon" /></a>
<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F" rel="nofollow" title="Añadir a&nbsp;Technorati"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/technorati.png" title="Añadir a&nbsp;Technorati" alt="Añadir a&nbsp;Technorati" /></a>
<a href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F" rel="nofollow" title="Añadir a&nbsp;Tip'd"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/tipd.png" title="Añadir a&nbsp;Tip'd" alt="Añadir a&nbsp;Tip'd" /></a>
<a href="http://twitter.com/home/?status=Check+out+Peleando+para+trabajar+con+AJAX%2C+JSON+y+PHP+@+http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F" rel="nofollow" title="Añadir a&nbsp;Twitter"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/twitter.png" title="Añadir a&nbsp;Twitter" alt="Añadir a&nbsp;Twitter" /></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fpeleando-para-trabajar-con-ajax-json-y-php%2F&amp;t=Peleando+para+trabajar+con+AJAX%2C+JSON+y+PHP" rel="nofollow" title="Añadir a&nbsp;Yahoo My Web"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Añadir a&nbsp;Yahoo My Web" alt="Añadir a&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.moure.es/2009/06/peleando-para-trabajar-con-ajax-json-y-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AJAX, JSON y jQuery, llamando a funciones de PHP desde el cliente</title>
		<link>http://www.moure.es/2009/06/ajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente/</link>
		<comments>http://www.moure.es/2009/06/ajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 23:17:52 +0000</pubDate>
		<dc:creator>moure</dc:creator>
				<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[informática]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://www.moure.es/?p=147</guid>
		<description><![CDATA[¿Alguna vez habéis querido llamar a métodos PHP desde el lado del cliente mediante AJAX? Pues bien, es bastante sencillo y voy a explicarlo de un modo rápido. Puntualizo que para la comunicación usaré el formato JSON (Javascript Object Notation) para la toma y devolución de datos. Para facilitar las peticiones usaremos jQuery, que ya [...]]]></description>
			<content:encoded><![CDATA[<p>¿Alguna vez habéis querido llamar a métodos PHP desde el lado del cliente mediante AJAX? Pues bien, es bastante sencillo y voy a explicarlo de un modo rápido. Puntualizo que para la comunicación usaré el formato <a title="JSON - Javascript Object Notation" href="http://www.json.org/">JSON</a> (Javascript Object Notation) para la toma y devolución de datos.</p>
<p>Para facilitar las peticiones usaremos <a title="jQuery" href="http://jquery.com/">jQuery</a>, que ya trae en sí todo lo necesario para poder realizar este tipo de petición. Primero vamos a crear una función en PHP que multiplique dos números, tal que así:</p>
<blockquote><p>function Multiplicar(a,b) { return a*b; }</p></blockquote>
<p>Hasta aquí supongo que todos hemos llegado. Ahora viene lo divertido&#8230; Creamos la parte de cliente, en Javascript, una vez hayamos incrustado la librería de jQuery en nuestra página:</p>
<blockquote><p>function DoMultiplicar(p_a,p_b)<br />
{<br />
$.post(ruta_al_servicio, {a:p_a,b:p_b,cmd:&#8221;multiplica&#8221;},<br />
function(data)<br />
{<br />
eval(&#8220;var obj = &#8221; + data + &#8220;;&#8221;);<br />
alert(data.result);<br />
}<br />
, &#8220;json&#8221;);<br />
}</p></blockquote>
<p>Y procesamos la petición en PHP:</p>
<blockquote><p>if ($_POST["cmd"] == &#8220;multiplica&#8221;)<br />
Multiplicar($_POST["a"],$_POST["b"]);</p></blockquote>
<p>Vale, pero, ¿qué ha hecho todo esto? Pues muy sencillo&#8230; Por la parte de Javascript, hemos llamado al método $.post, al cuál le hemos pasado como parámetros, en el mismo orden:</p>
<ul>
<li>Ruta al servicio: ruta absoluta al fichero PHP que controla la petición por POST, y que se encarga de la llamada al método Multiplicar.</li>
<li>Parámetros: mediante la notación de objetos de Javascript (JSON), introducimos los difentes parámetros que usará nuestro script de servidor. Para los que no estén familiarizados con JSON, es un protocolo de declaración de objetos de Javascript, que permite crear una estructura de objeto mediante una cadena sencilla, rodeada por llaves, donde cada miembro se separa por comas. Para más información, consultar la página oficial de <a title="JSON - Javascript Object Notation" href="http://www.json.org/">JSON</a>, donde apareden numerosos ejemplos con los que aprender.</li>
<li>Método callback: función que recoge, en este caso, el resultado de la petición. Lo hemos llamado data, pero podéis llamarlo como mejor os venga para vuestro trabajo: el parámetro que recibe será siempre la respuesta del servidor.</li>
</ul>
<p>Una vez recogido el resultado con el callback, ya lo tenemos: el resultado de la multiplicación. Si tenéis dudas, no tengáis problema en dejar comentarios&#8230; aunque sé que este pequeño tutorial es sencillo y básico para muchos <img src='http://www.moure.es/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , puede que para otros no tanto.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark</em></strong></a>
<br />
<div class="d">
<br />
<a href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F&amp;submitHeadline=AJAX%2C+JSON+y+jQuery%2C+llamando+a+funciones+de+PHP+desde+el+cliente&amp;submitSummary=" rel="nofollow" title="Añadir a&nbsp;Buzz"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/buzz.png" title="Añadir a&nbsp;Buzz" alt="Añadir a&nbsp;Buzz" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F&amp;title=AJAX%2C+JSON+y+jQuery%2C+llamando+a+funciones+de+PHP+desde+el+cliente" rel="nofollow" title="Añadir a&nbsp;Del.icio.us"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/delicious.png" title="Añadir a&nbsp;Del.icio.us" alt="Añadir a&nbsp;Del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F&amp;title=AJAX%2C+JSON+y+jQuery%2C+llamando+a+funciones+de+PHP+desde+el+cliente" rel="nofollow" title="Añadir a&nbsp;digg"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/digg.png" title="Añadir a&nbsp;digg" alt="Añadir a&nbsp;digg" /></a>
<a href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F&amp;title=AJAX%2C+JSON+y+jQuery%2C+llamando+a+funciones+de+PHP+desde+el+cliente" rel="nofollow" title="Añadir a&nbsp;DotNetKicks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Añadir a&nbsp;DotNetKicks" alt="Añadir a&nbsp;DotNetKicks" /></a>
<a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F" rel="nofollow" title="Añadir a&nbsp;Facebook"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/facebook.png" title="Añadir a&nbsp;Facebook" alt="Añadir a&nbsp;Facebook" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F&amp;title=AJAX%2C+JSON+y+jQuery%2C+llamando+a+funciones+de+PHP+desde+el+cliente" rel="nofollow" title="Añadir a&nbsp;Google Bookmarks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/google.png" title="Añadir a&nbsp;Google Bookmarks" alt="Añadir a&nbsp;Google Bookmarks" /></a>
<a href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F&amp;bm_description=AJAX%2C+JSON+y+jQuery%2C+llamando+a+funciones+de+PHP+desde+el+cliente" rel="nofollow" title="Añadir a&nbsp;Mister Wong"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Añadir a&nbsp;Mister Wong" alt="Añadir a&nbsp;Mister Wong" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F&amp;title=AJAX%2C+JSON+y+jQuery%2C+llamando+a+funciones+de+PHP+desde+el+cliente" rel="nofollow" title="Añadir a&nbsp;reddit"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/reddit.png" title="Añadir a&nbsp;reddit" alt="Añadir a&nbsp;reddit" /></a>
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F&amp;title=AJAX%2C+JSON+y+jQuery%2C+llamando+a+funciones+de+PHP+desde+el+cliente" rel="nofollow" title="Añadir a&nbsp;Slashdot"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Añadir a&nbsp;Slashdot" alt="Añadir a&nbsp;Slashdot" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F&amp;title=AJAX%2C+JSON+y+jQuery%2C+llamando+a+funciones+de+PHP+desde+el+cliente" rel="nofollow" title="Añadir a&nbsp;Stumble Upon"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Añadir a&nbsp;Stumble Upon" alt="Añadir a&nbsp;Stumble Upon" /></a>
<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F" rel="nofollow" title="Añadir a&nbsp;Technorati"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/technorati.png" title="Añadir a&nbsp;Technorati" alt="Añadir a&nbsp;Technorati" /></a>
<a href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F" rel="nofollow" title="Añadir a&nbsp;Tip'd"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/tipd.png" title="Añadir a&nbsp;Tip'd" alt="Añadir a&nbsp;Tip'd" /></a>
<a href="http://twitter.com/home/?status=Check+out+AJAX%2C+JSON+y+jQuery%2C+llamando+a+funciones+de+PHP+desde+el+cliente+@+http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F" rel="nofollow" title="Añadir a&nbsp;Twitter"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/twitter.png" title="Añadir a&nbsp;Twitter" alt="Añadir a&nbsp;Twitter" /></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.moure.es%2F2009%2F06%2Fajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente%2F&amp;t=AJAX%2C+JSON+y+jQuery%2C+llamando+a+funciones+de+PHP+desde+el+cliente" rel="nofollow" title="Añadir a&nbsp;Yahoo My Web"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Añadir a&nbsp;Yahoo My Web" alt="Añadir a&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.moure.es/2009/06/ajax-y-jquery-llamando-a-funciones-de-php-desde-el-cliente/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Google Wave: reinventando Internet</title>
		<link>http://www.moure.es/2009/05/google-wave-reinventando-internet/</link>
		<comments>http://www.moure.es/2009/05/google-wave-reinventando-internet/#comments</comments>
		<pubDate>Sat, 30 May 2009 20:28:46 +0000</pubDate>
		<dc:creator>moure</dc:creator>
				<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[opinión]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[videos]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.moure.es/?p=143</guid>
		<description><![CDATA[Ayer tuve una experiencia extraordinaria: me tragué uno de los videos del Google I/O, concretamente aquel en el que nos presentaban uno de los nuevos proyectos (proyectazos) de los chicos de Mountain View: Google Wave. Google Wave es un nuevo concepto de comunicación online. Como decían en la propia presentación, es &#8220;reinventar el correo electrónico&#8221;, [...]]]></description>
			<content:encoded><![CDATA[<p>Ayer tuve una experiencia extraordinaria: me tragué uno de los videos del Google I/O, concretamente aquel en el que nos presentaban uno de los nuevos proyectos (proyectazos) de los chicos de Mountain View: Google Wave.</p>
<p>Google Wave es un nuevo concepto de comunicación online. Como decían en la propia presentación, es &#8220;reinventar el correo electrónico&#8221;, porque &#8220;¿cómo sería el correo electrónico si hubiera sido inventado ahora?&#8221;. Pues su punto más básico es llevar el tradicional modo de comunicación por correo (postal o email) basado en &#8220;envio un mensaje a uno o varios destinatarios y ellos responden&#8221;, a un nivel superior: la conversación.</p>
<p>Chat, chat, chat. No es un chat, aunque pueda parecerlo. En Google Wave, lo que tenemos no son canales ni charlas, son waves. Un wave es básicamente un hilo de comunicación entre personas, donde pueden charlar, publicar fotografías, videos, mapas, textos&#8230; lo que quieran. De manera lineal o colaboratiba, no importa. Se define como un medio de comunicación y colaboración.</p>
<p>Fusión entre el chat, blog, email, social network&#8230; Todo. Increible.</p>
<p>Os dejo el video. Debéis verlo, es flipante. Estoy deseando ponerle las manos encima a la primera beta&#8230;</p>
<p><object width="560" height="340" data="http://www.youtube.com/v/v_UyVmITiYQ&amp;hl=es&amp;fs=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/v_UyVmITiYQ&amp;hl=es&amp;fs=1" /><param name="allowfullscreen" value="true" /></object></p>
<p>Os dejo además tres enlaces que os pueden servir para descubrir más sobre Google Wave:</p>
<ul>
<li><a title="Google Wave Preview" href="http://wave.google.com/">Google Wave Preview</a></li>
<li><span style="text-decoration: line-through;">Google</span> <a title="Wave Protocol" href="http://www.waveprotocol.org/">Wave Protocol</a> (Open Source)</li>
<li><a title="Google Wave API" href="http://code.google.com/apis/wave/">Google Wave API Project</a></li>
</ul>
<p>Como digo aquí arriba, es Open Source, y ya han realizado varias propuestas para estandarizar alguna de sus funcionabilidades más impresionantes para que puedan usarse por todo Internet, desde cualquier navegador. Gracias pequeños genios por vuestro incansable trabajo&#8230;</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark</em></strong></a>
<br />
<div class="d">
<br />
<a href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F&amp;submitHeadline=Google+Wave%3A+reinventando+Internet&amp;submitSummary=" rel="nofollow" title="Añadir a&nbsp;Buzz"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/buzz.png" title="Añadir a&nbsp;Buzz" alt="Añadir a&nbsp;Buzz" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F&amp;title=Google+Wave%3A+reinventando+Internet" rel="nofollow" title="Añadir a&nbsp;Del.icio.us"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/delicious.png" title="Añadir a&nbsp;Del.icio.us" alt="Añadir a&nbsp;Del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F&amp;title=Google+Wave%3A+reinventando+Internet" rel="nofollow" title="Añadir a&nbsp;digg"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/digg.png" title="Añadir a&nbsp;digg" alt="Añadir a&nbsp;digg" /></a>
<a href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F&amp;title=Google+Wave%3A+reinventando+Internet" rel="nofollow" title="Añadir a&nbsp;DotNetKicks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Añadir a&nbsp;DotNetKicks" alt="Añadir a&nbsp;DotNetKicks" /></a>
<a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F" rel="nofollow" title="Añadir a&nbsp;Facebook"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/facebook.png" title="Añadir a&nbsp;Facebook" alt="Añadir a&nbsp;Facebook" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F&amp;title=Google+Wave%3A+reinventando+Internet" rel="nofollow" title="Añadir a&nbsp;Google Bookmarks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/google.png" title="Añadir a&nbsp;Google Bookmarks" alt="Añadir a&nbsp;Google Bookmarks" /></a>
<a href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F&amp;bm_description=Google+Wave%3A+reinventando+Internet" rel="nofollow" title="Añadir a&nbsp;Mister Wong"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Añadir a&nbsp;Mister Wong" alt="Añadir a&nbsp;Mister Wong" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F&amp;title=Google+Wave%3A+reinventando+Internet" rel="nofollow" title="Añadir a&nbsp;reddit"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/reddit.png" title="Añadir a&nbsp;reddit" alt="Añadir a&nbsp;reddit" /></a>
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F&amp;title=Google+Wave%3A+reinventando+Internet" rel="nofollow" title="Añadir a&nbsp;Slashdot"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Añadir a&nbsp;Slashdot" alt="Añadir a&nbsp;Slashdot" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F&amp;title=Google+Wave%3A+reinventando+Internet" rel="nofollow" title="Añadir a&nbsp;Stumble Upon"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Añadir a&nbsp;Stumble Upon" alt="Añadir a&nbsp;Stumble Upon" /></a>
<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F" rel="nofollow" title="Añadir a&nbsp;Technorati"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/technorati.png" title="Añadir a&nbsp;Technorati" alt="Añadir a&nbsp;Technorati" /></a>
<a href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F" rel="nofollow" title="Añadir a&nbsp;Tip'd"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/tipd.png" title="Añadir a&nbsp;Tip'd" alt="Añadir a&nbsp;Tip'd" /></a>
<a href="http://twitter.com/home/?status=Check+out+Google+Wave%3A+reinventando+Internet+@+http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F" rel="nofollow" title="Añadir a&nbsp;Twitter"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/twitter.png" title="Añadir a&nbsp;Twitter" alt="Añadir a&nbsp;Twitter" /></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fgoogle-wave-reinventando-internet%2F&amp;t=Google+Wave%3A+reinventando+Internet" rel="nofollow" title="Añadir a&nbsp;Yahoo My Web"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Añadir a&nbsp;Yahoo My Web" alt="Añadir a&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.moure.es/2009/05/google-wave-reinventando-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rich Snippets: microformatos y RDFa en Google</title>
		<link>http://www.moure.es/2009/05/rich-snippets-microformatos-y-rdfa-en-google/</link>
		<comments>http://www.moure.es/2009/05/rich-snippets-microformatos-y-rdfa-en-google/#comments</comments>
		<pubDate>Thu, 14 May 2009 17:30:48 +0000</pubDate>
		<dc:creator>moure</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[informática]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[moure.es]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[microformatos]]></category>
		<category><![CDATA[rdfa]]></category>
		<category><![CDATA[rich snippets]]></category>
		<category><![CDATA[semántica]]></category>

		<guid isPermaLink="false">http://www.moure.es/?p=118</guid>
		<description><![CDATA[Desde hace tiempo ya venimos escuchando la nueva ola de la Web 3.0, incluso antes si quiera de comprender el verdadero significado (si es que tiene alguno) de la Web 2.0. Y éste nuevo significado en la era 3.0 no es otro que el semántico: dotar de significado y sentido a elementos de información dentro [...]]]></description>
			<content:encoded><![CDATA[<p>Desde hace tiempo ya venimos escuchando la nueva ola de la <a title="Web 3.0 - significado - semántica en la web" href="http://es.wikipedia.org/wiki/Web_3.0">Web 3.0</a>, incluso antes si quiera de comprender el verdadero significado (si es que tiene alguno) de la<a title="Web 2.0" href="http://es.wikipedia.org/wiki/Web_2.0"> Web 2.0</a>.</p>
<p>Y éste nuevo significado en la era 3.0 no es otro que el semántico: dotar de significado y sentido a elementos de información dentro del HTML.</p>
<p>Pero como siempre, falta el apoyo de las grandes marcas. No importa que pequeños y aislados grupos de personas trabajen para crear nuevas maneras de llevar a un nuevo punto el potencial de Internet, mientras gente como Google no promocione sus creaciones, éstas tienen el peligro de caer en el olvido, o peor aun, de extinguirse para siempre.</p>
<p>Éste es el caso de los microformatos (o <a title="Microformats" href="http://microformats.org/about/">microformats</a>), una colección de atributos que pueden ser añadidos a nuestras etiquetas tradicionales para dotar de un significado o sentido a la información que encierran. Ahora ha llegado su momento de explosión, largamente esperado: <a title="Rich Snippets Google" href="http://www.google.com/support/webmasters/bin/topic.py?topic=21997">Google implanta los rich snippets</a>, al fin de un modo oficial.</p>
<p>Gracias a estos cambios, podremos mejorar ya no el posicionamiento de nuestros contenidos, sino su presentación en los SERPs y el modo en que los usuarios captan el sentido de la página antes incluso de entrar. Podremos presentar a Google una información mucho más rica sobre nuestros productos o servicios que ofrecemos a los visitantes, o si lo preferimos, indicarle nuestra ubicación geográfica o interrelación entre apartados de nuestro site.</p>
<p>Un ejemplo sencillo: el review o artículo de opinión o revista sobre algo. A todos nos ayuda buscar opiniones de otra gente sobre un producto que queremos adquirir. Esto nos lleva su tiempo, porque aunque existen herramientas ya preparadas para localizar reviews, a veces esto lleva un buen rato, y un rato siempre se convierte en una brutal pérdida de tiempo. Y el tiempo es oro.</p>
<p>¿Y si permitimos que Google publique en su SERP la puntuación de nuestro <a title="Reviews en rich snippets" href="http://www.google.com/support/webmasters/bin/answer.py?answer=146645">review</a> y alguna anotación en lugar del típico trozo de texto de la misma? ¿No será más util que muestre algo que realmente le inspire interés al usuario? Pues claro que sí:</p>
<blockquote><p>&lt;div class=&#8221;hReview&#8221;&gt;<br />
&lt;span class=&#8221;item&#8221;&gt;<br />
&lt;span class=&#8221;fn&#8221;&gt;L&#8217;Amourita Pizza&lt;/span&gt;<br />
&lt;/span&gt;<br />
&lt;span class=&#8221;rating&#8221;&gt;3.5&lt;/span&gt;<br />
&lt;span class=&#8221;reviewer&#8221;&gt;Ulysses Grant&lt;/div&gt;<br />
&lt;span class=&#8221;dtreviewed&#8221;&gt;2009-01-06&lt;/span&gt;<br />
&lt;span class=&#8221;summary&#8221;&gt;&#8221;Delicious, tasty pizza in Eastlake.&#8221;&lt;/span&gt;<br />
&lt;/div&gt;</p></blockquote>
<p style="text-align: center;">
<div class="wp-caption aligncenter" style="width: 429px"><img title="Google Rich Snippet" src="http://www.moure.es/images/rich-snippet-google.png" alt="Efectos del Google Rich Snippet" width="419" height="65" /><p class="wp-caption-text">Efectos del Google Rich Snippet</p></div>
<p>Este ejemplo está literalmente cogido de la documentación de <a title="Rich Snippets Google for reviews" href="http://www.google.com/support/webmasters/bin/answer.py?answer=146645">Google para rich snippets de reviews</a>. Soy poco original, lo sé.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark</em></strong></a>
<br />
<div class="d">
<br />
<a href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F&amp;submitHeadline=Rich+Snippets%3A+microformatos+y+RDFa+en+Google&amp;submitSummary=" rel="nofollow" title="Añadir a&nbsp;Buzz"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/buzz.png" title="Añadir a&nbsp;Buzz" alt="Añadir a&nbsp;Buzz" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F&amp;title=Rich+Snippets%3A+microformatos+y+RDFa+en+Google" rel="nofollow" title="Añadir a&nbsp;Del.icio.us"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/delicious.png" title="Añadir a&nbsp;Del.icio.us" alt="Añadir a&nbsp;Del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F&amp;title=Rich+Snippets%3A+microformatos+y+RDFa+en+Google" rel="nofollow" title="Añadir a&nbsp;digg"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/digg.png" title="Añadir a&nbsp;digg" alt="Añadir a&nbsp;digg" /></a>
<a href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F&amp;title=Rich+Snippets%3A+microformatos+y+RDFa+en+Google" rel="nofollow" title="Añadir a&nbsp;DotNetKicks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Añadir a&nbsp;DotNetKicks" alt="Añadir a&nbsp;DotNetKicks" /></a>
<a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F" rel="nofollow" title="Añadir a&nbsp;Facebook"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/facebook.png" title="Añadir a&nbsp;Facebook" alt="Añadir a&nbsp;Facebook" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F&amp;title=Rich+Snippets%3A+microformatos+y+RDFa+en+Google" rel="nofollow" title="Añadir a&nbsp;Google Bookmarks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/google.png" title="Añadir a&nbsp;Google Bookmarks" alt="Añadir a&nbsp;Google Bookmarks" /></a>
<a href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F&amp;bm_description=Rich+Snippets%3A+microformatos+y+RDFa+en+Google" rel="nofollow" title="Añadir a&nbsp;Mister Wong"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Añadir a&nbsp;Mister Wong" alt="Añadir a&nbsp;Mister Wong" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F&amp;title=Rich+Snippets%3A+microformatos+y+RDFa+en+Google" rel="nofollow" title="Añadir a&nbsp;reddit"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/reddit.png" title="Añadir a&nbsp;reddit" alt="Añadir a&nbsp;reddit" /></a>
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F&amp;title=Rich+Snippets%3A+microformatos+y+RDFa+en+Google" rel="nofollow" title="Añadir a&nbsp;Slashdot"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Añadir a&nbsp;Slashdot" alt="Añadir a&nbsp;Slashdot" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F&amp;title=Rich+Snippets%3A+microformatos+y+RDFa+en+Google" rel="nofollow" title="Añadir a&nbsp;Stumble Upon"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Añadir a&nbsp;Stumble Upon" alt="Añadir a&nbsp;Stumble Upon" /></a>
<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F" rel="nofollow" title="Añadir a&nbsp;Technorati"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/technorati.png" title="Añadir a&nbsp;Technorati" alt="Añadir a&nbsp;Technorati" /></a>
<a href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F" rel="nofollow" title="Añadir a&nbsp;Tip'd"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/tipd.png" title="Añadir a&nbsp;Tip'd" alt="Añadir a&nbsp;Tip'd" /></a>
<a href="http://twitter.com/home/?status=Check+out+Rich+Snippets%3A+microformatos+y+RDFa+en+Google+@+http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F" rel="nofollow" title="Añadir a&nbsp;Twitter"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/twitter.png" title="Añadir a&nbsp;Twitter" alt="Añadir a&nbsp;Twitter" /></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Frich-snippets-microformatos-y-rdfa-en-google%2F&amp;t=Rich+Snippets%3A+microformatos+y+RDFa+en+Google" rel="nofollow" title="Añadir a&nbsp;Yahoo My Web"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Añadir a&nbsp;Yahoo My Web" alt="Añadir a&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.moure.es/2009/05/rich-snippets-microformatos-y-rdfa-en-google/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>ViewState y Google: ¿afecta a los trabajos de indexado?</title>
		<link>http://www.moure.es/2009/05/viewstate-y-google-%c2%bfafecta-a-los-trabajos-de-indexado/</link>
		<comments>http://www.moure.es/2009/05/viewstate-y-google-%c2%bfafecta-a-los-trabajos-de-indexado/#comments</comments>
		<pubDate>Wed, 13 May 2009 22:00:39 +0000</pubDate>
		<dc:creator>moure</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[aps.net]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[viewstate]]></category>

		<guid isPermaLink="false">http://www.moure.es/?p=114</guid>
		<description><![CDATA[Se escucha desde hace mucho tiempo el sonido distante de éste mismo problema: ¿afecta la existencia del ViewState de ASP.NET en el indexado de Google? La respuesta solo puede tomar dos valores: sí o no. Y cada persona, cada SEO, cada gurú de Internet, os responderá una cosa diferente. Por supuesto, yo también tengo mi [...]]]></description>
			<content:encoded><![CDATA[<p>Se escucha desde hace mucho tiempo el sonido distante de éste mismo problema: ¿afecta la existencia del <a title="ViewState ASP.NET" href="http://www.moure.es/2008/08/pasando-variables-entre-callbacks-en-aspnet-viewstate/">ViewState</a> de ASP.NET en el indexado de Google? La respuesta solo puede tomar dos valores: sí o no. Y cada persona, cada <a title="SEO" href="http://www.moure.es/tag/seo/">SEO</a>, cada gurú de Internet, os responderá una cosa diferente. Por supuesto, yo también tengo mi teoría.</p>
<p>Y es la siguiente: sí, el <strong>ViewState de ASP.NET afecta al posicionamiento en <a title="Google SearchWiki" href="http://www.moure.es/2008/11/searchwiki-el-experimento/">Google</a></strong>. ¿Por qué? Os doy varias razones:</p>
<ol>
<li>Por su tamaño: en páginas demasiado complejas y con una gran carga de controles <strong>ASP.NET</strong>, ocupará tanto espacio que nos arriesgamos no solo a perjudicar a los usuarios menos favorecidos en su velocidad de conexión, sino que también nos arriesgaremos a producir un timeout en las consultas de Google.</li>
<li>Por el desplazamiento de contenido: Google utiliza como <strong>criterio de posicionamiento</strong>, como todos bien sabemos, la posición de la información y metainformación dentro del documento HTML. Un ViewState demasiado grande moverá los datos realmente importantes (es decir, todo el BODY) hacia abajo.</li>
<li>Por su incoherencia como información: El contenido del ViewState es incomprensible, no solo para un humano, sino también para una máquina ajena a la aplicación ASP.NET en ejecución. Incluso a veces es incomprensible para ella misma.</li>
</ol>
<p>¿Cómo evitar su existencia? No siempre es posible. El uso de callbacks en ASP.NET, aunque es algo muy cómodo, no es ni de lejos recomendable para atraer a Google. Todos lo sabemos. Pero a veces, se hace inevitable.</p>
<p>De todas maneras, si podéis evitar el uso de ViewState (y por favor, no uséis variables de sesión, porque os volveréis majaras trabajando con ellas), os digo un modo bien sencillo de desactivarlo: en la etiqueta inicial de vuestra página ASP.NET, no hay más que activar EnableViewState como false:</p>
<p style="text-align: center;">&lt;%@ Page Language=&#8221;C#&#8221; <strong>EnableViewState=&#8221;False&#8221;</strong> %&gt;</p>
<p>Lógicamente podéis usar este mismo atributo en cualquier control de vuestra página, pero gracias a realizarlo a nivel de Page, os aseguraréis de que se extiende como es debído y que nada se os pase por alto. Recordad así mismo que podéis establecer EnableViewState como false a nivel de página, pero como true a nivel de control, simplemente indicandolo en la etiqueta propia del elemento que queréis que pueda usar nuestro valioso espacio de control de estado.</p>
<p>¿Dudas? Dejad un comentario y gustoso os echaré una mano.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark</em></strong></a>
<br />
<div class="d">
<br />
<a href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F&amp;submitHeadline=ViewState+y+Google%3A+%C2%BFafecta+a+los+trabajos+de+indexado%3F&amp;submitSummary=" rel="nofollow" title="Añadir a&nbsp;Buzz"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/buzz.png" title="Añadir a&nbsp;Buzz" alt="Añadir a&nbsp;Buzz" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F&amp;title=ViewState+y+Google%3A+%C2%BFafecta+a+los+trabajos+de+indexado%3F" rel="nofollow" title="Añadir a&nbsp;Del.icio.us"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/delicious.png" title="Añadir a&nbsp;Del.icio.us" alt="Añadir a&nbsp;Del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F&amp;title=ViewState+y+Google%3A+%C2%BFafecta+a+los+trabajos+de+indexado%3F" rel="nofollow" title="Añadir a&nbsp;digg"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/digg.png" title="Añadir a&nbsp;digg" alt="Añadir a&nbsp;digg" /></a>
<a href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F&amp;title=ViewState+y+Google%3A+%C2%BFafecta+a+los+trabajos+de+indexado%3F" rel="nofollow" title="Añadir a&nbsp;DotNetKicks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Añadir a&nbsp;DotNetKicks" alt="Añadir a&nbsp;DotNetKicks" /></a>
<a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F" rel="nofollow" title="Añadir a&nbsp;Facebook"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/facebook.png" title="Añadir a&nbsp;Facebook" alt="Añadir a&nbsp;Facebook" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F&amp;title=ViewState+y+Google%3A+%C2%BFafecta+a+los+trabajos+de+indexado%3F" rel="nofollow" title="Añadir a&nbsp;Google Bookmarks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/google.png" title="Añadir a&nbsp;Google Bookmarks" alt="Añadir a&nbsp;Google Bookmarks" /></a>
<a href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F&amp;bm_description=ViewState+y+Google%3A+%C2%BFafecta+a+los+trabajos+de+indexado%3F" rel="nofollow" title="Añadir a&nbsp;Mister Wong"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Añadir a&nbsp;Mister Wong" alt="Añadir a&nbsp;Mister Wong" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F&amp;title=ViewState+y+Google%3A+%C2%BFafecta+a+los+trabajos+de+indexado%3F" rel="nofollow" title="Añadir a&nbsp;reddit"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/reddit.png" title="Añadir a&nbsp;reddit" alt="Añadir a&nbsp;reddit" /></a>
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F&amp;title=ViewState+y+Google%3A+%C2%BFafecta+a+los+trabajos+de+indexado%3F" rel="nofollow" title="Añadir a&nbsp;Slashdot"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Añadir a&nbsp;Slashdot" alt="Añadir a&nbsp;Slashdot" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F&amp;title=ViewState+y+Google%3A+%C2%BFafecta+a+los+trabajos+de+indexado%3F" rel="nofollow" title="Añadir a&nbsp;Stumble Upon"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Añadir a&nbsp;Stumble Upon" alt="Añadir a&nbsp;Stumble Upon" /></a>
<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F" rel="nofollow" title="Añadir a&nbsp;Technorati"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/technorati.png" title="Añadir a&nbsp;Technorati" alt="Añadir a&nbsp;Technorati" /></a>
<a href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F" rel="nofollow" title="Añadir a&nbsp;Tip'd"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/tipd.png" title="Añadir a&nbsp;Tip'd" alt="Añadir a&nbsp;Tip'd" /></a>
<a href="http://twitter.com/home/?status=Check+out+ViewState+y+Google%3A+%C2%BFafecta+a+los+trabajos+de+indexado%3F+@+http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F" rel="nofollow" title="Añadir a&nbsp;Twitter"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/twitter.png" title="Añadir a&nbsp;Twitter" alt="Añadir a&nbsp;Twitter" /></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.moure.es%2F2009%2F05%2Fviewstate-y-google-%25c2%25bfafecta-a-los-trabajos-de-indexado%2F&amp;t=ViewState+y+Google%3A+%C2%BFafecta+a+los+trabajos+de+indexado%3F" rel="nofollow" title="Añadir a&nbsp;Yahoo My Web"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Añadir a&nbsp;Yahoo My Web" alt="Añadir a&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.moure.es/2009/05/viewstate-y-google-%c2%bfafecta-a-los-trabajos-de-indexado/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>iPhone SDK 2.2.1 en el aire</title>
		<link>http://www.moure.es/2009/01/iphone-sdk-221-en-el-aire/</link>
		<comments>http://www.moure.es/2009/01/iphone-sdk-221-en-el-aire/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 12:27:33 +0000</pubDate>
		<dc:creator>moure</dc:creator>
				<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[informática]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[moure.es]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://www.moure.es/?p=100</guid>
		<description><![CDATA[Ya tenemos disponible la nueva SDK 2.2.1 para desarrolladores bajo la plataforma iPhone de Apple. Pese a que por desgracia aun no tengo en mi poder un Mac para poder trabajar con ésto, sigo al dedillo las novedades que van apareciendo. ¿Alguna experiencia positiva trabajando en este terreno? Bookmark]]></description>
			<content:encoded><![CDATA[<p>Ya tenemos disponible la nueva <a href="http://es.appleweblog.com/2009/01/nuevo-sdk-para-el-iphone-os-221" title="iPhone SDK 2.2.1">SDK 2.2.1</a> para desarrolladores bajo la plataforma iPhone de Apple. Pese a que por desgracia aun no tengo en mi poder un Mac para poder trabajar con ésto, sigo al dedillo las novedades que van apareciendo.</p>
<p>¿Alguna experiencia positiva trabajando en este terreno?</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark</em></strong></a>
<br />
<div class="d">
<br />
<a href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F&amp;submitHeadline=iPhone+SDK+2.2.1+en+el+aire&amp;submitSummary=" rel="nofollow" title="Añadir a&nbsp;Buzz"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/buzz.png" title="Añadir a&nbsp;Buzz" alt="Añadir a&nbsp;Buzz" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F&amp;title=iPhone+SDK+2.2.1+en+el+aire" rel="nofollow" title="Añadir a&nbsp;Del.icio.us"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/delicious.png" title="Añadir a&nbsp;Del.icio.us" alt="Añadir a&nbsp;Del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F&amp;title=iPhone+SDK+2.2.1+en+el+aire" rel="nofollow" title="Añadir a&nbsp;digg"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/digg.png" title="Añadir a&nbsp;digg" alt="Añadir a&nbsp;digg" /></a>
<a href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F&amp;title=iPhone+SDK+2.2.1+en+el+aire" rel="nofollow" title="Añadir a&nbsp;DotNetKicks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Añadir a&nbsp;DotNetKicks" alt="Añadir a&nbsp;DotNetKicks" /></a>
<a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F" rel="nofollow" title="Añadir a&nbsp;Facebook"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/facebook.png" title="Añadir a&nbsp;Facebook" alt="Añadir a&nbsp;Facebook" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F&amp;title=iPhone+SDK+2.2.1+en+el+aire" rel="nofollow" title="Añadir a&nbsp;Google Bookmarks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/google.png" title="Añadir a&nbsp;Google Bookmarks" alt="Añadir a&nbsp;Google Bookmarks" /></a>
<a href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F&amp;bm_description=iPhone+SDK+2.2.1+en+el+aire" rel="nofollow" title="Añadir a&nbsp;Mister Wong"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Añadir a&nbsp;Mister Wong" alt="Añadir a&nbsp;Mister Wong" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F&amp;title=iPhone+SDK+2.2.1+en+el+aire" rel="nofollow" title="Añadir a&nbsp;reddit"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/reddit.png" title="Añadir a&nbsp;reddit" alt="Añadir a&nbsp;reddit" /></a>
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F&amp;title=iPhone+SDK+2.2.1+en+el+aire" rel="nofollow" title="Añadir a&nbsp;Slashdot"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Añadir a&nbsp;Slashdot" alt="Añadir a&nbsp;Slashdot" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F&amp;title=iPhone+SDK+2.2.1+en+el+aire" rel="nofollow" title="Añadir a&nbsp;Stumble Upon"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Añadir a&nbsp;Stumble Upon" alt="Añadir a&nbsp;Stumble Upon" /></a>
<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F" rel="nofollow" title="Añadir a&nbsp;Technorati"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/technorati.png" title="Añadir a&nbsp;Technorati" alt="Añadir a&nbsp;Technorati" /></a>
<a href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F" rel="nofollow" title="Añadir a&nbsp;Tip'd"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/tipd.png" title="Añadir a&nbsp;Tip'd" alt="Añadir a&nbsp;Tip'd" /></a>
<a href="http://twitter.com/home/?status=Check+out+iPhone+SDK+2.2.1+en+el+aire+@+http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F" rel="nofollow" title="Añadir a&nbsp;Twitter"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/twitter.png" title="Añadir a&nbsp;Twitter" alt="Añadir a&nbsp;Twitter" /></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fiphone-sdk-221-en-el-aire%2F&amp;t=iPhone+SDK+2.2.1+en+el+aire" rel="nofollow" title="Añadir a&nbsp;Yahoo My Web"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Añadir a&nbsp;Yahoo My Web" alt="Añadir a&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.moure.es/2009/01/iphone-sdk-221-en-el-aire/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wikimou</title>
		<link>http://www.moure.es/2009/01/wikimou/</link>
		<comments>http://www.moure.es/2009/01/wikimou/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 11:18:44 +0000</pubDate>
		<dc:creator>moure</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[informática]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[moure.es]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://www.moure.es/?p=95</guid>
		<description><![CDATA[Bueno, tengo esto bastante abandonado la verdad&#8230; Tengo demasiado trabajo y demasiadas cosas en la cabeza. En general, muchas de esas excusas que los blogger más adustos suelen utilizar para defenderse a las críticas sobre lo poco que actualizan. Pero, en serio, no me olvido de mi querido blog&#8230; ¡habrá que retomarlo! Para darle salsa [...]]]></description>
			<content:encoded><![CDATA[<p>Bueno, tengo esto bastante abandonado la verdad&#8230;</p>
<p>Tengo demasiado trabajo y demasiadas cosas en la cabeza.</p>
<p>En general, muchas de esas excusas que los blogger más adustos suelen utilizar para defenderse a las críticas sobre lo poco que actualizan. Pero, en serio, no me olvido de mi querido blog&#8230; ¡habrá que retomarlo!</p>
<p>Para darle salsa al nuevo año, y dado que todo el mundo me pregunta día sí, día también, sobre dudas de todo tipo (programación, desarrollo, SEO, Internet&#8230;) he decidido crear <a href="http://wiki.moure.es/mou/Portada" title="Wikimou">Wikimou</a>, una wiki que intentará solucionar muchas de esas dudas que me preguntan. Cada vez que resulva algo en desarrollo que me parezca interesante o cuando me pregunten algo importante, intentaré publicarlo aquí para que quede constancia de ello.</p>
<p>Por supuesto, se aceptan colaboraciones en toda su temática:</p>
<ul>
<li>Desarrollo</li>
<li>SEO</li>
<li>Trucos de programación</li>
<li>Internet</li>
<li>Técnicas sociales</li>
<li>Problemas técnicos de todo tipo</li>
<li>Google</li>
<li>API</li>
</ul>
<p>Os invito a todos a participar en el proyecto. ¡Juntemos todas nuestras proezas! ¡Aprendamos de nosotros mismos y dejemos a los demás acompañarnos!</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark</em></strong></a>
<br />
<div class="d">
<br />
<a href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F&amp;submitHeadline=Wikimou&amp;submitSummary=" rel="nofollow" title="Añadir a&nbsp;Buzz"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/buzz.png" title="Añadir a&nbsp;Buzz" alt="Añadir a&nbsp;Buzz" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F&amp;title=Wikimou" rel="nofollow" title="Añadir a&nbsp;Del.icio.us"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/delicious.png" title="Añadir a&nbsp;Del.icio.us" alt="Añadir a&nbsp;Del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F&amp;title=Wikimou" rel="nofollow" title="Añadir a&nbsp;digg"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/digg.png" title="Añadir a&nbsp;digg" alt="Añadir a&nbsp;digg" /></a>
<a href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F&amp;title=Wikimou" rel="nofollow" title="Añadir a&nbsp;DotNetKicks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Añadir a&nbsp;DotNetKicks" alt="Añadir a&nbsp;DotNetKicks" /></a>
<a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F" rel="nofollow" title="Añadir a&nbsp;Facebook"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/facebook.png" title="Añadir a&nbsp;Facebook" alt="Añadir a&nbsp;Facebook" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F&amp;title=Wikimou" rel="nofollow" title="Añadir a&nbsp;Google Bookmarks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/google.png" title="Añadir a&nbsp;Google Bookmarks" alt="Añadir a&nbsp;Google Bookmarks" /></a>
<a href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F&amp;bm_description=Wikimou" rel="nofollow" title="Añadir a&nbsp;Mister Wong"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Añadir a&nbsp;Mister Wong" alt="Añadir a&nbsp;Mister Wong" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F&amp;title=Wikimou" rel="nofollow" title="Añadir a&nbsp;reddit"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/reddit.png" title="Añadir a&nbsp;reddit" alt="Añadir a&nbsp;reddit" /></a>
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F&amp;title=Wikimou" rel="nofollow" title="Añadir a&nbsp;Slashdot"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Añadir a&nbsp;Slashdot" alt="Añadir a&nbsp;Slashdot" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F&amp;title=Wikimou" rel="nofollow" title="Añadir a&nbsp;Stumble Upon"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Añadir a&nbsp;Stumble Upon" alt="Añadir a&nbsp;Stumble Upon" /></a>
<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F" rel="nofollow" title="Añadir a&nbsp;Technorati"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/technorati.png" title="Añadir a&nbsp;Technorati" alt="Añadir a&nbsp;Technorati" /></a>
<a href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F" rel="nofollow" title="Añadir a&nbsp;Tip'd"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/tipd.png" title="Añadir a&nbsp;Tip'd" alt="Añadir a&nbsp;Tip'd" /></a>
<a href="http://twitter.com/home/?status=Check+out+Wikimou+@+http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F" rel="nofollow" title="Añadir a&nbsp;Twitter"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/twitter.png" title="Añadir a&nbsp;Twitter" alt="Añadir a&nbsp;Twitter" /></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.moure.es%2F2009%2F01%2Fwikimou%2F&amp;t=Wikimou" rel="nofollow" title="Añadir a&nbsp;Yahoo My Web"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Añadir a&nbsp;Yahoo My Web" alt="Añadir a&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.moure.es/2009/01/wikimou/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Palabras reservadas en un enum de C#</title>
		<link>http://www.moure.es/2008/10/palabras-reservadas-en-un-enum-de-c/</link>
		<comments>http://www.moure.es/2008/10/palabras-reservadas-en-un-enum-de-c/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 18:07:20 +0000</pubDate>
		<dc:creator>moure</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[enum]]></category>

		<guid isPermaLink="false">http://www.moure.es/?p=80</guid>
		<description><![CDATA[A veces queremos utilizar palabras reservadas dentro de un listado de valores de un enumerado (enum) dentro de nuestro código C#. Hoy un compañero me ha preguntado cómo hacerlo, y tras repasar mis chuletas mentales, almacenadas en memoria secundaria en lo más profundo de mis sesos, recordé la forma: poniendo el modificador @ delante del [...]]]></description>
			<content:encoded><![CDATA[<p>A veces queremos utilizar palabras reservadas dentro de un listado de valores de un enumerado (<em>enum</em>) dentro de nuestro código C#. Hoy un compañero me ha preguntado cómo hacerlo, y tras repasar mis chuletas mentales, almacenadas en memoria secundaria en lo más profundo de mis sesos, recordé la forma: poniendo el modificador <em>@</em> delante del valor igual a la palabra reservada. Por ejemplo:</p>
<blockquote><p>enum Languages {es, <font color="#ff0000">@as</font>, <font color="#ff0000">@in</font>, en, zh};</p></blockquote>
<p>Ya no hay excusas: no habrá que usar strings &#8220;a pelo&#8221; en nuestras serializaciones de datos (XmlSerialization).</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark</em></strong></a>
<br />
<div class="d">
<br />
<a href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F&amp;submitHeadline=Palabras+reservadas+en+un+enum+de+C%23&amp;submitSummary=" rel="nofollow" title="Añadir a&nbsp;Buzz"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/buzz.png" title="Añadir a&nbsp;Buzz" alt="Añadir a&nbsp;Buzz" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F&amp;title=Palabras+reservadas+en+un+enum+de+C%23" rel="nofollow" title="Añadir a&nbsp;Del.icio.us"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/delicious.png" title="Añadir a&nbsp;Del.icio.us" alt="Añadir a&nbsp;Del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F&amp;title=Palabras+reservadas+en+un+enum+de+C%23" rel="nofollow" title="Añadir a&nbsp;digg"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/digg.png" title="Añadir a&nbsp;digg" alt="Añadir a&nbsp;digg" /></a>
<a href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F&amp;title=Palabras+reservadas+en+un+enum+de+C%23" rel="nofollow" title="Añadir a&nbsp;DotNetKicks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Añadir a&nbsp;DotNetKicks" alt="Añadir a&nbsp;DotNetKicks" /></a>
<a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F" rel="nofollow" title="Añadir a&nbsp;Facebook"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/facebook.png" title="Añadir a&nbsp;Facebook" alt="Añadir a&nbsp;Facebook" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F&amp;title=Palabras+reservadas+en+un+enum+de+C%23" rel="nofollow" title="Añadir a&nbsp;Google Bookmarks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/google.png" title="Añadir a&nbsp;Google Bookmarks" alt="Añadir a&nbsp;Google Bookmarks" /></a>
<a href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F&amp;bm_description=Palabras+reservadas+en+un+enum+de+C%23" rel="nofollow" title="Añadir a&nbsp;Mister Wong"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Añadir a&nbsp;Mister Wong" alt="Añadir a&nbsp;Mister Wong" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F&amp;title=Palabras+reservadas+en+un+enum+de+C%23" rel="nofollow" title="Añadir a&nbsp;reddit"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/reddit.png" title="Añadir a&nbsp;reddit" alt="Añadir a&nbsp;reddit" /></a>
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F&amp;title=Palabras+reservadas+en+un+enum+de+C%23" rel="nofollow" title="Añadir a&nbsp;Slashdot"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Añadir a&nbsp;Slashdot" alt="Añadir a&nbsp;Slashdot" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F&amp;title=Palabras+reservadas+en+un+enum+de+C%23" rel="nofollow" title="Añadir a&nbsp;Stumble Upon"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Añadir a&nbsp;Stumble Upon" alt="Añadir a&nbsp;Stumble Upon" /></a>
<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F" rel="nofollow" title="Añadir a&nbsp;Technorati"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/technorati.png" title="Añadir a&nbsp;Technorati" alt="Añadir a&nbsp;Technorati" /></a>
<a href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F" rel="nofollow" title="Añadir a&nbsp;Tip'd"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/tipd.png" title="Añadir a&nbsp;Tip'd" alt="Añadir a&nbsp;Tip'd" /></a>
<a href="http://twitter.com/home/?status=Check+out+Palabras+reservadas+en+un+enum+de+C%23+@+http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F" rel="nofollow" title="Añadir a&nbsp;Twitter"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/twitter.png" title="Añadir a&nbsp;Twitter" alt="Añadir a&nbsp;Twitter" /></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fpalabras-reservadas-en-un-enum-de-c%2F&amp;t=Palabras+reservadas+en+un+enum+de+C%23" rel="nofollow" title="Añadir a&nbsp;Yahoo My Web"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Añadir a&nbsp;Yahoo My Web" alt="Añadir a&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.moure.es/2008/10/palabras-reservadas-en-un-enum-de-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convertir un String en enumerado con C#</title>
		<link>http://www.moure.es/2008/10/convertir-un-string-en-enumerado-con-c/</link>
		<comments>http://www.moure.es/2008/10/convertir-un-string-en-enumerado-con-c/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 14:43:09 +0000</pubDate>
		<dc:creator>moure</dc:creator>
				<category><![CDATA[asp.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[desarrollo]]></category>
		<category><![CDATA[informática]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[casting]]></category>
		<category><![CDATA[typeof]]></category>

		<guid isPermaLink="false">http://www.moure.es/?p=77</guid>
		<description><![CDATA[Adiós al tradicional método de convertir un string en enum utilizando un eterno switch en C#&#8230; Viejos tiempos en los que debíamos hacer algo similar a&#8230; switch(saludo) { case &#8220;hola&#8221;: return Saludos.Hola; case &#8220;hello&#8221;: return Saludos.Hello; } ¿Quién no ha hecho este tipo de aberración alguna vez durante su vida como desarrollador? Todos&#8230; Afortunadamente me [...]]]></description>
			<content:encoded><![CDATA[<p>Adiós al tradicional método de convertir un string en enum utilizando un eterno switch en C#&#8230; Viejos tiempos en los que debíamos hacer algo similar a&#8230;</p>
<blockquote><p>switch(saludo)<br />
{</p>
<blockquote><p>case &#8220;hola&#8221;: return Saludos.Hola;<br />
case &#8220;hello&#8221;: return Saludos.Hello;</p></blockquote>
<p>}</p></blockquote>
<p>¿Quién no ha hecho este tipo de aberración alguna vez durante su vida como desarrollador? Todos&#8230;</p>
<p>Afortunadamente me he topado con un sistema muy interesante, que prácticamente podemos definir como evidente (<em>¿Cómo no se me pudo ocurrir antes?</em>) para realizar la conversión sin tener que hacer uso de un switch del tamaño de 20 folios A4. Tan sencillo como ésto:</p>
<blockquote><p>public Enum Saludos {Hola,Hello,Hi};</p>
<p>public Saludos GetSaludo(string saludo)<br />
{</p>
<blockquote><p>return (Saludos)Enum.Parse(typeof(Saludos), saludo);</p></blockquote>
<p>}</p></blockquote>
<p>De éste modo realizaremos la conversión de manera sencilla y práctica, con una única línea de código.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark</em></strong></a>
<br />
<div class="d">
<br />
<a href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F&amp;submitHeadline=Convertir+un+String+en+enumerado+con+C%23&amp;submitSummary=" rel="nofollow" title="Añadir a&nbsp;Buzz"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/buzz.png" title="Añadir a&nbsp;Buzz" alt="Añadir a&nbsp;Buzz" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F&amp;title=Convertir+un+String+en+enumerado+con+C%23" rel="nofollow" title="Añadir a&nbsp;Del.icio.us"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/delicious.png" title="Añadir a&nbsp;Del.icio.us" alt="Añadir a&nbsp;Del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F&amp;title=Convertir+un+String+en+enumerado+con+C%23" rel="nofollow" title="Añadir a&nbsp;digg"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/digg.png" title="Añadir a&nbsp;digg" alt="Añadir a&nbsp;digg" /></a>
<a href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F&amp;title=Convertir+un+String+en+enumerado+con+C%23" rel="nofollow" title="Añadir a&nbsp;DotNetKicks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/dotnetkicks.png" title="Añadir a&nbsp;DotNetKicks" alt="Añadir a&nbsp;DotNetKicks" /></a>
<a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F" rel="nofollow" title="Añadir a&nbsp;Facebook"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/facebook.png" title="Añadir a&nbsp;Facebook" alt="Añadir a&nbsp;Facebook" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F&amp;title=Convertir+un+String+en+enumerado+con+C%23" rel="nofollow" title="Añadir a&nbsp;Google Bookmarks"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/google.png" title="Añadir a&nbsp;Google Bookmarks" alt="Añadir a&nbsp;Google Bookmarks" /></a>
<a href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F&amp;bm_description=Convertir+un+String+en+enumerado+con+C%23" rel="nofollow" title="Añadir a&nbsp;Mister Wong"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Añadir a&nbsp;Mister Wong" alt="Añadir a&nbsp;Mister Wong" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F&amp;title=Convertir+un+String+en+enumerado+con+C%23" rel="nofollow" title="Añadir a&nbsp;reddit"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/reddit.png" title="Añadir a&nbsp;reddit" alt="Añadir a&nbsp;reddit" /></a>
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F&amp;title=Convertir+un+String+en+enumerado+con+C%23" rel="nofollow" title="Añadir a&nbsp;Slashdot"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Añadir a&nbsp;Slashdot" alt="Añadir a&nbsp;Slashdot" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F&amp;title=Convertir+un+String+en+enumerado+con+C%23" rel="nofollow" title="Añadir a&nbsp;Stumble Upon"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Añadir a&nbsp;Stumble Upon" alt="Añadir a&nbsp;Stumble Upon" /></a>
<a href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F" rel="nofollow" title="Añadir a&nbsp;Technorati"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/technorati.png" title="Añadir a&nbsp;Technorati" alt="Añadir a&nbsp;Technorati" /></a>
<a href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F" rel="nofollow" title="Añadir a&nbsp;Tip'd"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/tipd.png" title="Añadir a&nbsp;Tip'd" alt="Añadir a&nbsp;Tip'd" /></a>
<a href="http://twitter.com/home/?status=Check+out+Convertir+un+String+en+enumerado+con+C%23+@+http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F" rel="nofollow" title="Añadir a&nbsp;Twitter"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/twitter.png" title="Añadir a&nbsp;Twitter" alt="Añadir a&nbsp;Twitter" /></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.moure.es%2F2008%2F10%2Fconvertir-un-string-en-enumerado-con-c%2F&amp;t=Convertir+un+String+en+enumerado+con+C%23" rel="nofollow" title="Añadir a&nbsp;Yahoo My Web"><img class="social_img" src="http://www.moure.es/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Añadir a&nbsp;Yahoo My Web" alt="Añadir a&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.moure.es/2008/10/convertir-un-string-en-enumerado-con-c/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

