<?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>Swekee Team Developer</title>
	<atom:link href="http://developer.swekee.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://developer.swekee.com</link>
	<description>Blog de los desarrolladores de Swekee</description>
	<lastBuildDate>Fri, 05 Sep 2008 02:43:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Utilizando XAJAX 0.5 en PHP</title>
		<link>http://developer.swekee.com/2008/09/04/utilizando-xajax-05-en-php/</link>
		<comments>http://developer.swekee.com/2008/09/04/utilizando-xajax-05-en-php/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 02:00:58 +0000</pubDate>
		<dc:creator>david.alvaro</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[MYSQL]]></category>

		<guid isPermaLink="false">http://developer.swekee.com/?p=109</guid>
		<description><![CDATA[Hola tigrillo tu sabes que AJAX es ahora una técnica común al momento de crear un portal web, por eso te quiero mostrar como utilizar una de las tantas librerías AJAX para PHP que existen; Una de las tantas y mas fáciles de aprender es XAJAX, a continuación te mostrare como utilizarla:

Descarga las librerías XAJAX [...]]]></description>
			<content:encoded><![CDATA[<p>Hola tigrillo tu sabes que AJAX es ahora una técnica común al momento de crear un portal web, por eso te quiero mostrar como utilizar una de las tantas librerías <strong>AJAX</strong> para <strong>PHP</strong> que existen; Una de las tantas y mas fáciles de aprender es <strong>XAJAX</strong>, a continuación te mostrare como utilizarla:</p>
<ol>
<li>Descarga las librerías XAJAX 0.5 desde esta pagina <a href="http://xajaxproject.org/download.php" target="_blank">http://xajaxproject.org/download.php</a>.</li>
<li>Una vez que descargaste copia el contenido a una carpeta dentro de tu sitio web(en este ejemplo yo copie a una carpeta llamada xajax).</li>
<li>Luego empiezas a programar; En el ejemplo puedes observar que existen 3 archivos que tienen un mismo nombre en común es decir llevan la palabra “index”, esos archivos están relacionados entre si con la finalidad de poder ejecutar peticiones AJAX .</li>
</ol>
<p> <br />
<strong>OJO:</strong> Hemos clasificado 3 archivos para una sola pagina con la finalidad de mantener un orden al momento de programar y siguiendo la estructura de los ejemplos de la documentación de XAJAX que se asemeja a la programación en capas.</p>
<ul>
<li><strong>index.php</strong>, contendrá la fachada y los controles de la pagina.</li>
<li><strong>index.server.php</strong>, en este archivo se crean las funciones a utilizar</li>
<li><strong>index.common.php</strong>, se encarga de registrar e invocar las funciones creadas en index.server.php.</li>
</ul>
<p>y allí te va el código:</p>
<p><strong>INDEX.PHP</strong></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
32
33
34
35
36
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> 
<span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'index.common.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #666666; font-style: italic;">//Haciendo referencia a las funciones registradas y que serán interpretadas como funciones javascript</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/********HACIENDO CONSULTA A LA TABLA Ciclo***********/</span>
<span style="color: #000088;">$db</span><span style="color: #339933;">=</span><span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'localhost'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'root'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'db_alumnos'</span><span style="color: #339933;">,</span><span style="color: #000088;">$db</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$rsCiclos</span><span style="color: #339933;">=</span><span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'select codciclo,descripcion from ciclo'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">/*****************************************************/</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Ejemplo XAJAX&lt;/title&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
<span style="color: #666666; font-style: italic;">//indicamos al objeto xajax se encargue de generar el javascript de las funciones registradas por ejm: ListarCursosXCiclo</span>
<span style="color: #000088;">$xajax</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">printJavascript</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'xajax/'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/head&gt;
&lt;body&gt;
&lt;form name=&quot;frmPrueba&quot; id=&quot;frmPrueba&quot; method=&quot;post&quot;&gt;
	Ciclos : 
	&lt;select name=&quot;cboCiclos&quot; id=&quot;cboCiclos&quot; onChange=&quot;xajax_ListarCursosXCiclo(this.value);&quot;&gt;
		&lt;option value=&quot;&quot;&gt;--Seleccione--&lt;/option&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span><span style="color: #339933;">=</span><span style="color: #990000;">mysql_fetch_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$rsCiclos</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>
		&lt;option value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'codciclo'</span><span style="color: #009900;">&#93;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'descripcion'</span><span style="color: #009900;">&#93;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/option&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;/select&gt;
	&lt;br&gt;&lt;br&gt;
	&lt;!--DIV donde se mostrara la respuesta AJAX--&gt;
	&lt;div id=&quot;divListado&quot;&gt;&lt;/div&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;</pre></td></tr></table></div>

<p>
<strong>INDEX.SERVER.PHP</strong></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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> 
<span style="color: #666666; font-style: italic;">//importando nuestras las referencias XAJAX</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;index.common.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//función que lista los Cursos segun el ciclo elegido</span>
<span style="color: #000000; font-weight: bold;">function</span> ListarCursosXCiclo<span style="color: #009900;">&#40;</span><span style="color: #000088;">$codciclo</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
	<span style="color: #000088;">$db</span><span style="color: #339933;">=</span><span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'localhost'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'root'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'db_alumnos'</span><span style="color: #339933;">,</span><span style="color: #000088;">$db</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$objResponse</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> xajaxResponse<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">//instanciamos el objeto para la respuesta AJAX</span>
	<span style="color: #666666; font-style: italic;">//ISO-8859-1 significa que los caracteres latinos como la ñ y los acentos seran tomados en cuenta</span>
&nbsp;
	<span style="color: #000088;">$sql</span><span style="color: #339933;">=</span><span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'select codcur,nomcur,desccur from curso where codciclo=%d'</span><span style="color: #339933;">,</span><span style="color: #000088;">$codciclo</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$rsCursos</span><span style="color: #339933;">=</span><span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$cantRegistros</span><span style="color: #339933;">=</span><span style="color: #990000;">mysql_num_rows</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$rsCursos</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$tabla</span><span style="color: #339933;">=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//variable donde guardaremos la tabla HTML que luego se mostrara mediante AJAX</span>
&nbsp;
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cantRegistros</span><span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// Si existen registros entonces armamos la cabecera de la tabla</span>
		<span style="color: #000088;">$tabla</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'&lt;table width=&quot;50%&quot; border=&quot;1&quot;&gt;
				  &lt;tr&gt;
					&lt;th scope=&quot;col&quot;&gt;CODIGO&lt;/th&gt;
					&lt;th scope=&quot;col&quot;&gt;CURSO&lt;/th&gt;
					&lt;th scope=&quot;col&quot;&gt;DESCRIPCION&lt;/th&gt;
				  &lt;/tr&gt;'</span><span style="color: #339933;">;</span>
	 	<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span><span style="color: #339933;">=</span><span style="color: #990000;">mysql_fetch_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$rsCursos</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">//recorriendo registro x registro y armando la tabla</span>
		 <span style="color: #000088;">$tabla</span><span style="color: #339933;">.=</span><span style="color: #0000ff;">'&lt;tr&gt;
					&lt;td&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'codcur'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/td&gt;
					&lt;td&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'nomcur'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/td&gt;
					&lt;td&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'desccur'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/td&gt;
				  &lt;/tr&gt;'</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #000088;">$tabla</span><span style="color: #339933;">.=</span><span style="color: #0000ff;">'&lt;/table&gt;'</span><span style="color: #339933;">;</span>
	 <span style="color: #009900;">&#125;</span>
	 <span style="color: #666666; font-style: italic;">//asignando el contenido de la varabiale $tabla al div que esta en index.php</span>
	 <span style="color: #666666; font-style: italic;">//innerHTML reemplaza el contenido HTML por otro</span>
	 <span style="color: #000088;">$objResponse</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">assign</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;divListado&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;innerHTML&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$tabla</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	 <span style="color: #666666; font-style: italic;">//mostramos un alert</span>
	 <span style="color: #000088;">$objResponse</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Este ciclo tiene &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$cantRegistros</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; cursos.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	 <span style="color: #b1b100;">return</span> <span style="color: #000088;">$objResponse</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//retornamos la respuesta AJAX</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$xajax</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">processRequest</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//procesando cualquier petición AJAX</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>
<strong>INDEX.COMMON.PHP</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">//importando las librerias XAJAX</span>
<span style="color: #b1b100;">require_once</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;xajax/xajax_core/xajax.inc.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$xajax</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> xajax<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;index.server.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//asociamos la función creada en index.server.php al objeto XAJAX</span>
<span style="color: #000088;">$xajax</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">registerFunction</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;ListarCursosXCiclo&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Ejecutando el ejemplo te deberia mostrar algo asi:<br />
<br />
<img src="http://farm4.static.flickr.com/3124/2829604758_542f98952c_m.jpg" alt="utilizando_xajax_en_php" width="240" height="155" /><br />
Si deseas puedes descargar el ejemplo desde <a href="http://www.box.net/shared/hf04pfc7iv" target="_blank">aqui</a>.<br />
<br />
Como puedes ver es simple el manejo de XAJAX 0.5, este es un ejemplo básico pronto espero publicar algo mas complejo.<br />
<br />
Mucha suerte !!</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.swekee.com/2008/09/04/utilizando-xajax-05-en-php/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Consumir un Servicio Web en PHP utilizando NuSoap</title>
		<link>http://developer.swekee.com/2008/09/03/consumir-un-servicio-web-en-php-utilizando-nusoap/</link>
		<comments>http://developer.swekee.com/2008/09/03/consumir-un-servicio-web-en-php-utilizando-nusoap/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 02:53:21 +0000</pubDate>
		<dc:creator>david.alvaro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[NuSoap]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Servicios Web]]></category>

		<guid isPermaLink="false">http://developer.swekee.com/?p=90</guid>
		<description><![CDATA[Hola tigre ahora te explicare como Consumir un Servicio Web utilizando NuSoap 0.7.3. para ello debes tener creado un Servicio Web en cualquier lenguaje (PHP, .NET, JAVA, etc&#8230;.), para explicarte, y para que me entiendas mejor usaremos el Servicio Web creado en el post anterior; Empecemos :
1.- Para que funcione el ejemplo descárgate las clases [...]]]></description>
			<content:encoded><![CDATA[<p>Hola tigre ahora te explicare como Consumir un Servicio Web utilizando NuSoap 0.7.3. para ello debes tener creado un Servicio Web en cualquier lenguaje (PHP, .NET, JAVA, etc&#8230;.), para explicarte, y para que me entiendas mejor usaremos el Servicio Web creado en el post anterior; Empecemos :</p>
<p>1.- Para que funcione el ejemplo descárgate las clases de NuSOAP versión 0.7.3 puedes hacerlo desde la pagina <a href="http://sourceforge.net/projects/nusoap/" target="_blank">http://sourceforge.net/projects/nusoap/</a>.</p>
<p>2.- Después descomprimes ese archivo y lo copias a tu sitio web (para este ejemplo el sitio se llama miwebservice y los archivos de NuSOAP los puse en un directorio llamado lib-nusoap).</p>
<p>3.- Luego ejecutas en tu MySQL 5.0 el script de la Base de Datos db_productos.sql que lo puedes descargar desde esta pagina.</p>
<p>4.- Posteriormente crea una pagina PHP (en este ejemplo la pagina se llama clienteweb.php) y codificas lo siguiente:<br />
</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
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'lib-nusoap/nusoap.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$wsdl</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://localhost/miwebservice/servicioweb.php?wsdl&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//url del webservice que invocaremos</span>
<span style="color: #000088;">$client</span><span style="color: #339933;">=</span><span style="color: #000000; font-weight: bold;">new</span> nusoap_client<span style="color: #009900;">&#40;</span><span style="color: #000088;">$wsdl</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'wsdl'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//instanciando un nuevo objeto cliente para consumir el webservice  </span>
&nbsp;
<span style="color: #000088;">$param</span><span style="color: #339933;">=</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'estado'</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//pasando parametros de entrada que seran pasados hacia el metodo</span>
&nbsp;
<span style="color: #000088;">$productos</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$client</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">call</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'ListarProductos'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$param</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//llamando al metodo y recuperando el array de productos en una variable</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//¿ocurrio error al llamar al web service? </span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$client</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">fault</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// si</span>
      <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'No se pudo completar la operación'</span><span style="color: #339933;">;</span> 
      <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// no</span>
	<span style="color: #000088;">$error</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$client</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getError</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$error</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// Hubo algun error </span>
		<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'Error:'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$error</span><span style="color: #339933;">;</span> 
	<span style="color: #009900;">&#125;</span> 
<span style="color: #009900;">&#125;</span> 
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$productos</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">//si hay valores en el array</span>
	<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span>count<span style="color: #009900;">&#40;</span><span style="color: #000088;">$productos</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$productos</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ProductoID'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'  '</span><span style="color: #339933;">.</span><span style="color: #000088;">$productos</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Nombre'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' su precio es : '</span><span style="color: #339933;">.</span><span style="color: #000088;">$productos</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Precio'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;br&gt;'</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'No hay productos'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Y al ejecutar en el navegador te debe mostrar algo así:</p>
<p><img src="http://farm4.static.flickr.com/3158/2828767903_8a90b78898_o.png" width="199" height="85" alt="consumir_un_servicio_web_en_php5_utilizando_nusoap" /></p>
<p>Si deseas puedes descargar el ejemplo completo desde <a href="http://www.box.net/shared/mo32v2facl" target="_blank">aquí</a>.</p>
<p>Ahora si me voy a tomar mi leche, mucha suerte tigre!!</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.swekee.com/2008/09/03/consumir-un-servicio-web-en-php-utilizando-nusoap/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Acid Test a Google Chrome (BETA)</title>
		<link>http://developer.swekee.com/2008/09/02/acid-test-a-google-chrome-beta/</link>
		<comments>http://developer.swekee.com/2008/09/02/acid-test-a-google-chrome-beta/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 20:20:35 +0000</pubDate>
		<dc:creator>david.alvaro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://developer.swekee.com/?p=92</guid>
		<description><![CDATA[Hoy hicimos una prueba al nuevo navegador Google Chrome (BETA) y el resultado de entrada fue 63/100, pero luego recargando varia entre 77/100 y 79/100.

]]></description>
			<content:encoded><![CDATA[<p>Hoy hicimos una prueba al nuevo navegador Google Chrome (BETA) y el resultado de entrada fue 63/100, pero luego recargando varia entre 77/100 y 79/100.</p>
<p><a href="http://developer.swekee.com/wp-content/uploads/acidtest.jpg"><img class="alignnone size-medium wp-image-93" title="acidtest" src="http://developer.swekee.com/wp-content/acidtest-300x251.jpg" alt="" width="463" height="387" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://developer.swekee.com/2008/09/02/acid-test-a-google-chrome-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer Beta 2, un nuevo navegador casi completo</title>
		<link>http://developer.swekee.com/2008/08/31/internet-explorer-beta-2-un-nuevo-navegador-casi-completo/</link>
		<comments>http://developer.swekee.com/2008/08/31/internet-explorer-beta-2-un-nuevo-navegador-casi-completo/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 03:35:25 +0000</pubDate>
		<dc:creator>Dgianko</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[navegadores]]></category>

		<guid isPermaLink="false">http://developer.swekee.com/?p=61</guid>
		<description><![CDATA[Mucho se habla de lo pésimo mal que funciona los programas de Microsoft, sin duda alguna yo mismo he colaborado en más de una ocasión, sin embargo con la salida del Internet Explorer Beta 2 me quito el sombrero y no me queda más que decir: &#8220;Bienvenidos a la competencia&#8221; , pues parece que los [...]]]></description>
			<content:encoded><![CDATA[<p>Mucho se habla de lo <span style="text-decoration: line-through;">pésimo</span> mal que funciona los programas de Microsoft, sin duda alguna yo mismo he colaborado en más de una ocasión, sin embargo con la salida del Internet Explorer Beta 2 me quito el sombrero y no me queda más que decir: &#8220;<em>Bienvenidos a la competencia&#8221; , </em>pues parece que los muchachos del <a title="IExplore 8 Beta" href="http://www.microsoft.com/windows/internet-explorer/beta/default.aspx" target="_blank">Team de desarrollo de IE</a> se cansaron de ser vistos como los programadores mediocres, y por fin sacan un software que funciona <span style="text-decoration: line-through;">realmente</span> bien, quizá exagero un poco pero el hecho que un programa desarrollado por Microsoft funcione bien hace que me emocione un poco, más aún cuando trae características totalmente nuevas &#8211;léase que ningún otro navegador lo ha implementado&#8211;.</p>
<div class="mceTemp mceIEcenter">
<div class="wp-caption aligncenter" style="width: 717px"><img title="IExplore 8 Beta 2" src="http://www.microsoft.com/library/media/1033/windows/images/internet-explorer/beta/default/ie8_hero_2.jpg" alt="IExplore 8 Beta 2" width="707" height="188" /><p class="wp-caption-text">IExplore 8 Beta 2</p></div>
</div>
<p>De comienzo la <strong>velocidad de carga es muy superior</strong> a las otras versiones de IE, quiza no llegué aún alcanzar a Firefox pero va por buen camino, al respecto encontré una comparativa realizada por Adrian Kingleys en el siguiente link <a title="Adrian Kingleys" href="http://blogs.zdnet.com/hardware/?p=2463" target="_blank">http://blogs.zdnet.com/hardware/?p=2463</a>.</p>
<p>El uso de la memoria <strong>RAM</strong> ha sido muy tomado en cuenta pues según los entendidos el uso de RAM ha disminuido considerablemente.</p>
<p><strong>InPrivate</strong>: Mis plegarias deben haber sido escuchadas, Google, ni ningún otro navegador podrá recuperar mi información tan facilmente &#8211;léase espiarme&#8211;, desde hace un buen tiempo vengo comentando a todo mundo lo molesto que es saber que Google recupera toda la información sobre los usuarios, por el sólo hecho de utilizar algunas de sus herramientas web, quien iria a pensar que Microsoft nos ayudaría (al menos por algún tiempo). InPrivate es definido como:</p>
<blockquote><p><strong>Start InPrivate Browsing: </strong>Two things happen when you start  inPrivate Browsing: your browsing activities, history and cookies are not  retained, and third party web content providers may be blocked from tracking  your online activities without your consent.</p></blockquote>
<p>Para los desarrolladores: Firebug  es a Firefox, como <strong>Developer Tools (F12)</strong> es a IExplore 8 Beta 2: Los desarrolladores ya podemos sentirnos algo más considerados, pues el IE8 trae consigo herramientas que por ahora sólo los encontramos como add ons (en el caso de Firefox). Developer Tools esun conjunto de herramientas que entre otras cosas nos permiten ver la actividad de la web, depurar los contenidos javascript, redimensionar la pantalla (lo cual normalmente lo hago con webdeveloper), seleccionar el color de un elemento, también incorpora una regla, y tooodo lo que logramos con unos cuantos addons en Firefox.</p>
<p>También ofrece otras características importantes como los <a title="WebSlices" href="http://www.microsoft.com/windows/internet-explorer/beta/features/web-slices.aspx?tabid=1&amp;catid=1" target="_blank">webSlices</a>, búsqueda inline, acelerómetros, sugerencias de búsqueda, seguridad.</p>
<p>Aún así no ha pasado el <a title="AcidTest 3" href="http://acid3.acidtests.org/" target="_blank">Acid Test</a> más que con 21 puntos, esperemos que para la versión oficial sumen unos cuantos puntos más y así dar una buena lucha a Mozilla (71 puntos).</p>
<p>Link de Descarga: <a title="IExplore 8 Beta" href="http://www.microsoft.com/windows/internet-explorer/beta/" target="_blank">IExplore 8 Beta</a></p>
]]></content:encoded>
			<wfw:commentRss>http://developer.swekee.com/2008/08/31/internet-explorer-beta-2-un-nuevo-navegador-casi-completo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Crear un Servicio Web en PHP utilizando NuSoap</title>
		<link>http://developer.swekee.com/2008/08/30/crear-un-servicio-web-en-php-utilizando-nusoap/</link>
		<comments>http://developer.swekee.com/2008/08/30/crear-un-servicio-web-en-php-utilizando-nusoap/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 20:22:12 +0000</pubDate>
		<dc:creator>david.alvaro</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[NuSoap]]></category>
		<category><![CDATA[Servicios Web]]></category>

		<guid isPermaLink="false">http://developer.swekee.com/?p=27</guid>
		<description><![CDATA[Hola recien llego de mi trabajo y me anime a escribir acerca de este tema tan interesante y de moda; Para crear Servicios Web en PHP 5 usaremos las clases de NuSOAP:
1.- Para que funcione el ejemplo descárgate las clases de NuSOAP versión 0.7.3 puedes hacerlo desde la pagina http://sourceforge.net/projects/nusoap/.
2.- Después descomprimes ese archivo y [...]]]></description>
			<content:encoded><![CDATA[<p>Hola recien llego de mi trabajo y me anime a escribir acerca de este tema tan interesante y de moda; Para crear Servicios Web en PHP 5 usaremos las clases de NuSOAP:</p>
<p>1.- Para que funcione el ejemplo descárgate las clases de NuSOAP versión 0.7.3 puedes hacerlo desde la pagina <a href="http://sourceforge.net/projects/nusoap/" target="_blank">http://sourceforge.net/projects/nusoap/</a>.</p>
<p>2.- Después descomprimes ese archivo y lo copias a tu sitio web (para este ejemplo el sitio se llama miwebservice y los archivos de NuSOAP los puse en un directorio llamado lib-nusoap.</p>
<p>3.- Luego ejecutas en tu MySQL 5.0 el script de la Base de Datos db_productos.sql que lo puedes descargar desde esta pagina.</p>
<p>4.- Luego crea una pagina PHP (en este ejemplo la pagina se llama servicioweb.php) y codificas lo siguiente:</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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require_once</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'lib-nusoap/nusoap.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$server</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> soap_server<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$ns</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://192.168.1.5/aplicativo&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// espacio de nombres; Sitio donde estará alojado el web service</span>
<span style="color: #000088;">$server</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">configurewsdl</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'MiWebService'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//nombre del web service</span>
<span style="color: #000088;">$server</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">wsdl</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">schematargetnamespace</span><span style="color: #339933;">=</span><span style="color: #000088;">$ns</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/************ REGISTRANDO EL ARRAY A DEVOLVER(array de productos) **************/</span>
<span style="color: #000088;">$server</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">wsdl</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">addComplexType</span><span style="color: #009900;">&#40;</span>
	<span style="color: #0000ff;">'ArregloProductos'</span><span style="color: #339933;">,</span> 			<span style="color: #666666; font-style: italic;">// Nombre</span>
	<span style="color: #0000ff;">'complexType'</span><span style="color: #339933;">,</span> 					<span style="color: #666666; font-style: italic;">// Tipo de Clase</span>
	<span style="color: #0000ff;">'array'</span><span style="color: #339933;">,</span> 						<span style="color: #666666; font-style: italic;">// Tipo de PHP</span>
	<span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> 							<span style="color: #666666; font-style: italic;">// definición del tipo secuencia(all|sequence|choice)</span>
	<span style="color: #0000ff;">'SOAP-ENC:Array'</span><span style="color: #339933;">,</span> 				<span style="color: #666666; font-style: italic;">// Restricted Base</span>
	<span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
	<span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
		<span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'ref'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'SOAP-ENC:arrayType'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wsdl:arrayType'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'tns:Productos[]'</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">// Atributos</span>
	<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
	<span style="color: #0000ff;">'tns:Productos'</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/************ REGISTRANDO LA ESTRUCTURA DE DATOS PRODUCTOS **************/</span>
<span style="color: #000088;">$server</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">wsdl</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">addComplexType</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Productos'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'complexType'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'struct'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'all'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span>
    <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
		<span style="color: #0000ff;">'ProductoID'</span><span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'ProductoID'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'xsd:int'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
		<span style="color: #0000ff;">'Nombre'</span>    <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Nombre'</span><span style="color: #339933;">,</span>    <span style="color: #0000ff;">'type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'xsd:string'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
		<span style="color: #0000ff;">'Precio'</span>    <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'Precio'</span><span style="color: #339933;">,</span>    <span style="color: #0000ff;">'type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'xsd:string'</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/*METODO DEL WEB SERVICE*/</span>
<span style="color: #000000; font-weight: bold;">function</span> ListarProductos<span style="color: #009900;">&#40;</span><span style="color: #000088;">$estado</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$estado</span><span style="color: #339933;">!=</span><span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$db</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> mysqli<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//mysqli exclusivo para usar procedimientos almacenados</span>
		<span style="color: #000088;">$db_result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connect</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;root&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;db_productos&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$sql</span><span style="color: #339933;">=</span><span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;call usp_ListarProductos('<span style="color: #009933; font-weight: bold;">%s</span>');&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$estado</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//intentando filtrar el SQL Injection</span>
		<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">mysqli_errno</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$db</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mySQL error <span style="color: #009933; font-weight: bold;">%s</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">error</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//si es que hubo error se muestra</span>
		<span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$i</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">num_rows</span><span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysqli_fetch_assoc</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				<span style="color: #000088;">$toc</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'ProductoID'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;producto_id&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
				<span style="color: #000088;">$toc</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Nombre'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;nombre&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
				<span style="color: #000088;">$toc</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Precio'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;precio&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
				<span style="color: #000088;">$i</span><span style="color: #339933;">++;</span>
			<span style="color: #009900;">&#125;</span>
			<span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">free</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//liberando memoria</span>
			<span style="color: #b1b100;">return</span> <span style="color: #000088;">$toc</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/************ REGISTRANDO EL METODO **************/</span>
<span style="color: #000088;">$server</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">register</span><span style="color: #009900;">&#40;</span>
	<span style="color: #0000ff;">'ListarProductos'</span><span style="color: #339933;">,</span>   						<span style="color: #666666; font-style: italic;">// Nombre del Método</span>
    <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'estado'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'xsd:string'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>           <span style="color: #666666; font-style: italic;">// Parámetros de Entrada</span>
    <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'return'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'tns:ArregloProductos'</span><span style="color: #009900;">&#41;</span>   <span style="color: #666666; font-style: italic;">//Datos de Salida</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">/******PROCESA LA SOLICITUD Y DEVUELVE LA RESPUESTA*******/</span>
<span style="color: #000088;">$input</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$HTTP_RAW_POST_DATA</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> ? <span style="color: #000088;">$HTTP_RAW_POST_DATA</span> <span style="color: #339933;">:</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #990000;">file</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'php://input'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$server</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">service</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$input</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">exit</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>
Y al ejecutar en el navegador te debe mostrar algo así:<br />
<br />
<img src="http://farm4.static.flickr.com/3190/2828767849_6b8d438334_m.jpg" width="240" height="119" alt="crear_un_servicio_web_en_php5_utilizando_nusoap" /><br />
<br />
Si deseas puedes descargar el ejemplo completo desde <a href="http://www.box.net/shared/7l6tx4nkr9" target="_blank">aquí</a>.</p>
<p>También te recomiendo que leas Consumir un Servicio Web en PHP utilizando NuSoap<br />
<br />
Suerte Tigre !!</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.swekee.com/2008/08/30/crear-un-servicio-web-en-php-utilizando-nusoap/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Procedimientos Almacenados de MYSQL en PHP</title>
		<link>http://developer.swekee.com/2008/08/29/procedimientos-almacenados-de-mysql-en-php/</link>
		<comments>http://developer.swekee.com/2008/08/29/procedimientos-almacenados-de-mysql-en-php/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 02:09:47 +0000</pubDate>
		<dc:creator>david.alvaro</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[mysqli]]></category>
		<category><![CDATA[procedimientos]]></category>

		<guid isPermaLink="false">http://developer.swekee.com/?p=33</guid>
		<description><![CDATA[Luego de una semana agotadora de trabajo, y ya que estoy mas relajado me anime a escribir acerca de cómo utilizar procedimientos almacenados de MYSQL 5 en PHP 5, esto trae grandes beneficios en varios aspectos como la reutilización de codigo, mejor orden al momento de estudiar y entender el sistema(modularidad) y muchas cosas mas [...]]]></description>
			<content:encoded><![CDATA[<p>Luego de una semana agotadora de trabajo, y ya que estoy mas relajado me anime a escribir acerca de cómo utilizar procedimientos almacenados de <strong>MYSQL 5</strong> en <strong>PHP 5</strong>, esto trae grandes beneficios en varios aspectos como la reutilización de codigo, mejor orden al momento de estudiar y entender el sistema(modularidad) y muchas cosas mas que mejor no sigo diciendo sino te aburrire jejeje.</p>
<p>En el siguiente ejemplo te muestro como llamar a un procedimiento almacenado para traer datos y mostrarlos en pantalla:</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
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> 
<span style="color: #666666; font-style: italic;">/******** CONSULTA CON PROCEDIMIENTO ALMACENADO **********/</span>
<span style="color: #000088;">$db</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> mysqli<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//mysqli exclusivo para usar procedimientos almacenados</span>
<span style="color: #000088;">$db_result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connect</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;root&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;db_productos&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$sql</span><span style="color: #339933;">=</span><span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;call usp_ListarProductos('<span style="color: #009933; font-weight: bold;">%s</span>',<span style="color: #009933; font-weight: bold;">%d</span>);&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'Leche'</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #666666; font-style: italic;">/*sprintf intenta filtrar el SQL Injection, es conveniente utilizarlo, 
%s indica que se le pasara una cadena y 
%d indica que se le pasara un numero entero*/</span>
&nbsp;
<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">mysqli_errno</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$db</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mySQL error <span style="color: #009933; font-weight: bold;">%s</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">error</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//si es que hubo error se muestra mensaje</span>
<span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//cerramos la conexion</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">num_rows</span><span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysqli_fetch_assoc</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">//recorriendo registro x registro</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;producto_id&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">.</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;nombre&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">.</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;precio&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;br&gt;'</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'No hay registros'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">free</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//liberando memoria</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>
<strong>Explicación:</strong></p>
<ol>
<li>Instanciamos un objeto de tipo mysqli, esto es exlusivo para poder invocar a procedimientos almacenados de mysql.</li>
<li>Después, y como te das cuenta, pasamos los parámetros de conexión con la Base de Datos.</li>
<li>Luego hacemos uso de la funcion “sprintf” que intentara filtrar Inyecciones SQL, no es obligatorio usarlo pero si te lo recomiendo.</li>
<li>Posteriormente pasamos la variable $sql al metodo “query” para que se ejecute el procedimiento almacenado y hacemos un if preguntando si es que hubo un error luego cerramos la conexion.</li>
<li>Haciendo uso de $result-&gt;num_rows&gt;0 verificamos si el procedimiento devolvió registros, si es asi, entonces recorremos uno a uno y lo vamos pintando en pantalla, caso contrario mostramos un mensaje.</li>
</ol>
<p>A continuación te muestro como llamar a un procedimiento almacenado pero para hacer una operación Insert o Update (para los 2 casos es similar).</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
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> 
<span style="color: #666666; font-style: italic;">/******** INSERT CON PROCEDIMIENTO ALMACENADO **********/</span>
<span style="color: #000088;">$db</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> mysqli<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//mysqli exclusivo para usar procedimientos almacenados</span>
<span style="color: #000088;">$db_result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connect</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;root&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;db_productos&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$sql</span><span style="color: #339933;">=</span><span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;call usp_InsertarProductos('<span style="color: #009933; font-weight: bold;">%s</span>',<span style="color: #009933; font-weight: bold;">%f</span>);&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'Leche descremada'</span><span style="color: #339933;">,</span><span style="color:#800080;">15.30</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #666666; font-style: italic;">/*sprintf intenta filtrar el SQL Injection, es conveniente utilizarlo, 
%s indica que se le pasara una cadena y 
%f indica que se le pasara un numero con decimales*/</span>
&nbsp;
<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">mysqli_errno</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$db</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;mySQL error <span style="color: #009933; font-weight: bold;">%s</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">error</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//si es que hubo error se muestra mensaje</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">affected_rows</span><span style="color: #339933;">!=-</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">//si se ejecuto correctamente el procedimiento almacenado</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'Se inserto el registro'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'No se pudo insertar el registro'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000088;">$result</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">free</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//liberando memoria</span>
<span style="color: #000088;">$db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//cerramos la conexion</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>La unica diferencia importante es que usamos $db-&gt;affected_rows!=-1 para verificar si se ejecuto correctamente el procedimiento.</p>
<p>Si deseas puedes descargar el ejemplo completo desde <a href="https://dshop.diino.net/getafile/B8YLWMIKA89LY7MJWD6IZSXNZADRMZX/procedimientos_almacenados_de_mysql_en_php.zip" target="_blank">aquí</a>.</p>
<p>Suerte Tigre !!</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.swekee.com/2008/08/29/procedimientos-almacenados-de-mysql-en-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sistema de Matriculas</title>
		<link>http://developer.swekee.com/2008/08/25/sistema-de-matriculas/</link>
		<comments>http://developer.swekee.com/2008/08/25/sistema-de-matriculas/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 04:20:24 +0000</pubDate>
		<dc:creator>david.alvaro</dc:creator>
				<category><![CDATA[Sistemas y Proyectos]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[3 Capas]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[matriculas]]></category>
		<category><![CDATA[sistemas]]></category>
		<category><![CDATA[UML]]></category>

		<guid isPermaLink="false">http://developer.swekee.com/?p=15</guid>
		<description><![CDATA[Hasta que por fin, después de arduo trabajo, sale nuestro primer post y que mejor para comenzar dándote como obsequio un pequeño sistema de matriculas hecho por un grupo de amigos y por mí, esta creado en C#.NET 2005 en formularios Windows usando el modelo de 3 Capas e interactuando con SQL Server 2005, espero [...]]]></description>
			<content:encoded><![CDATA[<p>Hasta que por fin, después de arduo trabajo, sale nuestro <strong>primer post</strong> y que mejor para comenzar dándote como obsequio un pequeño sistema de matriculas hecho por un grupo de amigos y por mí, esta creado en <strong>C#.NET 2005</strong> en formularios Windows usando el modelo de <strong>3 Capas</strong> e interactuando con <strong>SQL Server 2005</strong>, espero que te sirva mucho, pero ten en consideración que no esta hecho a la perfección, así que trata de mejorarlo.</p>
<p>Para descargar el sistema pulsa <a href="http://dgianko.diinoweb.com/files/" target="_blank">aqui</a></p>
<p>Espero con ansias tus criticas y comentarios.</p>
<p>Sácale provecho tigre!!</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.swekee.com/2008/08/25/sistema-de-matriculas/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
