<?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>code.jjeb™</title>
	<atom:link href="http://blog.juanesparza.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.juanesparza.net</link>
	<description>[Programación web e información sobre tecnología]</description>
	<lastBuildDate>Wed, 10 Mar 2010 04:31:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Ruby On Rails (RoR)</title>
		<link>http://blog.juanesparza.net/?p=128</link>
		<comments>http://blog.juanesparza.net/?p=128#comments</comments>
		<pubDate>Wed, 10 Mar 2010 04:14:54 +0000</pubDate>
		<dc:creator>jjeb™</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Libros]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[RoR]]></category>

		<guid isPermaLink="false">http://blog.juanesparza.net/?p=128</guid>
		<description><![CDATA[Tengo alrededor de un año trabajando en Ruby On Rails y a fuerza de ser sincero me parece un excelente lenguaje de programación en otro momento espero subir algunas buenas practicas que he aprendido pero de momento, le dejo el libro con el que inicie &#8220;Agile Web Development For Rails&#8221; espero sea de su agrado [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">
<div id="_mcePaste" style="text-align: justify;">Tengo alrededor de un año trabajando en Ruby On Rails y a fuerza de ser sincero me parece un excelente lenguaje de programación en otro momento espero subir algunas buenas practicas que he aprendido pero de momento, le dejo el libro con el que inicie &#8220;Agile Web Development For Rails&#8221; espero sea de su agrado y de utilidad con lo fue para mi.</div>
<div id="_mcePaste" style="text-align: justify;"><a href="http://blog.juanesparza.net/wp-content/uploads/2010/03/Pragmatic-Agile-Web-Development-with-Rails.3rd-Edition.2009.pdf">Descargar</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.juanesparza.net/?feed=rss2&amp;p=128</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQLi Extension (MySQL Improved)</title>
		<link>http://blog.juanesparza.net/?p=121</link>
		<comments>http://blog.juanesparza.net/?p=121#comments</comments>
		<pubDate>Tue, 04 Aug 2009 07:49:28 +0000</pubDate>
		<dc:creator>jjeb™</dc:creator>
				<category><![CDATA[Programación]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[base de datos]]></category>
		<category><![CDATA[desarrollo web]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.juanesparza.net/?p=121</guid>
		<description><![CDATA[Sigo sufriendo un poco a la hora de actualizar el blog,  pero tenía tiempo  queriendo escribir un poco sobre este tema y ahora que me decidí he encontrado unos excelentes post acerca de MySqli  y PDO que he decidido poner solo unas pequeñas definiciones y enlazar este post a los que he leído, espero sea [...]]]></description>
			<content:encoded><![CDATA[<p>Sigo sufriendo un poco a la hora de actualizar el blog,  pero tenía tiempo  queriendo escribir un poco sobre este tema y ahora que me decidí he encontrado unos excelentes post acerca de MySqli  y PDO que he decidido poner solo unas pequeñas definiciones y enlazar este post a los que he leído, espero sea de su agrado:</p>
<p><strong>¿Qué es Mysqli ?</strong></p>
<p>Básicamente es una extensión que nos permite conectarnos a mysql, claro con algunas ventajas, viene incluida en PHP5 o superiores</p>
<p><strong>Ventajas:</strong></p>
<ul>
<li>Una Interfaz orientada a      objetos</li>
<li>Posibilidad de seguir      programando por el método procedural</li>
<li>Se incorpora un protocolo      binario mejor que el anterior</li>
<li>Se aumenta la velocidad de      ejecución en muchas funciones</li>
<li>Posibilidad de consultas      preparadas (Mayor seguridad y velocidad)</li>
<li>Transacciones (ACID)</li>
<li>Mayor seguridad en las      conexiones</li>
</ul>
<p>Aquí  les dejo un buen artículo sobre el mysqli, en un rato mas subo un post sobre PDO también. Espero les sirva la información.</p>
<p><a href="http://dealnews.com/developers/php-mysql.html">http://dealnews.com/developers/php-mysql.html</a> En ingles</p>
<p><a href="http://www.tufuncion.com/select-mysqli-pdo-php">http://www.tufuncion.com/select-mysqli-pdo-php</a> En español</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.juanesparza.net/?feed=rss2&amp;p=121</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Como crear Temas para WordPress</title>
		<link>http://blog.juanesparza.net/?p=115</link>
		<comments>http://blog.juanesparza.net/?p=115#comments</comments>
		<pubDate>Mon, 08 Jun 2009 06:16:34 +0000</pubDate>
		<dc:creator>jjeb™</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[diseño]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.juanesparza.net/?p=115</guid>
		<description><![CDATA[Por cuestiones de trabajo descuide este blog, pero creo que es el momento de retomarlo y lo hago con un pequeño video/tutoríal que me paso mi buen amigo y excelente desarrollador Héctor Guedea para la creación de temas para wordpress, son 3 videos con una duración de alrededor de 120 minutos con una explicación clara [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Por cuestiones de trabajo descuide este blog, pero creo que es el momento de retomarlo y lo hago con un pequeño video/tutoríal que me paso mi buen amigo y excelente desarrollador  <a href="http://twitter.com/h_guedea" target="_blank">Héctor Guedea</a> para la creación de temas para wordpress,  son 3 videos con una duración de alrededor de 120 minutos con una explicación clara de la estructura y un ejemplo para facilitarnos el trabajo.</p>
<p style="text-align: justify;">Y pues buenos la liga de donde puedes descargar el ejemplo y los videos es:</p>
<p style="text-align: justify;"><a href="http://css-tricks.com/designing-for-wordpress-complete-series-downloads/" target="_blank">http://css-tricks.com/designing-for-wordpress-complete-series-downloads/</a></p>
<p style="text-align: justify;">Disfrútenlo y espero no dejar este blog varado una vez mas :s</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.juanesparza.net/?feed=rss2&amp;p=115</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DataGrid(jTPS) en utilizando javascript (jquery)</title>
		<link>http://blog.juanesparza.net/?p=95</link>
		<comments>http://blog.juanesparza.net/?p=95#comments</comments>
		<pubDate>Tue, 23 Dec 2008 00:59:51 +0000</pubDate>
		<dc:creator>jjeb™</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[diseño]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://blog.juanesparza.net/?p=95</guid>
		<description><![CDATA[jTPS es un plugin para jqury que nos permite implementar un “DataGrid “, tienen como características tiene, ordenamiento ascendente y descendente, paginación, variar las cantidades de la paginación.: Para su utilización necesitaremos los descargar los archivos de la siguiente dirección: http://www.overset.com/2008/08/30/animated-sortable-datagrid-jquery-plugin-jtps también los archivos vienen con el ejemplo que esta al final del documento. La [...]]]></description>
			<content:encoded><![CDATA[<p>jTPS es un plugin para jqury que nos permite implementar un “DataGrid “, tienen como características tiene, ordenamiento ascendente y descendente, paginación, variar las cantidades de la paginación.:</p>
<p>Para su utilización necesitaremos los descargar los archivos de la siguiente dirección: http://www.overset.com/2008/08/30/animated-sortable-datagrid-jquery-plugin-jtps también los archivos vienen con el ejemplo que esta al final del documento.</p>
<p>La estructura de la tabla a utilizar es la siguiente:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;table id=&quot;demoTable&quot; style=&quot;border: 1px solid #ccc;&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;700&quot;&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Col 1&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;Col 2&lt;/th&gt;
&lt;th&gt;Col 3&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;información 1&lt;/td&gt;
&lt;td&gt;información 1&lt;/td&gt;
&lt;td&gt;información 1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td colspan=&quot;3&quot;&gt;
&lt;div class=&quot;paginationTitle&quot;&gt;Página&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;&lt;/table&gt;</pre></div></div>

<p>Agregamos las librerías (jquery.js, jTPS.js) y la hoja de estilo (jTPS.css) que descargamos anteriormente:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;JavaScript&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;jTPS/jquery.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;JavaScript&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;jTPS//jTPS.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">&lt;link rel<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> href<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;jTPS/jTPS.css&quot;</span><span style="color: #00AA00;">&gt;</span></pre></div></div>

<p>Lo siguiente es agregar el código en javascript (jquery) :</p>
<p><script src="jTPS.js" type="text/javascript"></script></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#demoTable'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">jTPS</span><span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#123;</span>perPages<span style="color: #339933;">:</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">5</span><span style="color: #339933;">,</span><span style="color: #CC0000;">12</span><span style="color: #339933;">,</span><span style="color: #CC0000;">15</span><span style="color: #339933;">,</span><span style="color: #CC0000;">50</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'Todos'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// demoTable es el id de nuestra tabla, y especificamos los modos de paginación</span>
								   scrollStep<span style="color: #339933;">:</span><span style="color: #CC0000;">1</span><span style="color: #339933;">,</span>scrollDelay<span style="color: #339933;">:</span><span style="color: #CC0000;">30</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// Retardo en el desplazamiento de la páginas..</span>
								   perPageText<span style="color: #339933;">:</span><span style="color: #3366CC;">'Cantidad por página '</span> <span style="color: #006600; font-style: italic;">// Texto que aparece en la sección inferior de la tabla..</span>
								   <span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#demoTable tbody tr:not(.stubCell)'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'mouseover mouseout'</span><span style="color: #339933;">,</span>
				<span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
					e.<span style="color: #660066;">type</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'mouseover'</span> <span style="color: #339933;">?</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'td'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'hilightRow'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'td'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'hilightRow'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #006600; font-style: italic;">// Iluminado  de las filas..</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Por último dejo una imagen de cómo se vería  el grid, el demo y los archivos para su descarga:</p>
<p><img class="aligncenter size-full wp-image-109" title="DataGrid(jTPS) en utilizando javascript (jquery)" src="http://blog.juanesparza.net/wp-content/uploads/2008/12/jtps-01-ss.jpg" alt="DataGrid(jTPS) en utilizando javascript (jquery)" width="619" height="189" /></p>
<p><a href="http://blog.juanesparza.net/ejemplos/ejemplo_datag/jTPS.html" target="_blank">Demo</a>| <a href="http://blog.juanesparza.net/ejemplos/ejemplo_datag/datagrid-jquery.rar">Descarga</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.juanesparza.net/?feed=rss2&amp;p=95</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creación de disparadores(triggers) en MYSQL</title>
		<link>http://blog.juanesparza.net/?p=84</link>
		<comments>http://blog.juanesparza.net/?p=84#comments</comments>
		<pubDate>Sun, 14 Dec 2008 09:51:57 +0000</pubDate>
		<dc:creator>jjeb™</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[base de datos]]></category>

		<guid isPermaLink="false">http://blog.juanesparza.net/?p=84</guid>
		<description><![CDATA[Mysql es por el gestor de base de datos más utilizado cuando se programa con php, a partir de la versión 5.0.2 se han implementado el soporte para disparadores (triggers), estes es un pequeño ejemplo de la utilización de los disparadores y pues bueno iniciamos: ¿Qué son los disparadores (triggers)? Un disparador es un objeto [...]]]></description>
			<content:encoded><![CDATA[<p>Mysql es por el gestor de base de datos más utilizado cuando se programa con php, a partir de la versión 5.0.2 se han implementado el soporte para disparadores (triggers), estes es un pequeño ejemplo de la utilización de los disparadores y pues bueno iniciamos:</p>
<p><strong>¿Qué son los disparadores (triggers)? </strong></p>
<p>Un disparador es un objeto con nombre dentro de una base de datos el cual se asocia con una tabla y se activa cuando ocurre en ésta un evento en particular. Actualmente, el soporte para disparadores es básico, por lo tanto hay ciertas limitaciones en lo que puede hacerse con ellos.</p>
<p><strong>Estructura  de los disparadores:</strong></p>
<p style="padding-left: 30px;">CREATE TRIGGER nombre_disp momento_disp evento_disp<br />
ON nombre_tabla FOR EACH ROW sentencia_a_realizar</p>
<p><strong>Ejemplo:</strong></p>
<p>Creamos 3 disparadores sobre la tabla de usuarios, estos nos dirán las acciones que se realicen sobre  esta (inserción, modificación o borrado).<br />
La estructura de las tablas serán las siguientes:</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #808000; font-style: italic;">/* Creamos la tabla de acciones*/</span>
<span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> acciones<span style="color: #FF00FF;">&#40;</span>
fecha <span style="color: #999900; font-weight: bold;">DATE</span><span style="color: #000033;">,</span>
hora <span style="color: #999900; font-weight: bold;">TIME</span><span style="color: #000033;">,</span>
accion <span style="color: #999900; font-weight: bold;">VARCHAR</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">50</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
idusuario <span style="color: #999900; font-weight: bold;">int</span>
<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
<span style="color: #808000; font-style: italic;">/*Creamos la tabla de usuarios*/</span>
<span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> usuarios<span style="color: #FF00FF;">&#40;</span>
idusuario <span style="color: #999900; font-weight: bold;">integer</span> <span style="color: #990099; font-weight: bold;">PRIMARY KEY</span><span style="color: #000033;">,</span>
nombre <span style="color: #999900; font-weight: bold;">VARCHAR</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">50</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>
apellido <span style="color: #999900; font-weight: bold;">VARCHAR</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">50</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span></pre></div></div>

<p>Las sentencias para los disparadores son:</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #808000; font-style: italic;">/*Disparador para el registro de inserciones*/</span>
DELIMITER <span style="color: #CC0099;">|</span>
<span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TRIGGER</span> inser_usuarios BEFORE <span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">ON</span> usuarios
<span style="color: #990099; font-weight: bold;">FOR EACH ROW</span> <span style="color: #990099; font-weight: bold;">BEGIN</span>
  <span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> acciones <span style="color: #990099; font-weight: bold;">VALUES</span><span style="color: #FF00FF;">&#40;</span><span style="color: #000099;">CURDATE</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span><span style="color: #000099;">CURTIME</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span><span style="color: #008000;">'Registro insertado'</span><span style="color: #000033;">,</span>new.idusuario<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
<span style="color: #009900;">END</span><span style="color: #000033;">;</span>
<span style="color: #CC0099;">|</span> DELIMITER <span style="color: #000033;">;</span>
&nbsp;
<span style="color: #808000; font-style: italic;">/*Disparador para el registro modificado*/</span>
DELIMITER <span style="color: #CC0099;">|</span>
<span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TRIGGER</span> update_usuarios BEFORE <span style="color: #990099; font-weight: bold;">UPDATE</span> <span style="color: #990099; font-weight: bold;">ON</span> usuarios
<span style="color: #990099; font-weight: bold;">FOR EACH ROW</span> <span style="color: #990099; font-weight: bold;">BEGIN</span>
  <span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> acciones <span style="color: #990099; font-weight: bold;">VALUES</span><span style="color: #FF00FF;">&#40;</span><span style="color: #000099;">CURDATE</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span><span style="color: #000099;">CURTIME</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span><span style="color: #008000;">'Registro Modificado'</span><span style="color: #000033;">,</span>old.idusuario<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
<span style="color: #009900;">END</span><span style="color: #000033;">;</span>
<span style="color: #CC0099;">|</span> DELIMITER <span style="color: #000033;">;</span>
&nbsp;
<span style="color: #808000; font-style: italic;">/*Disparador para el registro eliminado*/</span>
&nbsp;
DELIMITER <span style="color: #CC0099;">|</span>
<span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TRIGGER</span> delete_usuarios BEFORE <span style="color: #990099; font-weight: bold;">DELETE</span> <span style="color: #990099; font-weight: bold;">ON</span> usuarios
<span style="color: #990099; font-weight: bold;">FOR EACH ROW</span> <span style="color: #990099; font-weight: bold;">BEGIN</span>
  <span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> acciones <span style="color: #990099; font-weight: bold;">VALUES</span><span style="color: #FF00FF;">&#40;</span><span style="color: #000099;">CURDATE</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span><span style="color: #000099;">CURTIME</span><span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span><span style="color: #008000;">'Registro eliminado'</span><span style="color: #000033;">,</span>old.idusuario<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
<span style="color: #009900;">END</span><span style="color: #000033;">;</span>
<span style="color: #CC0099;">|</span> DELIMITER <span style="color: #000033;">;</span></pre></div></div>

<p>Una pequeña explicación de las sentencias utilizadas es:-</p>
<ul>
<li><strong>DELIMITER: </strong>los disparadores (Triggers), están formados por varias instrucciones, por lo tanto, antes de comenzar su definición, debes especificar qué carácter delimita (o separa) siguiente.</li>
<li> <strong>CREATE TRIGGER:</strong> Es la sentencia de creación del disparador.</li>
<li> <strong>BEFORE:</strong> Indica el momento de acción del disparador</li>
<li> <strong>DELETE: </strong>Indica el evento que activará al disparador</li>
<li> <strong>FOR EACH ROW:</strong> Define lo que se ejecutará cada vez que el disparador se active, lo cual ocurre una vez por cada fila afectada por la sentencia activadora.</li>
</ul>
<p>Las palabras clave <code class="literal">OLD</code> y <code class="literal">NEW</code> permiten acceder a columnas en los registros afectados por un       disparador. (<code class="literal">OLD</code> y <code class="literal">NEW</code> no       son sensibles a mayúsculas). En un disparador para       <code class="literal">INSERT</code>, solamente puede utilizarse       <code class="literal">NEW.<em class="replaceable"><code>nom_col</code></em></code>; ya que       no hay una versión anterior del registro. En un disparador para       <code class="literal">DELETE</code> sólo puede emplearse       <code class="literal">OLD.<em class="replaceable"><code>nom_col</code></em></code>, porque       no hay un nuevo registro. En un disparador para       <code class="literal">UPDATE</code> se puede emplear       <code class="literal">OLD.<em class="replaceable"><code>nom_col</code></em></code> para       referirse a las columnas de un registro antes de que sea       actualizado, y       <code class="literal">NEW.<em class="replaceable"><code>nom_col</code></em></code> para       referirse a las columnas del registro luego de actualizarlo.</p>
<p>Una columna precedida por <code class="literal">OLD</code> es de sólo       lectura. Es posible hacer referencia a ella pero no modificarla.       Una columna precedida por <code class="literal">NEW</code> puede ser       referenciada si se tiene el privilegio <code class="literal">SELECT</code> sobre ella. En un disparador <code class="literal">BEFORE</code>, también       es posible cambiar su valor con <code class="literal">SET       NEW.<em class="replaceable"><code>nombre_col</code></em> =       <em class="replaceable"><code>valor</code></em></code> si se tiene el       privilegio de <code class="literal">UPDATE</code> sobre ella. Esto significa que un disparador puede usarse para modificar los valores antes que se inserten en un nuevo registro o se empleen para actualizar uno existente.</p>
<p>En un disparador <code class="literal">BEFORE</code>, el valor de       <code class="literal">NEW</code> para una columna       <code class="literal">AUTO_INCREMENT</code> es 0, no el número secuencial       que se generará en forma automática cuando el registro sea       realmente insertado.<code class="literal"><br />
</code></p>
<p>Podemos revisar que todo este correcto con las siguientes sentencias:</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> usuarios <span style="color: #990099; font-weight: bold;">VALUES</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">1</span><span style="color: #000033;">,</span><span style="color: #008000;">'Sofia'</span><span style="color: #000033;">,</span><span style="color: #008000;">'Hernández Maya'</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
<span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> usuarios <span style="color: #990099; font-weight: bold;">VALUES</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">2</span><span style="color: #000033;">,</span><span style="color: #008000;">'Emilio'</span><span style="color: #000033;">,</span><span style="color: #008000;">'Díaz Esparza'</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
<span style="color: #990099; font-weight: bold;">INSERT</span> <span style="color: #990099; font-weight: bold;">INTO</span> usuarios <span style="color: #990099; font-weight: bold;">VALUES</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">3</span><span style="color: #000033;">,</span><span style="color: #008000;">'Juan'</span><span style="color: #000033;">,</span><span style="color: #008000;">'Esparza'</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span>
&nbsp;
<span style="color: #808000; font-style: italic;">/*Verificamos las inserciones*/</span>
<span style="color: #990099; font-weight: bold;">select</span> <span style="color: #CC0099;">*</span> <span style="color: #990099; font-weight: bold;">from</span> usuarios<span style="color: #000033;">;</span>
&nbsp;
<span style="color: #808000; font-style: italic;">/*Revisamos la tabla de acciones */</span>
<span style="color: #990099; font-weight: bold;">select</span> <span style="color: #CC0099;">*</span> <span style="color: #990099; font-weight: bold;">from</span> acciones<span style="color: #000033;">;</span>
&nbsp;
<span style="color: #808000; font-style: italic;">/*Modificamos 1 regitro*/</span>
<span style="color: #990099; font-weight: bold;">update</span> usuarios <span style="color: #990099; font-weight: bold;">set</span> apellido <span style="color: #CC0099;">=</span> <span style="color: #008000;">'Hernández'</span> <span style="color: #990099; font-weight: bold;">where</span> idusuario<span style="color: #CC0099;">=</span><span style="color: #008080;">1</span><span style="color: #000033;">;</span>
&nbsp;
<span style="color: #808000; font-style: italic;">/*Revisamos la tabla de acciones */</span>
<span style="color: #990099; font-weight: bold;">select</span> <span style="color: #CC0099;">*</span> <span style="color: #990099; font-weight: bold;">from</span> acciones<span style="color: #000033;">;</span>
&nbsp;
<span style="color: #808000; font-style: italic;">/*Eliminamos 1 regitro*/</span>
<span style="color: #990099; font-weight: bold;">delete</span> <span style="color: #990099; font-weight: bold;">from</span> usuarios <span style="color: #990099; font-weight: bold;">where</span> idusuario<span style="color: #CC0099;">=</span><span style="color: #008080;">3</span><span style="color: #000033;">;</span>
&nbsp;
<span style="color: #808000; font-style: italic;">/*Revisamos la tabla de acciones */</span>
<span style="color: #990099; font-weight: bold;">select</span> <span style="color: #CC0099;">*</span> <span style="color: #990099; font-weight: bold;">from</span> acciones<span style="color: #000033;">;</span></pre></div></div>

<p>[<a href="http://blog.juanesparza.net/ejemplos/ejemplo_dpv/disparadores.sql" target="_blank">Descargar</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.juanesparza.net/?feed=rss2&amp;p=84</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diseño de cajas de mensaje en CSS, muy util en php</title>
		<link>http://blog.juanesparza.net/?p=60</link>
		<comments>http://blog.juanesparza.net/?p=60#comments</comments>
		<pubDate>Mon, 08 Dec 2008 07:49:52 +0000</pubDate>
		<dc:creator>jjeb™</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[diseño]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.juanesparza.net/?p=60</guid>
		<description><![CDATA[Bueno esta información es para los que como yo somos un poco malos en cuanto a diseño y muchas veces estamos quebrándonos la cabeza para hacer que el mensaje o respuesta del sistema se vea de una manera agradable, y pues bueno les dejo una css que me encontré en la web hace ya un [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Bueno esta información es para los que como yo somos un poco malos en cuanto a diseño y muchas veces estamos quebrándonos la cabeza para hacer que el mensaje o respuesta del sistema se vea de una manera agradable, y pues bueno les dejo una css que me encontré en la web hace ya un tiempo y que me ha sido de una gran ayuda, viene con un set de iconos que se encuentran en este sitio y algunos ejemplo de las salidas son las siguientes:</p>
<p style="text-align: center;"><a href="http://blog.juanesparza.net/wp-content/uploads/2008/12/ejemplocss.png"><img class="size-medium wp-image-59 aligncenter" title="ejemplocss" src="http://blog.juanesparza.net/wp-content/uploads/2008/12/ejemplocss-300x193.png" alt="" width="300" height="193" /><br />
</a></p>
<p>El código en css es el siguiente que me parece que es lo suficientemente claro:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*Css para los mensajes..*/</span>
<span style="color: #6666ff;">.info</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.success</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.warning</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.error</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.validation</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span> <span style="color: #933;">10px</span> <span style="color: #933;">15px</span> <span style="color: #933;">50px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-repeat</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Arial</span><span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">13px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">400px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.info</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#00529B</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#BDE5F8</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'info.png'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.success</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#4F8A10</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#DFF2BF</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'success.png'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.warning</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#9F6000</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#FEEFB3</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'warning.png'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.error</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#D8000C</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#FFBABA</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'error.png'</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Y la implementación es muy simple, acá un ejemplo:</p>
<p>Mensajes en css</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&nbsp;
Mensajes en css
&lt;div class=&quot;error&quot;&gt;&lt;strong&gt;Este es un error&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;info&quot;&gt;&lt;strong&gt;Esta puede ser de información&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;success&quot;&gt;&lt;strong&gt;Agregando un pequeña lista &lt;/strong&gt;
&lt;ul&gt;
	&lt;li&gt;Item 1&lt;/li&gt;
	&lt;li&gt;Item 2&lt;/li&gt;
	&lt;li&gt;Item 3&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;warning&quot;&gt; Otro ejemplo&lt;/div&gt;</pre></td></tr></table></div>

<p>es cuestión de sólo llamar la clase.</p>
<p>Y bueno para terminar les dejo la descarga de la hoja de estilo y las imágenes con el set antes mencionado.</p>
<p>[<a href="http://blog.juanesparza.net/ejemplos/ejemplo_css/mensajes.php" target="_blank">Ver online</a>] [<a href="http://blog.juanesparza.net/ejemplos/ejemplo_css/mensajes_css.rar"  target="_blank">Descargar</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.juanesparza.net/?feed=rss2&amp;p=60</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Libros: javascript, ajax, css, xhtml y php</title>
		<link>http://blog.juanesparza.net/?p=51</link>
		<comments>http://blog.juanesparza.net/?p=51#comments</comments>
		<pubDate>Mon, 08 Dec 2008 06:26:45 +0000</pubDate>
		<dc:creator>jjeb™</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Libros]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.juanesparza.net/?p=51</guid>
		<description><![CDATA[Continuando con la colección de libros, ahora dejo algunos muy buenos, que son los siguientes: PHP [Descargar] Introducción a javascript [Descargar] Introducción al xhtml [Descargar] Introducción al Css [Descargar] Introducción al Ajax [Descargar] El libro de php es del sitio de Desarrollo Web y el resto son de librosweb. Espero sean de su agradado.]]></description>
			<content:encoded><![CDATA[<p>Continuando con la colección de libros, ahora dejo algunos muy buenos, que son los siguientes:</p>
<p><strong>PHP</strong> [<a href="http://blog.juanesparza.net/libros/manual-programacion-php.pdf" target="_blank">Descargar</a>]<br />
<strong>Introducción a javascript</strong> [<a href="http://blog.juanesparza.net/libros/introduccion_javascript.pdf">Descargar</a>]<strong><br />
Introducción al xhtml </strong>[<a href="http://blog.juanesparza.net/libros/introduccion_xhtml_2caras.pdf">Descargar</a>]<strong><br />
Introducción al Css</strong> [<a href="http://blog.juanesparza.net/libros/introduccion_css.pdf">Descargar</a>]<strong><br />
Introducción al Ajax</strong> [<a href="http://blog.juanesparza.net/libros/introduccion_ajax.pdf" target="_blank">Descargar</a>]</p>
<p>El libro de php es del sitio de <a href="http://www.desarrolloweb.com" target="_self">Desarrollo Web</a> y el resto son de <a href="http://www.librosweb.es/" target="_blank">librosweb</a>.</p>
<p>Espero sean de su agradado.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.juanesparza.net/?feed=rss2&amp;p=51</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Libro: “Building Scalable Websites”</title>
		<link>http://blog.juanesparza.net/?p=42</link>
		<comments>http://blog.juanesparza.net/?p=42#comments</comments>
		<pubDate>Mon, 01 Dec 2008 03:12:01 +0000</pubDate>
		<dc:creator>jjeb™</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Libros]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[desarrollo web]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.juanesparza.net/?p=42</guid>
		<description><![CDATA[Esta es otra entrada de las que tenía en la dirección pasada es un buen libro que todo desarrollador debería tener a la mano. El libro está escrito por el programador jefe de Flickr, hasta donde he leido me parece directo. Un excelente libro.. Descargar]]></description>
			<content:encoded><![CDATA[<p>Esta es otra entrada de las que tenía en la dirección pasada es un buen libro que todo desarrollador debería tener a la mano.</p>
<p>El libro está escrito por el programador jefe de Flickr, hasta donde he leido me parece directo. Un excelente libro..</p>
<p><a href="http://blog.juanesparza.net/libros/Building_Scalable_Web_Sites.pdf">Descargar</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.juanesparza.net/?feed=rss2&amp;p=42</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Combos (Combobox) Dependientes Utilizando PHP, Mysql y jQuery (Javascript)</title>
		<link>http://blog.juanesparza.net/?p=4</link>
		<comments>http://blog.juanesparza.net/?p=4#comments</comments>
		<pubDate>Sun, 30 Nov 2008 06:00:14 +0000</pubDate>
		<dc:creator>jjeb™</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.juanesparza.net/?p=4</guid>
		<description><![CDATA[La idea es generar una relación entre 3 combos, en este caso utilizaremos país -&#62; estado -&#62;  ciudad. Para esto utilizaremos javascript  (jquery), PHP y Mysql. Iniciaremos con la estructura de la base de datos para ellos necesitaremos 3 tablas, que son las siguientes: País: CREATE TABLE `pais` &#40; `idpais` int&#40;10&#41; unsigned NOT NULL auto_increment, [...]]]></description>
			<content:encoded><![CDATA[<p>La idea es generar una relación entre 3 combos, en este caso utilizaremos país -&gt; estado -&gt;  ciudad.</p>
<p>Para esto utilizaremos javascript  (jquery), PHP y Mysql. Iniciaremos con la estructura de la base de datos para ellos necesitaremos 3 tablas, que son las siguientes:</p>
<p><strong>País:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> <span style="color: #008000;">`pais`</span> <span style="color: #FF00FF;">&#40;</span>
<span style="color: #008000;">`idpais`</span> <span style="color: #999900; font-weight: bold;">int</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">10</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #FF9900; font-weight: bold;">unsigned</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #FF9900; font-weight: bold;">auto_increment</span><span style="color: #000033;">,</span>
<span style="color: #008000;">`pais`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">50</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
<span style="color: #990099; font-weight: bold;">PRIMARY KEY</span> <span style="color: #990099; font-weight: bold;">USING</span> <span style="color: #990099; font-weight: bold;">BTREE</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">`idpais`</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #FF00FF;">&#41;</span> <span style="color: #990099; font-weight: bold;">ENGINE</span><span style="color: #CC0099;">=</span>MyISAM<span style="color: #000033;">;</span></pre></div></div>

<p><strong>Estado:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> <span style="color: #008000;">`estado`</span> <span style="color: #FF00FF;">&#40;</span>
<span style="color: #008000;">`idestado`</span> <span style="color: #999900; font-weight: bold;">int</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">10</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #FF9900; font-weight: bold;">unsigned</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #FF9900; font-weight: bold;">auto_increment</span><span style="color: #000033;">,</span>
<span style="color: #008000;">`estado`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">50</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #9900FF; font-weight: bold;">NULL</span><span style="color: #000033;">,</span>
<span style="color: #008000;">`pais`</span> <span style="color: #999900; font-weight: bold;">int</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">11</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #008000;">'0'</span><span style="color: #000033;">,</span>
<span style="color: #990099; font-weight: bold;">PRIMARY KEY</span> <span style="color: #990099; font-weight: bold;">USING</span> <span style="color: #990099; font-weight: bold;">BTREE</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">`idestado`</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #FF00FF;">&#41;</span> <span style="color: #990099; font-weight: bold;">ENGINE</span><span style="color: #CC0099;">=</span>MyISAM<span style="color: #000033;">;</span></pre></div></div>

<p><strong>Ciudad:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">CREATE</span> <span style="color: #990099; font-weight: bold;">TABLE</span> <span style="color: #008000;">`ciudad`</span> <span style="color: #FF00FF;">&#40;</span>
<span style="color: #008000;">`idciudad`</span> <span style="color: #999900; font-weight: bold;">int</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">10</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #FF9900; font-weight: bold;">unsigned</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #FF9900; font-weight: bold;">auto_increment</span><span style="color: #000033;">,</span>
<span style="color: #008000;">`ciudad`</span> <span style="color: #999900; font-weight: bold;">varchar</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">50</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #990099; font-weight: bold;">default</span> ”<span style="color: #000033;">,</span>
<span style="color: #008000;">`estado`</span> <span style="color: #999900; font-weight: bold;">int</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">11</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #008000;">'0'</span><span style="color: #000033;">,</span>
<span style="color: #008000;">`pais`</span> <span style="color: #999900; font-weight: bold;">int</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">10</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #FF9900; font-weight: bold;">unsigned</span> <span style="color: #CC0099; font-weight: bold;">NOT</span> <span style="color: #9900FF; font-weight: bold;">NULL</span> <span style="color: #990099; font-weight: bold;">default</span> <span style="color: #008000;">'0'</span><span style="color: #000033;">,</span>
<span style="color: #990099; font-weight: bold;">PRIMARY KEY</span> <span style="color: #990099; font-weight: bold;">USING</span> <span style="color: #990099; font-weight: bold;">BTREE</span> <span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">`idciudad`</span><span style="color: #FF00FF;">&#41;</span>
<span style="color: #FF00FF;">&#41;</span> <span style="color: #990099; font-weight: bold;">ENGINE</span><span style="color: #CC0099;">=</span>MyISAM<span style="color: #000033;">;</span></pre></div></div>

<p>Los combos sera algo asi:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>select id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pais&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;pais&quot;</span><span style="color: #339933;">&gt;</span>
	<span style="color: #339933;">&lt;</span>option selected<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;selected&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;0&quot;</span><span style="color: #339933;">&gt;---------&lt;/</span>option<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>option value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&amp;lt;?=<span style="color: #006699; font-weight: bold;">$rs</span>[&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #0000ff;">&quot;&amp;gt;&lt;/option&gt;
&nbsp;
&lt;/select&gt;
&lt;div&gt;
&lt;select id=&quot;</span>estado<span style="color: #0000ff;">&quot; name=&quot;</span>estado<span style="color: #0000ff;">&quot;&gt;
	&lt;option selected=&quot;</span>selected<span style="color: #0000ff;">&quot; value=&quot;</span><span style="color: #cc66cc;">0</span><span style="color: #0000ff;">&quot;&gt;----------------&lt;/option&gt;
&lt;/select&gt;&lt;/div&gt;
&lt;div&gt;
&lt;select id=&quot;</span>ciudad<span style="color: #0000ff;">&quot; name=&quot;</span>ciudad<span style="color: #0000ff;">&quot;&gt;
	&lt;option selected=&quot;</span>selected<span style="color: #0000ff;">&quot; value=&quot;</span><span style="color: #cc66cc;">0</span><span style="color: #0000ff;">&quot;&gt;-------------------&lt;/option&gt;
&lt;/select&gt;&lt;/div&gt;</span></pre></div></div>

<p>Nuestro código en javascript será el siguiente:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;select&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">change</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">// Vector para saber cuál es el siguiente combo a llenar</span>
		<span style="color: #003366; font-weight: bold;">var</span> combos <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		combos<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'pais'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;estado&quot;</span><span style="color: #339933;">;</span>
		combos<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'estado'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;ciudad&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #006600; font-style: italic;">// Tomo el nombre del combo al que se le a dado el clic por ejemplo: país</span>
		posicion <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #006600; font-style: italic;">// Tomo el valor de la opción seleccionada</span>
		valor <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
		<span style="color: #006600; font-style: italic;">// Evaluó  que si es país y el valor es 0, vacié los combos de estado y ciudad</span>
		<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>posicion <span style="color: #339933;">==</span> <span style="color: #3366CC;">'pais'</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span> valor<span style="color: #339933;">==</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#estado&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'	----------------'</span><span style="color: #009900;">&#41;</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#ciudad&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'	----------------'</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">/* En caso contrario agregado el letreo de cargando a el combo siguiente
		Ejemplo: Si seleccione país voy a tener que el siguiente según mi vector combos es: estado  por qué  combos [país] = estado
			*/</span>
			$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#&quot;</span><span style="color: #339933;">+</span>combos<span style="color: #009900;">&#91;</span>posicion<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Cargando...'</span><span style="color: #009900;">&#41;</span>
			<span style="color: #009966; font-style: italic;">/* Verificamos si el valor seleccionado es diferente de 0 y si el combo es diferente de ciudad, esto porque no tendría caso hacer la consulta a ciudad porque no existe un combo dependiente de este */</span>
			<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>valor<span style="color: #339933;">!=</span><span style="color: #3366CC;">&quot;0&quot;</span> <span style="color: #339933;">||</span> posicion <span style="color: #339933;">!=</span><span style="color: #3366CC;">'ciudad'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #006600; font-style: italic;">// Llamamos a pagina de combos.php donde ejecuto las consultas para llenar los combos</span>
				$.<span style="color: #660066;">post</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;combos.php&quot;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>
									combo<span style="color: #339933;">:</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #006600; font-style: italic;">// Nombre del combo</span>
									id<span style="color: #339933;">:</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #006600; font-style: italic;">// Valor seleccionado</span>
									<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
													$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#&quot;</span><span style="color: #339933;">+</span>combos<span style="color: #009900;">&#91;</span>posicion<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	<span style="color: #006600; font-style: italic;">//Tomo el resultado de pagina e inserto los datos en el combo indicado</span>
													<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>Muy bien hasta este momento tenemos las dependencias es decir que combo carga a el siguiente, ahora necesitamos la página donde tendremos información que asignaremos en estos.</p>
<p><strong>combos.php</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #0000ff;">'.htmlentities($rs[&quot;estado&quot;]).'</span><span style="color: #0000ff;">';
	break;
	}
	case &quot;estado&quot;:{
		$res = mysql_query(&quot;SELECT idciudad,ciudad FROM ciudad WHERE estado= $idcombo order by ciudad ASC&quot;);
		while($rs = mysql_fetch_array($res))
			echo '</span><span style="color: #0000ff;">'.htmlentities($rs[&quot;ciudad&quot;]).'</span><span style="color: #0000ff;">';
	break;
	}
}
?&amp;gt;</span></pre></div></div>

<p>La mayor parte del código viene en su mayoría comentado por lo que no me parece necesario explicarlo.</p>
<p><a href="http://blog.juanesparza.net/ejemplos/ejemplo_combos/com_dependientes.php" target="_blank">Ejemplo</a> | <a href="http://blog.juanesparza.net/ejemplos/ejemplo_combos/ejemplo_combos.rar" target="_blank">Descargar</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.juanesparza.net/?feed=rss2&amp;p=4</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>Primer Post</title>
		<link>http://blog.juanesparza.net/?p=34</link>
		<comments>http://blog.juanesparza.net/?p=34#comments</comments>
		<pubDate>Sat, 29 Nov 2008 02:51:32 +0000</pubDate>
		<dc:creator>jjeb™</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.juanesparza.net/?p=34</guid>
		<description><![CDATA[Bienvenidos a este pequeño espacio donde encontraran un poco de información de mi interés como lo es: programación, internet, software entre otras muchas cosas . Y pues si bien inicie esta idea con en la dirección http://jjeb.wordpress.com/ me parece que la mejor forma de darle un poco mas de seriedad y atención de mi parte [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves /> <w:TrackFormatting /> <w:HyphenationZone>21</w:HyphenationZone> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF /> <w:LidThemeOther>ES-MX</w:LidThemeOther> <w:LidThemeAsian>X-NONE</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> <w:SplitPgBreakAndParaMark /> <w:DontVertAlignCellWithSp /> <w:DontBreakConstrainedForcedTables /> <w:DontVertAlignInTxbx /> <w:Word11KerningPairs /> <w:CachedColBalance /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathPr> <m:mathFont m:val="Cambria Math" /> <m:brkBin m:val="before" /> <m:brkBinSub m:val="&#45;-" /> <m:smallFrac m:val="off" /> <m:dispDef /> <m:lMargin m:val="0" /> <m:rMargin m:val="0" /> <m:defJc m:val="centerGroup" /> <m:wrapIndent m:val="1440" /> <m:intLim m:val="subSup" /> <m:naryLim m:val="undOvr" /> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"   DefSemiHidden="true" DefQFormat="false" DefPriority="99"   LatentStyleCount="267"> <w:LsdException Locked="false" Priority="0" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Normal" /> <w:LsdException Locked="false" Priority="9" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="heading 1" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /> <w:LsdException Locked="false" Priority="39" Name="toc 1" /> <w:LsdException Locked="false" Priority="39" Name="toc 2" /> <w:LsdException Locked="false" Priority="39" Name="toc 3" /> <w:LsdException Locked="false" Priority="39" Name="toc 4" /> <w:LsdException Locked="false" Priority="39" Name="toc 5" /> <w:LsdException Locked="false" Priority="39" Name="toc 6" /> <w:LsdException Locked="false" Priority="39" Name="toc 7" /> <w:LsdException Locked="false" Priority="39" Name="toc 8" /> <w:LsdException Locked="false" Priority="39" Name="toc 9" /> <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /> <w:LsdException Locked="false" Priority="10" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Title" /> <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /> <w:LsdException Locked="false" Priority="11" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /> <w:LsdException Locked="false" Priority="22" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Strong" /> <w:LsdException Locked="false" Priority="20" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /> <w:LsdException Locked="false" Priority="59" SemiHidden="false"    UnhideWhenUsed="false" Name="Table Grid" /> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /> <w:LsdException Locked="false" Priority="1" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 1" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 1" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 1" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /> <w:LsdException Locked="false" Priority="34" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /> <w:LsdException Locked="false" Priority="29" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Quote" /> <w:LsdException Locked="false" Priority="30" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 1" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 1" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 2" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 2" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 2" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 2" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 2" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 3" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 3" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 3" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 3" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 3" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 4" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 4" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 4" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 4" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 4" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 5" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 5" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 5" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 5" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 5" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 6" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 6" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 6" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 6" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 6" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /> <w:LsdException Locked="false" Priority="19" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /> <w:LsdException Locked="false" Priority="21" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /> <w:LsdException Locked="false" Priority="31" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /> <w:LsdException Locked="false" Priority="32" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /> <w:LsdException Locked="false" Priority="33" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Book Title" /> <w:LsdException Locked="false" Priority="37" Name="Bibliography" /> <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /> </w:LatentStyles> </xml><![endif]--> <!--[if gte mso 10]><br />
<mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Tabla normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin-top:0cm; 	mso-para-margin-right:0cm; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0cm; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} --></p>
<p><!--[endif]--><span style="font-size: 11pt; line-height: 115%; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;">Bienvenidos a este pequeño espacio donde encontraran un poco de información de mi interés como lo es: programación, internet, software entre otras muchas cosas . </span></p>
<p><span style="font-size: 11pt; line-height: 115%; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;">Y pues si bien inicie esta idea con en la dirección http://jjeb.wordpress.com/ me parece que la mejor forma de darle un poco mas de seriedad y atención de mi parte es comprar un dominio&#8230; y aquí estoy..  espero que sea de agrado … </span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.juanesparza.net/?feed=rss2&amp;p=34</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
