<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Fausto Loja Mora &#187; mobiles</title>
	<atom:link href="http://faustol.wordpress.com/category/mobiles/feed/" rel="self" type="application/rss+xml" />
	<link>http://faustol.wordpress.com</link>
	<description>Para dar mas</description>
	<lastBuildDate>Wed, 28 Oct 2009 22:50:15 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='faustol.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/12cc869fef55b1cfb51da27a48795849?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Fausto Loja Mora &#187; mobiles</title>
		<link>http://faustol.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://faustol.wordpress.com/osd.xml" title="Fausto Loja Mora" />
		<item>
		<title>Patron creacional Singleton</title>
		<link>http://faustol.wordpress.com/2008/02/29/patron-creacional-singleton/</link>
		<comments>http://faustol.wordpress.com/2008/02/29/patron-creacional-singleton/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 14:33:48 +0000</pubDate>
		<dc:creator>faustol</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Patterns]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[mobiles]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://faustol.wordpress.com/2008/02/29/patron-creacional-singleton/</guid>
		<description><![CDATA[Dentro del conjunto de patrones creacionales uno de los más sencillo de entender e implementar es el singleton. 
Propósito
Garantizar que solo se tenga una instancia y maneter un punto de acceso global a ella
Motivación: Muchas ocasiones necesitamos que de una determinada clase únicamente se pueda crear una sola instancia, en mi experiencia muy particular le [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustol.wordpress.com&blog=950349&post=186&subd=faustol&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p align="justify">Dentro del conjunto de patrones creacionales uno de los más sencillo de entender e implementar es el singleton. </p>
<p align="justify"><strong>Propósito</strong></p>
<p align="justify">Garantizar que solo se tenga una instancia y maneter un punto de acceso global a ella</p>
<p align="justify"><strong>Motivación:</strong> Muchas ocasiones necesitamos que de una determinada clase únicamente se pueda crear una sola instancia, en mi experiencia muy particular le he encontrado mucha utilidad en las aplicaciones móviles. Cuando tenemos una form creado en .net para dispositivo móvil este se crea con una x en la esquina, el cual no precisamente cierra la venta al hacerle click lo que ocasiona que si nuevamente llamamos al menú que despliega esta ventana nos creará otra instancia lo cual no es recomendable en aplicaciones móviles ya que la memoria tiende a saturarse, al implementar este patron lo que hariamos es mantener una sola instancia y al invocar nuevamente el form lo que hariamos es simplemente reactivar el formulario.</p>
<p align="center"><a href="http://faustol.files.wordpress.com/2008/02/image.png"><img style="border-width:0;" height="244" alt="image" src="http://faustol.files.wordpress.com/2008/02/image-thumb.png?w=200&#038;h=244" width="200" border="0"></a> </p>
<p align="justify"><strong>Estructura:</strong></p>
<p align="center"><a href="http://faustol.files.wordpress.com/2008/02/singleton-c-sharp.png"><img style="border-width:0;" height="195" alt="singleton-c-sharp" src="http://faustol.files.wordpress.com/2008/02/singleton-c-sharp-thumb.png?w=310&#038;h=195" width="310" border="0"></a> </p>
<p align="justify"><strong>Participantes:</strong></p>
<ul>
<li>
<div align="justify">Singleton: Define la operación instancia que permite que se acceda a la instancia, esta es static.</div>
</li>
</ul>
<p align="justify"><strong>Implementación:</strong></p>
<p align="justify"><a href="http://faustol.files.wordpress.com/2008/02/untitled.png"><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="240" alt="untitled" src="http://faustol.files.wordpress.com/2008/02/untitled-thumb.png?w=584&#038;h=240" width="584" border="0"></a> </p>
<div class="csharpcode">
<pre><span class="lnum">   </span></pre>
</div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/faustol.wordpress.com/186/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/faustol.wordpress.com/186/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/faustol.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/faustol.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/faustol.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/faustol.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/faustol.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/faustol.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/faustol.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/faustol.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/faustol.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/faustol.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=faustol.wordpress.com&blog=950349&post=186&subd=faustol&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://faustol.wordpress.com/2008/02/29/patron-creacional-singleton/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b93d50d6c51e259b41d74511ee2bb6c5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">faustol</media:title>
		</media:content>

		<media:content url="http://faustol.files.wordpress.com/2008/02/image-thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://faustol.files.wordpress.com/2008/02/singleton-c-sharp-thumb.png" medium="image">
			<media:title type="html">singleton-c-sharp</media:title>
		</media:content>

		<media:content url="http://faustol.files.wordpress.com/2008/02/untitled-thumb.png" medium="image">
			<media:title type="html">untitled</media:title>
		</media:content>
	</item>
	</channel>
</rss>