<?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>Telepieza´s Weblog &#187; Programación</title>
	<atom:link href="http://www.telepieza.com/wordpress/category/informatica/programacion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.telepieza.com/wordpress</link>
	<description></description>
	<lastBuildDate>Thu, 09 Feb 2012 21:59:26 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Error en paginación virtuemart con sh404sef (I)</title>
		<link>http://www.telepieza.com/wordpress/2010/04/27/error-en-paginacion-virtuemart-con-sh404sef-i/</link>
		<comments>http://www.telepieza.com/wordpress/2010/04/27/error-en-paginacion-virtuemart-con-sh404sef-i/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 09:41:31 +0000</pubDate>
		<dc:creator>mariano</dc:creator>
				<category><![CDATA[Virtuemart]]></category>
		<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://www.telepieza.com/wordpress/?p=916</guid>
		<description><![CDATA[ Voy a empezar a escribir una serie de post para virtuemart, he leí­do mucho sobre los problemas que ocasiona al instalar el sh404sef en un joomla con virtuemart (Tienda Virtual), dichos problemas son la paginación de los productos o que enseña siempre el mismo artículo cuando queremos ver una categoría en concreto.  El problema de enseñar siempre [...]]]></description>
			<content:encoded><![CDATA[<p> Voy a empezar a escribir una serie de post para virtuemart, he leí­do mucho sobre los problemas que ocasiona al instalar el sh404sef en un joomla con virtuemart (Tienda Virtual), dichos problemas son la paginación de los productos o que enseña siempre el mismo artículo cuando queremos ver una categoría en concreto.</p>
<p> El problema de enseñar siempre el mismo artículo se soluciona de forma momentánea desactivando la cache del modulo global de joomla, después explicaremos la solución (ver imagen abajo).</p>

<a href="http://www.telepieza.com/wordpress/wp-content/gallery/imagenes/joomla_cache.gif" title="" class="thickbox" rel="singlepic989" >
	<img class="ngg-singlepic ngg-center" src="http://www.telepieza.com/wordpress/wp-content/gallery/cache/989__450x200_joomla_cache.gif" alt="joomla_cache" title="joomla_cache" />
</a>

<p><span style="color: #ffffff;">&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</span></p>
<p>El problema de la paginación se soluciona de forma momentánea desactivando el módulo sh404sef de joomla (ver imagen abajo).</p>

<a href="http://www.telepieza.com/wordpress/wp-content/gallery/imagenes/joomla_sh404sef.gif" title="" class="thickbox" rel="singlepic990" >
	<img class="ngg-singlepic ngg-center" src="http://www.telepieza.com/wordpress/wp-content/gallery/cache/990__450x188_joomla_sh404sef.gif" alt="joomla_sh404sef" title="joomla_sh404sef" />
</a>

<p>Dichos problemas se solucionan mediante programación, cambiar el código php, por dicho motivo es necesarío tener un entorno de pruebas en nuestro ordenador personal, sin modificar la tienda virtual que tenemos colgada en Internet.</p>
<p>Si modificamos los programas directamente en el Hosting, sobre todo el sh404SEF, podemos tener una mala experiencia personal, puede que todo el rato te este dando la página web el error 404. (por cierto en mi primera instalación llego un momento que el 404 lo tenía atragantado).</p>
<p>Al desactivar los dos módulos el de la cache y el sh404sef, nuestra tienda virtual del hosting funcionará sin problemas, y os dará tiempo a vosotros de ir leyendo estos post y aplicarlos en vuestro ordenador personal, para ver los resultados, una vez que son correctos los podéis aplicar sin problemas en el hosting.</p>
<p>Lo más difí­cil pero no imposible es tener un entorno de pruebas en vuestro ordenador igual que el del Hosting, un mismo joomla, una misma base de datos, un mismo entorno de trabajo &#8230;&#8230;&#8230;</p>
<p>Puede que me alargue en las explicaciones,  pero os puedo garantizar que la solución de la paginación o de la visualización del mismo producto en el virtuemart no es igual para todo el mundo, cada uno de vosotros puede tener una solución diferente en función de los componentes y themes instalados en el joomla + virtuemart.</p>
<p>Cómo hemos indicado tenemos que buscar el bug (error) en los programas de joomla, y modificar su código, para eso necesitamos un entorno de programación en nuestro ordenador personal.</p>
<p>Lo primero a realizar es instalar un entorno WAMP en nuestro windows, las siglas WAMP es <span style="color: #ff0000;"><strong>W</strong></span>indows, <span style="color: #ff0000;"><strong>A</strong></span>pache, <span style="color: #ff0000;"><strong>M</strong></span>ysql y <span style="color: #ff0000;"><strong>P</strong></span>hp.</p>
<p><strong>1.- Instalar XAMPP Apache</strong></p>
<p> 
<a href="http://www.telepieza.com/wordpress/wp-content/gallery/imagenes/instalar_xampp_01.gif" title="" class="thickbox" rel="singlepic877" >
	<img class="ngg-singlepic" src="http://www.telepieza.com/wordpress/wp-content/gallery/cache/877__100x73_instalar_xampp_01.gif" alt="instalar_xampp_01.gif" title="instalar_xampp_01.gif" />
</a>
 El entorno WAMP se instala mediante el  el paquete Open Source  <a title="XAMPP (Windows)" href="http://www.apachefriends.org/en/xampp-windows.html" target="_blank"><strong>XAMPP (Apache)</strong></a> realizado por la organización apachefiends que está englobado en el proyecto de OpenSource y su dirección es :</p>
<p>    <a href="http://www.apachefriends.org/en/xampp-windows.html">http://www.apachefriends.org/en/xampp-windows.html</a></p>
<p> La carpeta por defecto es c:\xampp es aconsejable no cambiar dicha carpeta de nombre en la instalación,  (ver imagen izquierda). </p>
<p><strong>NOTA :</strong> Para ver las fotos en miniatura, simplemente tienes que picar encima de ella. </p>
<p>
<a href="http://www.telepieza.com/wordpress/wp-content/gallery/imagenes/instalar_xampp_02.gif" title="" class="thickbox" rel="singlepic876" >
	<img class="ngg-singlepic" src="http://www.telepieza.com/wordpress/wp-content/gallery/cache/876__100x87_instalar_xampp_02.gif" alt="instalar_xampp_02.gif" title="instalar_xampp_02.gif" />
</a>
 Dicho programa instala en nuestro ordenador el Apache, PHP 4 y 5,  de forma opcional  MySql y el PhpMyAdmin (ver imagen izquierda) y todos sus servicios asociados. (Tenemos que indicar en la instalación que instale Apache, MySql y el PhpMyAdmin)</p>
<p>  XAMPP es una maravilla de producto funcionando a la perfección en S.O. Windows con más de 2   millones y medio  de descargadas en Open Source.</p>
<ul>
<li>1. Visite la dirección de arriba (Si aún no has descargado el programa) y descargue el programa.</li>
<li>2. Descargue el paquete de instalación XAMPP, que deberá ser un archivo ejecutable llamado xampp-win32-1.7.3.exe (según versión)</li>
<li>3. Ejecute el paquete de instalación. Cuando le solicite información, elija instalar Apache  y MySQL dejando sin marcar Filezilla.</li>
</ul>
<p> <strong>NOTA : </strong>Le recuerdo que si tiene instalado el IIS, no es posible tener dos servidores conectados a la vez por el puerto 80, uno de ellos tiene que ser desactivado.</p>
<p>Una vez terminado la instalación del XAMPP, ahora tenemos que instalar un IDE para buscar y modificar los programas realizados en PHP del JOOMLA. Existen muchos IDE&#8217;s, uno puede ser Eclipse, Netbeans  y muchos más &#8230;.</p>
<p>El que vamos a instalar es un IDE Opensource muy fácil de ejecutar, no necesitamos programas adicionales cómo el Java, el nombre del producto es :  <a href="http://www.codelobster.com/download.html" target="_blank">CODELOBSTER</a>, dicho programa crea un proyecto sobre el paquete de joomla más todos sus componentes para poder buscar las instrucciones a modificar en los programas que tienen el bug.</p>
<p>Otro programa necesario y digo necesario es el GOOGLE CHROME, ir al buscador google y descargar el navegador Chrome, lo necesitamos para que nos diga el elemento a inspeccionar con el Codelobster y a su vez modificar el código php del joomla.</p>
<p>Bueno con estos tres programas : XAMPP, CODELOBSTER y CHROME ya estamos listos para instalar nuestro JOOMLA del HOSTING en nuestro ordenador personal y realizar todas las pruebas necesarias para poder localizar los errores anteriormente descritos en nuestra tienda virtual.</p>
<p>En el próximo post seguiremos con nuestra explicación de solucionar problemas en el joomla con virtuemart más todos los componentes necesarios para arrancar una tienda virtual.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.telepieza.com%2Fwordpress%2F2010%2F04%2F27%2Ferror-en-paginacion-virtuemart-con-sh404sef-i%2F&amp;title=Error%20en%20paginaci%C3%B3n%20virtuemart%20con%20sh404sef%20%28I%29" id="wpa2a_2"><img src="http://www.telepieza.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.telepieza.com/wordpress/2010/04/27/error-en-paginacion-virtuemart-con-sh404sef-i/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Buscar de forma automática el cambio de la divisa en PHP en otro servidor (II)</title>
		<link>http://www.telepieza.com/wordpress/2010/04/16/buscar-de-forma-automatica-el-cambio-de-la-divisa-en-php-en-otro-servidor-ii/</link>
		<comments>http://www.telepieza.com/wordpress/2010/04/16/buscar-de-forma-automatica-el-cambio-de-la-divisa-en-php-en-otro-servidor-ii/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 11:31:12 +0000</pubDate>
		<dc:creator>Telepieza</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Programación]]></category>

		<guid isPermaLink="false">http://www.telepieza.com/wordpress/?p=898</guid>
		<description><![CDATA[En el apartado (buscar de Forma automática el cambio de Divisa (I) , nos quedamos en la instrucción fsockopen() devuelve un puntero a fichero, el cual se puede usar junto con las otras funciones de ficheros (como fgets(), fgetss(), fputs(), fclose(), feof()). Voy a colgar el programa en PHP que está funcionando desde hace muchos [...]]]></description>
			<content:encoded><![CDATA[<p><strong>En el apartado (buscar de Forma automática el cambio de Divisa (I) , nos quedamos en la instrucción fsockopen()</strong> devuelve un puntero a fichero, el cual se puede usar junto con las otras funciones de ficheros (como <strong>fgets()</strong>, <strong>fgetss()</strong>, <strong>fputs()</strong>, <strong>fclose()</strong>, <strong>feof()</strong>).</p>
<p>Voy a colgar el programa en PHP que está funcionando desde hace muchos meses sin dar ningún tipo de error para localizar el cambio de divisa desde un Hosting con la instrucción fsockopen()</p>
<p>El programa php currency_class.php es una clase y la he llamado currency_class.php, ire comentando casi todas las instrucciones para su mejor comprensión.</p>
<p><span style="color: #800000;"><span style="text-decoration: underline;">PROGRAMA REALIZADO PARA PHP LLAMADO CURRENCY_CLASS.PHP SIENDO LA CLASE Currency.</span></span></p>
<p>&lt;?php<br />
/**<br />
* @version  $Id: currency_class.php<br />
* @package  mvmphp<br />
* @copyright Copyright (C) 2009<br />
* @comment      Clase Currency (Buscar Valor de la Divisa)<br />
*/</p>
<p>class Currency {<br />
// Por defecto para toCurr es USD = Dólares y fromCurr es EUR = Euros </p>
<p> public $toCurr   = &#8216;USD&#8217;; <br />
 public $fromCurr = &#8216;EUR&#8217;;<br />
 // Constructor de la Clase, si los parametros a pasar son diferentes de null, pasamos los valores a las variables de la clase<br />
 function __construct($p_curr=null, $p_from=null) {<br />
  if ($p_curr != null ) $this-&gt;toCurr   = $p_curr;<br />
  if ($p_from != null) $this-&gt;fromCurr = $p_from; <br />
  $this-&gt;toAmount = 1;  // Valor es siempre 1<br />
 }  <br />
 <br />
/**<br />
* Busca mediante la tecnica del Socker del puerto 80 en google el valor de la divisa<br />
* Si es correcto devuelve una página para después localizar el cambio de la divisa<br />
*/<br />
 function getCurrencyGoogle() {</p>
<p> $host = &#8216;www.google.com&#8217;;<br />
 $page = &#8216;/search?&amp;q=&#8217;.$this-&gt;toAmount.&#8217;+&#8217;.$this-&gt;toCurr.&#8217;+in+&#8217;.$this-&gt;fromCurr;<br />
 $file_info = &#8221;;   $get_info = false;  $returnHtml = array();  $t_d=&#8221;; </p>
<p># Open Socker (Google) y search con las dos divisas con valor 1<br />
 if ($fsock = @fsockopen($host, $port=80, $errno, $errstr, $timeout=15))<br />
 {<br />
# Pagina y valores a buscar en el servidor<br />
  @fputs($fsock, &#8220;GET $page HTTP/1.1\r\n&#8221;);<br />
# DNS o IP del Host<br />
  @fputs($fsock, &#8220;HOST: $host\r\n&#8221;);<br />
# Tipo de Conexion y cierre<br />
  @fputs($fsock, &#8220;Connection: close\r\n\r\n&#8221;);<br />
  while (!@feof($fsock))<br />
  {  <br />
# A partir de la Segunda Lectura grabamos la informacion en $file_info para su posterior tratamiento<br />
   if ($get_info) $file_info .= @fread($fsock, 1024);<br />
   else<br />
   {<br />
# Por primera vez eliminamos la cabecera y controlamos errores de conexion<br />
    $line = @fgets($fsock, 1024);<br />
    if ($line == &#8220;\r\n&#8221;) $get_info = true;<br />
    else if (stripos($line, &#8217;404 not found&#8217;) !== false)<br />
    {<br />
     $errstr = &#8216;FILE_NOT_FOUND&#8217; . &#8216;: &#8216; . $host . $page;<br />
     error_log_event(&#8216; Currency 01-Error : &#8216;,$errstr ); <br />
     return false;<br />
    }<br />
   }<br />
  }<br />
  @fclose($fsock);<br />
 }<br />
 else<br />
 {<br />
  if ($errstr) { $errstr = utf8_convert_message($errstr);<br />
                 error_log_event(&#8216; Currency 02-Error : &#8216;,$errstr );<br />
                       return false;  }<br />
  else     { $errstr = &#8216;FSOCK_DISABLED&#8217;;  <br />
                 error_log_event(&#8216; Currency 03-Error : &#8216;,$errstr );<br />
        return false; }<br />
 }</p>
<p><span id="more-898"></span># Si es todo correcto en $file_info tenemos la pagina que nos devuelve el servidor, para poder extraer los datos<br />
# realizamos un preg_match_all (Funcion Regular del PHP)<br />
if ($file_info !=&#8221;)<br />
  preg_match_all(&#8216;/&lt;h2(.*)\&lt;\/h2\&gt;/Uis&#8217;, $file_info, $returnHtml, PREG_PATTERN_ORDER);<br />
# Si existe la matriz $returnHtml es porte hemos encontrado el texto y su valor <br />
 if (isset($returnHtml[0][0])) {<br />
# Quitamos todas las etiquetas html con la funcion strip_tags<br />
     $gRate = strip_tags($returnHtml[0][0]);<br />
# Separamos el texto inicial y el valor de la divisa mediante la funcion explore;<br />
     $t_vd = explode( &#8216;=&#8217;, $gRate );<br />
# Rastreamos los caracteres 0 a 9 y el . en segundo valor del vector $t_vd para localizar el valor del cambio<br />
     for ($i=0;$i&lt;strlen($t_vd[1]);$i++) {<br />
      $t_chr = substr($t_vd[1],$i,1);<br />
          if ($t_chr &gt;= &#8217;0&#8242; &amp;&amp; $t_chr &lt;= &#8217;9&#8242;) $t_d .= $t_chr;<br />
   elseif ($t_chr == &#8216;.&#8217; )     $t_d .= $t_chr;<br />
   elseif ($t_d != &#8221;) break ;<br />
     } <br />
    }<br />
  if ($t_d == &#8221; ) { $errstr = &#8216;No existe la Moneda de Cambio :&#8217;.$this-&gt;toCurr.&#8217; From : &#8216;.$this-&gt;fromCurr;<br />
                        error_log_event(&#8216; Currency 04-Error : &#8216; , $errstr );<br />
                        return false;<br />
                      }<br />
# Si todo el esfuerzo es correcto en la variable $t_d tenemos ya el cambio de Moneda.<br />
  $t_d = (float) round($t_d, 5);<br />
  return $t_d;<br />
}</p>
<p>}</p>
<p>?&gt;</p>
<p> En el programa cuando existe un error, lo envio a una funcion que graba en un fichero el tipo de error con un evento . Ejemplo : error_log_event(&#8216; Currency 04-Error : &#8216; , $errstr );  , vosotros podeís colocar un echo y ver todo su funcionamiento con los errores.</p>
<p>Para llamar a la clase es de la siguiente forma :</p>
<p>Comprobamos que las dos divisas son diferentes (Ejemplo USD y EUR), después creamos el objeto $converter indicando las dos divisas a buscar el cambio, una vez creado el objeto llamanos a getCurrencyGoogle y nos devuelve el cambio de moneda.</p>
<p>if ( $p_curr != $p_from ) { <br />
          $converter = new Currency( $p_curr  , $p_from );<br />
          $conver    = $converter-&gt;getCurrencyGoogle(); <br />
    if ($conver == false) $conver = 1;<br />
  }</p>
<p>Saludos y hasta la proxima &#8230;.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.telepieza.com%2Fwordpress%2F2010%2F04%2F16%2Fbuscar-de-forma-automatica-el-cambio-de-la-divisa-en-php-en-otro-servidor-ii%2F&amp;title=Buscar%20de%20forma%20autom%C3%A1tica%20el%20cambio%20de%20la%20divisa%20en%20PHP%20en%20otro%20servidor%20%28II%29" id="wpa2a_4"><img src="http://www.telepieza.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.telepieza.com/wordpress/2010/04/16/buscar-de-forma-automatica-el-cambio-de-la-divisa-en-php-en-otro-servidor-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Consejos prácticos para programar una web multi-idiomas.</title>
		<link>http://www.telepieza.com/wordpress/2010/01/25/consejos-practicos-para-programar-una-web-multi-idiomas/</link>
		<comments>http://www.telepieza.com/wordpress/2010/01/25/consejos-practicos-para-programar-una-web-multi-idiomas/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 23:29:38 +0000</pubDate>
		<dc:creator>Telepieza</dc:creator>
				<category><![CDATA[Programación]]></category>

		<guid isPermaLink="false">http://www.telepieza.com/wordpress/?p=878</guid>
		<description><![CDATA[Cuando realizas una página web pensando en todas las culturas e idiomas , tienes que tener en cuanta estos consejos : 1.- Google no está en todos los continentes, por ejemplo en Asia domina Baidu. 2.- El famoso YouTube está prohibido en China, alli el que funciona se llama Youku. 3.- En programación, existen funciones [...]]]></description>
			<content:encoded><![CDATA[<p>Cuando realizas una página web pensando en todas las culturas e idiomas , tienes que tener en cuanta estos consejos :</p>
<p>1.- Google no está en todos los continentes, por ejemplo en Asia domina Baidu.</p>
<p>2.- El famoso YouTube está prohibido en China, alli el que funciona se llama Youku.</p>
<p>3.- En programación, existen funciones automáticas que cambian las palabras de minúsculas a mayúsculas, recuerda que muchos idiomas no existe las mayúsculas y el efecto es que no salen las letras.</p>
<p>4.- Cuando diseñas una página web necesitas comprender el significado de los colores en cada cultura. El significado del color es fundamental para un pueblo, por ejemplo el blanco en china significa muerte, sus colores preferidos son el dorado y el rojo, aquí en nuestra cultura el significado de los colores son diferentes.</p>
<p>5.- El mundo está lleno de ordenadores conectados a Internet. El navegador más utilizado es el Explorer 6 y muchos de ellos tienen una antigüedad superior a 5 años con tarjetas de vídeo no superior a 512 Kb y resolución de 800&#215;600.</p>
<p>6.- Si tú sitio web está pensado para ordenadores de 1024&#215;768,  millones de ordenadores no podrán ver tú página web, por lo explicado en el punto 5.</p>
<p>7.- En la escuela , en el trabajo, en las noticias te explican que los navegadores más utilizados en el mundo son IE, mozilla, chrome &#8230;, pero se olviden de que un pueblo como los chinos utilizan uno llamado 360 IE en chino &#8230;&#8230;..</p>
<p>8.- Nuestra cultura  se expresa y escribe con caracteres y en otras culturas en símbolos. Lo explico porque un carácter se puede leer con font 10, pero cuando estamos visualizando sí­mbolos es a font 12 o superior.</p>
<p>9.- Si quieres armonizar una página web en varios idiomas, recuerda que la lengua expresada con sí­mbolos es más ancha que la expresada en caracteres.</p>
<p>10.- Si pides opinión a personas de otras culturas, puede que nunca te digan que no, pero si no les gusta la página no entrarán nunca a tu web.</p>
<p>11.- Si realizas una web y tu vecino o amigo la ve lenta, en otros continentes como el Asiatico o el Africano ni la verán, sus líneas de comunicaciones son más penosas que las nuestras.</p>
<p>12.- Una página web multi-idioma que se aprecie tiene que enseñar la página principal en el idioma que el usuario tiene en su ordenador o navegador.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.telepieza.com%2Fwordpress%2F2010%2F01%2F25%2Fconsejos-practicos-para-programar-una-web-multi-idiomas%2F&amp;title=Consejos%20pr%C3%A1cticos%20para%20programar%20una%20web%20multi-idiomas." id="wpa2a_6"><img src="http://www.telepieza.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.telepieza.com/wordpress/2010/01/25/consejos-practicos-para-programar-una-web-multi-idiomas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buscar de forma automática el cambio de la divisa en PHP en otro servidor (I)</title>
		<link>http://www.telepieza.com/wordpress/2010/01/23/buscar-de-forma-automatica-el-cambio-de-la-divisa-en-php-en-otro-servidor-i/</link>
		<comments>http://www.telepieza.com/wordpress/2010/01/23/buscar-de-forma-automatica-el-cambio-de-la-divisa-en-php-en-otro-servidor-i/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 12:50:01 +0000</pubDate>
		<dc:creator>Telepieza</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Programación]]></category>

		<guid isPermaLink="false">http://www.telepieza.com/wordpress/?p=877</guid>
		<description><![CDATA[ Existen muchas técnicas diferentes para buscar el cambio de una divisa en lenguaje PHP en otro servidor que no sea el tuyo (Por ejemplo : European Center Bank). Generalmente el cambio de las divisas del día lo dan servidores de Bancos, Instituciones Económicas, Prensa especializada en economía, Las Bolsas de todo el Mundo ,  los buscadores [...]]]></description>
			<content:encoded><![CDATA[<p> Existen muchas técnicas diferentes para buscar el cambio de una divisa en lenguaje PHP en otro servidor que no sea el tuyo (Por ejemplo : <a href="http://www.ecb.int/home/html/index.en.html" target="_blank">European Center Bank)</a>. Generalmente el cambio de las divisas del día lo dan servidores de Bancos, Instituciones Económicas, Prensa especializada en economía, Las Bolsas de todo el Mundo ,  los buscadores como yahoo, google y demás organizaciones que están especializados en Importación/Exportación de Divisas.</p>
<p> Para poder leer un fichero HTML en otro ordernador en PHP podemos utilizar la funcion :  <span style="color: #ff0000;">file_get_contents()  </span>y para poder leer un fichero en otro servidor en XML la funcion : <span style="color: #ff0000;">simplexml_load_file()</span></p>
<p>Dichas funciones funcionan perfectamente si las utilizamos en programa PHP que sus máquinas son controladas por nuestro Dpto. Informático o en ordenadores locales con conexión a Internet.</p>
<p> Las técnicas que estamos utilizando para buscar el valor de divisa en los formatos ya explicados anteriormente, son muy factibles porque dichas organizaciones nos dejan dichos ficheros en sitios públicos, para que otras compañías puedan acceder a leer libremente dichos ficheros.</p>
<p> Pero la sorpresa es cuando una aplicación realizada en PHP  la ejecutamos en un HOSTING,  y vemos con sorpresa que dichas funciones nos dan error,  porque el Servidor del Hosting no permite acceder a otros Ordenadores con dichas funciones para leer los ficheros que nosotros necesitamos en nuestra aplicación.</p>
<p>Para solucionar el problema existe una función : <span style="color: #ff0000;">fsockopen() </span>que nos puede ayudar a leer ficheros HTML y TXT, para poder leer ficheros de otros servidores sin que el HOSTING nos corte el acceso a las máquinas remotas que deseamos acceder.</p>
<p>La funcion <strong>fsockopen()</strong>  abre una conexión de dominio Internet o Unix via sockets. su descripción es : </p>
<div>   int <strong>fsockopen</strong>( string hostname, int port [, int errno [, string errstr [, double timeout]]])</div>
<p> <strong>fsockopen() :</strong> Inicia una conexión de dominio Internet  o Unix.</p>
<p> <span style="color: #0000ff;">Para el domino Internet, abrirá una conexión TCP hacia el ordenador <tt><em><strong>hostname</strong></em></tt> en el puerto <tt><em><strong>port</strong>.</em></tt></span></p>
<p> <span style="color: #ff0000;">Para el dominio Unix, <tt><em><strong>hostname</strong> </em></tt>se usará como ruta al socket, <tt><em><strong>port</strong></em></tt> debe ser 0 para este caso, el</span><span style="color: #ff0000;"> parámetro opcional <strong><tt><em>timeout</em></tt>se</strong> puede usar para especificar un timeout en segundos para establecer la conexión.</span></p>
<p><strong>fsockopen()</strong> devuelve un puntero a fichero, el cual se puede usar junto con las otras funciones de ficheros (como <a href="http://www.telepieza.com/mambo/documentacion-manual_php-pagina-function_fgets.html"><strong>fgets()</strong></a>, <a href="http://www.telepieza.com/mambo/documentacion-manual_php-pagina-function_fgetss.html"><strong>fgetss()</strong></a>, <a href="http://www.telepieza.com/mambo/documentacion-manual_php-pagina-function_fputs.html"><strong>fputs()</strong></a>, <a href="http://www.telepieza.com/mambo/documentacion-manual_php-pagina-function_fclose.html"><strong>fclose()</strong></a>, <a href="http://www.telepieza.com/mambo/documentacion-manual_php-pagina-function_feof.html"><strong>feof()</strong></a>).</p>
<p>En el siguiente post realizaremos un programa con<strong> fsockopen()</strong> para extraer el cambio de la divisa desde un servidor.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.telepieza.com%2Fwordpress%2F2010%2F01%2F23%2Fbuscar-de-forma-automatica-el-cambio-de-la-divisa-en-php-en-otro-servidor-i%2F&amp;title=Buscar%20de%20forma%20autom%C3%A1tica%20el%20cambio%20de%20la%20divisa%20en%20PHP%20en%20otro%20servidor%20%28I%29" id="wpa2a_8"><img src="http://www.telepieza.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.telepieza.com/wordpress/2010/01/23/buscar-de-forma-automatica-el-cambio-de-la-divisa-en-php-en-otro-servidor-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unir Idiomas y Paises según la ISO-639 e ISO-3166</title>
		<link>http://www.telepieza.com/wordpress/2009/08/12/unir-idiomas-y-paises-segun-la-iso-639-e-iso-3166/</link>
		<comments>http://www.telepieza.com/wordpress/2009/08/12/unir-idiomas-y-paises-segun-la-iso-639-e-iso-3166/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 22:10:22 +0000</pubDate>
		<dc:creator>Telepieza</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Programación]]></category>

		<guid isPermaLink="false">http://www.telepieza.com/wordpress/?p=835</guid>
		<description><![CDATA[ En las aplicaciones por Internet cada vez es más popular el soportar varios idiomas a la vez. Existe una reglamentación el ISO-639 que regula el idioma. Tiene que ser dos dígitos y en minúsculas. La lista está en : http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt  Existe otro reglamento el ISO-3166 que regula los países. Tienen que ser dos dígitos y en mayúsculas. La [...]]]></description>
			<content:encoded><![CDATA[<p> En las aplicaciones por Internet cada vez es más popular el soportar varios idiomas a la vez. Existe una reglamentación el ISO-639 que regula el idioma. Tiene que ser dos dígitos y en minúsculas.</p>
<p>La lista está en : <a href="http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt">http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt</a></p>
<p> Existe otro reglamento el ISO-3166 que regula los países. Tienen que ser dos dígitos y en mayúsculas.</p>
<p>La lista está en : <a href="http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html">http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html</a>   <br />
 <br />
 Para indicar un idioma y un país en concreto se unen los dos dígitos en minusculas del idioma y los dos dígitos del país en mayúsculas unidos por un guión _.</p>
<p>Varios ejemplos :</p>
<ul>
<li>&#8220;es_ES&#8221;   Español es España.</li>
<li>&#8220;ca_ES&#8221;   Catalán en España. </li>
<li>&#8216;es_MX&#8221;  Español en Mexico.</li>
</ul>
<p>Todo esto lo explico porque cada vez más se implementan los idiomas en lenguajes de programación orientados a Objetos como el JAVA , C++ y el PHP, que pueden tener la clase locale para gestionar los idiomas, dicha clase se regula según la reglamentación ISO-639 e ISO-3166.</p>
<p>Les dejo abajo todas las posibles combinaciones que existen entre los idiomas y los paises :</p>
<table style="width: 470px; height: 1721px;" border="1" cellspacing="0" cellpadding="0">
<colgroup span="1">
<col span="1" width="46"></col>
<col span="1" width="189"></col>
<col span="1" width="15"></col>
<col span="1" width="46"></col>
<col span="1" width="168"></col>
</colgroup>
<tbody>
<tr height="20">
<td width="46" height="20">Value</td>
<td width="189">Description</td>
<td width="15"> </td>
<td width="46">Value</td>
<td width="168">Description</td>
</tr>
<tr height="20">
<td width="46" height="20">ar</td>
<td width="189">Arabic</td>
<td> </td>
<td width="46">fi</td>
<td width="168">Finnish</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_AE</td>
<td width="189">Arabic (United Arab Emirates)</td>
<td> </td>
<td width="46">fi_FI</td>
<td width="168">Finnish (Finland)</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_BH</td>
<td width="189">Arabic (Bahrain)</td>
<td> </td>
<td width="46">fr</td>
<td width="168">French</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_DZ</td>
<td width="189">Arabic (Algeria)</td>
<td> </td>
<td width="46">fr_BE</td>
<td width="168">French (Belgium)</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_EG</td>
<td width="189">Arabic (Egypt)</td>
<td> </td>
<td width="46">fr_CA</td>
<td width="168">French (Canada)</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_IQ</td>
<td width="189">Arabic (Iraq)</td>
<td> </td>
<td width="46">fr_CH</td>
<td width="168">French (Switzerland)</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_JO</td>
<td width="189">Arabic (Jordan)</td>
<td> </td>
<td width="46">fr_FR</td>
<td width="168">French (France)</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_KW</td>
<td width="189">Arabic (Kuwait)</td>
<td> </td>
<td width="46">fr_LU</td>
<td width="168">French (Luxembourg)</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_LB</td>
<td width="189">Arabic (Lebanon)</td>
<td> </td>
<td width="46">hi_IN</td>
<td width="168">Hindi (India)</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_LY</td>
<td width="189">Arabic (Libya)</td>
<td> </td>
<td width="46">hr</td>
<td width="168">Croatian</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_MA</td>
<td width="189">Arabic (Morocco)</td>
<td> </td>
<td width="46">hr_HR</td>
<td width="168">Croatian (Croatia)</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_OM</td>
<td width="189">Arabic (Oman)</td>
<td> </td>
<td width="46">hu</td>
<td width="168">Hungarian</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_QA</td>
<td width="189">Arabic (Qatar)</td>
<td> </td>
<td width="46">hu_HU</td>
<td width="168">Hungarian (Hungary)</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_SA</td>
<td width="189">Arabic (Saudi Arabia)</td>
<td> </td>
<td width="46">id</td>
<td width="168">Indonesian</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_SD</td>
<td width="189">Arabic (Sudan)</td>
<td> </td>
<td width="46">is</td>
<td width="168">Icelandic</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_SY</td>
<td width="189">Arabic (Syria)</td>
<td> </td>
<td width="46">is_IS</td>
<td width="168">Icelandic (Iceland)</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_TN</td>
<td width="189">Arabic (Tunisia)</td>
<td> </td>
<td width="46">it</td>
<td width="168">Italian</td>
</tr>
<tr height="20">
<td width="46" height="20">ar_YE</td>
<td width="189">Arabic (Yemen)</td>
<td> </td>
<td width="46">it_CH</td>
<td width="168">Italian (Switzerland)</td>
</tr>
<tr height="20">
<td width="46" height="20">be</td>
<td width="189">Belarusian</td>
<td> </td>
<td width="46">it_IT</td>
<td width="168">Italian (Italy)</td>
</tr>
<tr height="20">
<td width="46" height="20">be_BY</td>
<td width="189">Belarusian (Belarus)</td>
<td> </td>
<td width="46">iw</td>
<td width="168">Hebrew</td>
</tr>
<tr height="20">
<td width="46" height="20">bg</td>
<td width="189">Bulgarian</td>
<td> </td>
<td width="46">iw_IL</td>
<td width="168">Hebrew (Israel)</td>
</tr>
<tr height="20">
<td width="46" height="20">bg_BG</td>
<td width="189">Bulgarian (Bulgaria)</td>
<td> </td>
<td width="46">ja</td>
<td width="168">Japanese</td>
</tr>
<tr height="20">
<td width="46" height="20">ca</td>
<td width="189">Catalan</td>
<td> </td>
<td width="46">ja_JP</td>
<td width="168">Japanese (Japan)</td>
</tr>
<tr height="20">
<td width="46" height="20">ca_ES</td>
<td width="189">Catalan (Spain)</td>
<td> </td>
<td width="46">ko</td>
<td width="168">Korean</td>
</tr>
<tr height="20">
<td width="46" height="20">cs</td>
<td width="189">Czech</td>
<td> </td>
<td width="46">ko_KR</td>
<td width="168">Korean (Korea)</td>
</tr>
<tr height="20">
<td width="46" height="20">cs_CZ</td>
<td width="189">Czech (Czech Republic)</td>
<td> </td>
<td width="46">lt</td>
<td width="168">Lithuanian</td>
</tr>
<tr height="20">
<td width="46" height="20">da</td>
<td width="189">Danish</td>
<td> </td>
<td width="46">lt_LT</td>
<td width="168">Lithuanian (Lithuania)</td>
</tr>
<tr height="20">
<td width="46" height="20">da_DK</td>
<td width="189">Danish (Denmark)</td>
<td> </td>
<td width="46">lv</td>
<td width="168">Latvian</td>
</tr>
<tr height="20">
<td width="46" height="20">de</td>
<td width="189">German</td>
<td> </td>
<td width="46">lv_LV</td>
<td width="168">Latvian (Latvia)</td>
</tr>
<tr height="20">
<td width="46" height="20">de_AT</td>
<td width="189">German (Austria)</td>
<td> </td>
<td width="46">mk</td>
<td width="168">Macedonian</td>
</tr>
<tr height="20">
<td width="46" height="20">de_CH</td>
<td width="189">German (Switzerland)</td>
<td> </td>
<td width="46">mk_MK</td>
<td width="168">Macedonian (Macedonia)</td>
</tr>
<tr height="20">
<td width="46" height="20">de_DE</td>
<td width="189">German (Germany)</td>
<td> </td>
<td width="46">nl</td>
<td width="168">Dutch</td>
</tr>
<tr height="20">
<td width="46" height="20">de_LU</td>
<td width="189">German (Luxembourg)</td>
<td> </td>
<td width="46">nl_BE</td>
<td width="168">Dutch (Belgium)</td>
</tr>
<tr height="20">
<td width="46" height="20">el</td>
<td width="189">Greek</td>
<td> </td>
<td width="46">nl_NL</td>
<td width="168">Dutch (Netherlands)</td>
</tr>
<tr height="20">
<td width="46" height="20">el_GR</td>
<td width="189">Greek (Greece)</td>
<td> </td>
<td width="46">no</td>
<td width="168">Norwegian</td>
</tr>
<tr height="20">
<td width="46" height="20">en</td>
<td width="189">English</td>
<td> </td>
<td width="46">no_NO</td>
<td width="168">Norwegian (Norway)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_AT</td>
<td width="189">English (Austria)</td>
<td> </td>
<td width="46">no_NO_NY</td>
<td width="168">Norwegian (Norway,Nynorsk)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_AU</td>
<td width="189">English (Australia)</td>
<td> </td>
<td width="46">pl</td>
<td width="168">Polish</td>
</tr>
<tr height="20">
<td width="46" height="20">en_BR</td>
<td width="189">English (Brazil)</td>
<td> </td>
<td width="46">pl_PL</td>
<td width="168">Polish (Poland)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_CA</td>
<td width="189">English (Canada)</td>
<td> </td>
<td width="46">pt</td>
<td width="168">Portuguese</td>
</tr>
<tr height="20">
<td width="46" height="20">en_CH</td>
<td width="189">English (Switzerland)</td>
<td> </td>
<td width="46">pt_BR</td>
<td width="168">Portuguese (Brazil)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_DE</td>
<td width="189">English (Germany)</td>
<td> </td>
<td width="46">pt_PT</td>
<td width="168">Portuguese (Portugal)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_DK</td>
<td width="189">English (Demark)</td>
<td> </td>
<td width="46">ro</td>
<td width="168">Romanian</td>
</tr>
<tr height="20">
<td width="46" height="20">en_ES</td>
<td width="189">English (Spain)</td>
<td> </td>
<td width="46">ro_RO</td>
<td width="168">Romanian (Romania)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_FI</td>
<td width="189">English (Finland)</td>
<td> </td>
<td width="46">ru</td>
<td width="168">Russian</td>
</tr>
<tr height="20">
<td width="46" height="20">en_FR</td>
<td width="189">English (France)</td>
<td> </td>
<td width="46">ru_RU</td>
<td width="168">Russian (Russia)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_GB</td>
<td width="189">English (Great Britain)</td>
<td> </td>
<td width="46">sk</td>
<td width="168">Slovak</td>
</tr>
<tr height="20">
<td width="46" height="20">en_HK</td>
<td width="189">English (Hong Kong)</td>
<td> </td>
<td width="46">sk_SK</td>
<td width="168">Slovak (Slovakia)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_IE</td>
<td width="189">English (Ireland)</td>
<td> </td>
<td width="46">sl</td>
<td width="168">Slovenian</td>
</tr>
<tr height="20">
<td width="46" height="20">en_IN</td>
<td width="189">English (India)</td>
<td> </td>
<td width="46">sl_SI</td>
<td width="168">Slovenian (Slovenia)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_IT</td>
<td width="189">English (Italy)</td>
<td> </td>
<td width="46">sq</td>
<td width="168">Albanian</td>
</tr>
<tr height="20">
<td width="46" height="20">en_JP</td>
<td width="189">English (Japan)</td>
<td> </td>
<td width="46">sq_AL</td>
<td width="168">Albanian (Albania)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_KR</td>
<td width="189">English (Korea)</td>
<td> </td>
<td width="46">sr</td>
<td width="168">Serbian</td>
</tr>
<tr height="20">
<td width="46" height="20">en_MX</td>
<td width="189">English (Mexico)</td>
<td> </td>
<td width="46">sv</td>
<td width="168">Swedish</td>
</tr>
<tr height="20">
<td width="46" height="20">en_NL</td>
<td width="189">English (Netherlands)</td>
<td> </td>
<td width="46">sv_SE</td>
<td width="168">Swedish (Sweden)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_NO</td>
<td width="189">English (Norway)</td>
<td> </td>
<td width="46">th</td>
<td width="168">Thai</td>
</tr>
<tr height="20">
<td width="46" height="20">en_NZ</td>
<td width="189">English (New Zealand)</td>
<td> </td>
<td width="46">th_TH</td>
<td width="168">Thai (Thailand)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_SE</td>
<td width="189">English (Sweden)</td>
<td> </td>
<td width="46">tr</td>
<td width="168">Turkish</td>
</tr>
<tr height="20">
<td width="46" height="20">en_SG</td>
<td width="189">English (Singapore)</td>
<td> </td>
<td width="46">tr_TR</td>
<td width="168">Turkish (Turkey)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_TW</td>
<td width="189">English (Taiwan)</td>
<td> </td>
<td width="46">uk</td>
<td width="168">Ukrainian</td>
</tr>
<tr height="20">
<td width="46" height="20">en_US</td>
<td width="189">English (United States)</td>
<td> </td>
<td width="46">uk_UA</td>
<td width="168">Ukrainian (Ukraine)</td>
</tr>
<tr height="20">
<td width="46" height="20">en_ZA</td>
<td width="189">English (South Africa)</td>
<td> </td>
<td width="46">vi</td>
<td width="168">Vietnamese</td>
</tr>
<tr height="20">
<td width="46" height="20">es</td>
<td width="189">Spanish</td>
<td> </td>
<td width="46">vi_VN</td>
<td width="168">Vietnamese (Vietnam)</td>
</tr>
<tr height="20">
<td width="46" height="20">es_AR</td>
<td width="189">Spanish (Argentina)</td>
<td> </td>
<td width="46">zh</td>
<td width="168">Chinese</td>
</tr>
<tr height="20">
<td width="46" height="20">es_BO</td>
<td width="189">Spanish (Bolivia)</td>
<td> </td>
<td width="46">zh_CN</td>
<td width="168">Chinese (China)</td>
</tr>
<tr height="20">
<td width="46" height="20">es_CL</td>
<td width="189">Spanish (Chile)</td>
<td> </td>
<td width="46">zh_HK</td>
<td width="168">Chinese (Hong Kong)</td>
</tr>
<tr height="20">
<td width="46" height="20">es_CO</td>
<td width="189">Spanish (Colombia)</td>
<td> </td>
<td width="46">zh_TW</td>
<td width="168">Chinese (Taiwan)</td>
</tr>
<tr height="20">
<td width="46" height="20">es_CR</td>
<td width="189">Spanish (Costa Rica)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_DO</td>
<td width="189">Spanish (Dominican)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_EC</td>
<td width="189">Spanish (Ecuador)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_ES</td>
<td width="189">Spanish (Spain)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_GT</td>
<td width="189">Spanish (Guatemala)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_HN</td>
<td width="189">Spanish (Honduras)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_MX</td>
<td width="189">Spanish (Mexico)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_NI</td>
<td width="189">Spanish (Nicaragua)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_PA</td>
<td width="189">Spanish (Panama)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_PE</td>
<td width="189">Spanish (Peru)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_PR</td>
<td width="189">Spanish (Puerto Rico)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_PY</td>
<td width="189">Spanish (Paraguay)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_SV</td>
<td width="189">Spanish (El Salvador)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_UY</td>
<td width="189">Spanish (Uruguay)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">es_VE</td>
<td width="189">Spanish (Venezuela)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">et</td>
<td width="189">Estonian</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr height="20">
<td width="46" height="20">et_EE</td>
<td width="189">Estonian (Estonia)</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.telepieza.com%2Fwordpress%2F2009%2F08%2F12%2Funir-idiomas-y-paises-segun-la-iso-639-e-iso-3166%2F&amp;title=Unir%20Idiomas%20y%20Paises%20seg%C3%BAn%20la%20ISO-639%20e%20ISO-3166" id="wpa2a_10"><img src="http://www.telepieza.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.telepieza.com/wordpress/2009/08/12/unir-idiomas-y-paises-segun-la-iso-639-e-iso-3166/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Solución de OutOfMemory en Tomcat 6.0 para Windows</title>
		<link>http://www.telepieza.com/wordpress/2009/06/12/solucion-de-outofmemory-en-tomcat-60-para-windows/</link>
		<comments>http://www.telepieza.com/wordpress/2009/06/12/solucion-de-outofmemory-en-tomcat-60-para-windows/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 21:23:59 +0000</pubDate>
		<dc:creator>Espinas</dc:creator>
				<category><![CDATA[Programación]]></category>

		<guid isPermaLink="false">http://www.telepieza.com/wordpress/?p=754</guid>
		<description><![CDATA[Cuando instalas programas que necesitan el tomcat 6.0 , por ejemplo Openbravo , puedes quedarte sin memoria (help space) en la máquina virtual (JVM) del Tomcat 6.0.  Tomcat 6.0 gestiona todos los host virtuales que se ejecutan  en el mismo proceso o procesos diferentes, eso significa poder tener problemas de recursos y sobre todo de [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">
<a href="http://www.telepieza.com/wordpress/wp-content/gallery/imagenes/logo_tomcat_60.gif" title="" class="thickbox" rel="singlepic873" >
	<img class="ngg-singlepic" src="http://www.telepieza.com/wordpress/wp-content/gallery/cache/873__200x112_logo_tomcat_60.gif" alt="logo_tomcat_60.gif" title="logo_tomcat_60.gif" />
</a>
 Cuando instalas programas que necesitan el tomcat 6.0 , por ejemplo Openbravo , puedes quedarte sin memoria (help space) en la máquina virtual (JVM) del Tomcat 6.0.</p>
<p style="text-align: justify;"> Tomcat 6.0 gestiona todos los host virtuales que se ejecutan  en el mismo proceso o procesos diferentes, eso significa poder tener problemas de recursos y sobre todo de memoria.</p>
<p style="text-align: justify;"> Cuando iniciamos JVM, asigna una cantidad fija de memoria, si se ejecutan varios JVM, esa cantidad puede ser demasiado elevada  (Problemas con el servidor) o demasiado escasa (Problemas de memoria  &#8211; OutOfMemory &#8211; ).</p>
<p style="text-align: justify;">Tomcat 6.0 tiene la posibilidad de configurar mediante parámetros la configuración de la pila dinámica de memoria.</p>
<p>Las opciones que puede establecer son :</p>
<ul>
<li>Tamaño inicial de la pila de Java : Parámetros -Xms</li>
<li>Tamaño máximo de la pila de Java : Parámetro -Xmx</li>
<li>Tamaño de la pila de proceso de Java ; Parámetro -Xss</li>
<li>Tamaño Máximo Memoria Permanente : Parámetro :  -XX:MaxPermSize</li>
</ul>
<p>Un Ejemplo :</p>
<ul>
<li>Para establecer un tamaño inicial     de 384Mb  : -Xms384m</li>
<li>Para establecer un tamaño máximo de 512Mb  : -Xmx512m</li>
<li>Para establecer Memoria Permanente  256Mb  : -XX:MaxPermSize=256m</li>
</ul>
<p>Buscamos el programa catalina.bat que está en la carpeta :   tomcat\bin\catalina.bat </p>
<p>colocar estas dos instrucciones sobre la línea 70 :</p>
<p>set CATALINA_OPTS=-Xms384m -Xmx512m -XX:MaxPermSize=256m</p>
<p>set JAVA_OPTS=-Xms384m -Xmx512m -XX:MaxPermSize=256m</p>
<p>Existe otro fichero bat en la misma ruta llamado startup.bat, es aconsejable que también introduzcas dichas instrucciones sobre la línea 28 más o menos.<br />
<span id="more-754"></span><br />
<script type="text/javascript">// <![CDATA[
google_ad_client = "pub-9142530214884641";
google_ad_slot = "9641810708";
google_ad_width = 468;
google_ad_height = 60;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script><br />
<span style="color: #ff0000;"><strong>NOTA :</strong> </span>Para el entorno Linux es en la misma ruta pero el fichero se llama catalina.sh y las instrucciones son :</p>
<p>export CATALINA_OPTS=-Xms384m -Xmx512m -XX:MaxPermSize=256m</p>
<p>export JAVA_OPTS=-Xms384m -Xmx512m -XX:MaxPermSize=256m</p>
<p>Saludos de Espinas.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.telepieza.com%2Fwordpress%2F2009%2F06%2F12%2Fsolucion-de-outofmemory-en-tomcat-60-para-windows%2F&amp;title=Soluci%C3%B3n%20de%20OutOfMemory%20en%20Tomcat%206.0%20para%20Windows" id="wpa2a_12"><img src="http://www.telepieza.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.telepieza.com/wordpress/2009/06/12/solucion-de-outofmemory-en-tomcat-60-para-windows/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Solución de OutOfMemory en Tomcat 5.5 para Windows</title>
		<link>http://www.telepieza.com/wordpress/2009/06/12/solucion-de-outofmemory-en-tomcat-55-para-windows/</link>
		<comments>http://www.telepieza.com/wordpress/2009/06/12/solucion-de-outofmemory-en-tomcat-55-para-windows/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:49:46 +0000</pubDate>
		<dc:creator>Espinas</dc:creator>
				<category><![CDATA[Programación]]></category>

		<guid isPermaLink="false">http://www.telepieza.com/wordpress/?p=753</guid>
		<description><![CDATA[Cuando instalas programas que necesitan el tomcat, por ejemplo Openbravo , puedes quedarte sin memoria (help space) en la máquina virtual (JVM) del Tomcat 5.5.  Tomcat 5.5 gestiona todos los host virtuales que se ejecutan  en el mismo proceso o procesos diferentes, eso significa poder tener problemas de recursos y sobre todo de memoria.  Cuando [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">
<a href="http://www.telepieza.com/wordpress/wp-content/gallery/imagenes/logo_tomcat_55.gif" title="" class="thickbox" rel="singlepic874" >
	<img class="ngg-singlepic" src="http://www.telepieza.com/wordpress/wp-content/gallery/cache/874__200x92_logo_tomcat_55.gif" alt="logo_tomcat_55.gif" title="logo_tomcat_55.gif" />
</a>
 Cuando instalas programas que necesitan el tomcat, por ejemplo Openbravo , puedes quedarte sin memoria (help space) en la máquina virtual (JVM) del Tomcat 5.5.</p>
<p style="text-align: justify;"> Tomcat 5.5 gestiona todos los host virtuales que se ejecutan  en el mismo proceso o procesos diferentes, eso significa poder tener problemas de recursos y sobre todo de memoria.</p>
<p style="text-align: justify;"> Cuando iniciamos JVM, asigna una cantidad fija de memoria, si se ejecutan varios JVM, esa cantidad puede ser demasiado elevada (Problemas con el servidor) o demasiado escasa (Problemas de memoria  &#8211; OutOfMemory &#8211; ).</p>
<p style="text-align: justify;">Tomcat 5.5 tiene la posibilidad de configurar mediante parámetros la configuración de la pila dinámica de memoria.</p>
<p>Las opciones que puede establecer son :</p>
<ul>
<li>Tamaño inicial de la pila de Java : Parámetros -Xms</li>
<li>Tamaño máximo de la pila de Java : Parámetro -Xmx</li>
<li>Tamaño de la pila de proceso de Java ; Parámetro -Xss</li>
<li>Tamaño Máximo Memoria Permanente : Parámetro :  -XX:MaxPermSize</li>
</ul>
<p>Un Ejemplo :</p>
<ul>
<li>Para establecer un tamaño inicial     de 384Mb  : -Xms384m</li>
<li>Para establecer un tamaño máximo de 512Mb  : -Xmx512m</li>
<li>Para establecer Memoria Permanente  256Mb  : -XX:MaxPermSize=256m</li>
</ul>
<p>Para poder introducir dichos valores en Windows es ir :<br />

<a href="http://www.telepieza.com/wordpress/wp-content/gallery/imagenes/instalar_tomcat_55_01.gif" title="" class="thickbox" rel="singlepic871" >
	<img class="ngg-singlepic" src="http://www.telepieza.com/wordpress/wp-content/gallery/cache/871__416x166_instalar_tomcat_55_01.gif" alt="instalar_tomcat_55_01.gif" title="instalar_tomcat_55_01.gif" />
</a>
<br />
<span style="color: #ffffff;">&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.</span><br />
Una vez dentro de la opción configurar Tomcat 5.5, nos vamos a la pestaña Java e introducimos los valores que necesitamos (Ver Imagen Abajo).</p>
<p>
<a href="http://www.telepieza.com/wordpress/wp-content/gallery/imagenes/instalar_tomcat_55_02.gif" title="" class="thickbox" rel="singlepic870" >
	<img class="ngg-singlepic" src="http://www.telepieza.com/wordpress/wp-content/gallery/cache/870__418x390_instalar_tomcat_55_02.gif" alt="instalar_tomcat_55_02.gif" title="instalar_tomcat_55_02.gif" />
</a>
<br />
<span style="color: #ffffff;">&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</span><br />
 Una vez modificado los Datos y picado el botón Aplicar, nos vamos a la pestaña General, paramos (Stop) el Tomcat 5.5 (Opción Nº 1 de la Imagen de Abajo) y después Arrancamos (Start) el Tomcat 5.5 (Opción nº 2 de la Imagen de Abajo).<br />
<span id="more-753"></span><br />
<script type="text/javascript"><!--
google_ad_client = "pub-9142530214884641";
google_ad_slot = "9641810708";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
 Si se arranca el Tomcat 5.5, los datos introducidos en la pestaña de Java son correctos, si por el contrario no arranca el Tomcat, es porque hemos cometido algún error a la hora de introducir los parámetros para gestionar la memoria JVM de Tomcat.<br />

<a href="http://www.telepieza.com/wordpress/wp-content/gallery/imagenes/instalar_tomcat_55_03.gif" title="" class="thickbox" rel="singlepic872" >
	<img class="ngg-singlepic" src="http://www.telepieza.com/wordpress/wp-content/gallery/cache/872__416x398_instalar_tomcat_55_03.gif" alt="instalar_tomcat_55_03.gif" title="instalar_tomcat_55_03.gif" />
</a>
<br />
<span style="color: #ffffff;">&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</span><br />
<script type="text/javascript"><!--
google_ad_client = "pub-9142530214884641";
/* 468x60, Grafico */
google_ad_slot = "9931952767";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
Saludos de Espinas</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.telepieza.com%2Fwordpress%2F2009%2F06%2F12%2Fsolucion-de-outofmemory-en-tomcat-55-para-windows%2F&amp;title=Soluci%C3%B3n%20de%20OutOfMemory%20en%20Tomcat%205.5%20para%20Windows" id="wpa2a_14"><img src="http://www.telepieza.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.telepieza.com/wordpress/2009/06/12/solucion-de-outofmemory-en-tomcat-55-para-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diferencia entre valores primitivos y de referencia en JavaScript</title>
		<link>http://www.telepieza.com/wordpress/2009/05/23/diferencia-entre-valores-primitivos-y-de-referencia-en-javascript/</link>
		<comments>http://www.telepieza.com/wordpress/2009/05/23/diferencia-entre-valores-primitivos-y-de-referencia-en-javascript/#comments</comments>
		<pubDate>Sat, 23 May 2009 12:56:33 +0000</pubDate>
		<dc:creator>Telepieza</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programación]]></category>

		<guid isPermaLink="false">http://www.telepieza.com/wordpress/?p=693</guid>
		<description><![CDATA[ La programación de JavaScript, las variables pueden almacenar dos tipos de valores, el primero es de tipo primitivo y el segundo de tipo referencia. Los valores primitivos son fragmentos de datos que su valor se almacena en la ubicación de la que accede la variable.  Los valores de referencia, su valor almacenado en la ubicación [...]]]></description>
			<content:encoded><![CDATA[<p> La programación de JavaScript, las variables pueden almacenar dos tipos de valores, el primero es de tipo primitivo y el segundo de tipo referencia.</p>
<p><span style="color: #993300;"><strong>Los valores primitivos </strong></span>son fragmentos de datos que su valor se almacena en la ubicación de la que accede la variable.</p>
<p> <span style="color: #993300;"><strong>Los valores de referencia</strong></span>, su valor almacenado en la ubicación de la variable es un puntero a una ubicación en memoria en la que se almacena el objeto en sí.</p>
<p>Para dejar más claro los diferentes tipos primitivos de ECMAScript, los podemos clasificar en : Underfined, Null, Boolean, Number y String.</p>
<p><span style="color: #000080;"><strong><em><span style="text-decoration: underline;">Underfined</span></em></strong></span></p>
<p>El tipo Underfined tiene un único valor y es el literal underfined, cuando declaramos una variable y no es inicializada, de forma predeterminada se asigna el valor underfine.</p>
<p>El ejemplo más comun es declarar la variable sin darla ningún valor :</p>
<p>                              var oDirecc;  // Declaramos oDirecc y no le damos valor.</p>
<p><span style="color: #000080;"><strong><span style="text-decoration: underline;"><em>Null</em></span></strong></span> </p>
<p>El valor y literal null se utiliza para representar un objeto que no existe. Si una función o un método deben de devolver un objeto, se devuelve null cuando dicho objeto es inexistente.</p>
<p>ejemplo :     if (oName == null) alert (&#8220;El objeto oName es tipo null&#8221;);</p>
<p><span style="color: #000080;"><strong><span style="text-decoration: underline;"><em>Boolean</em></span></strong></span></p>
<p>Las variables de tipo boolean o booleano también se conocen con el nombre de variables de tipo lógico. Tiene dos valores en forma de literal , uno es false y el otro es true. Las variables de tipo Boolean no deben contener comillas. </p>
<p>Ejemplo    :   var bDirecc = true;<br />
                         var  bMovil = false;</p>
<p><strong><em><span style="text-decoration: underline;"><span style="color: #000080;">Number</span></span></em></strong></p>
<p>Las variables de tipo Number pueden representar tanto enteros de 32 bits como valores de coma flotante de 64 bits.</p>
<p>Los enteros se pueden representar como octales (Base 8), o hexadecimales (Base 16). para grabar octales el primer digito tiene que ser un 0 y los siguientes cualquier digito octal (del 0 al 7). Ejemplo : var iOctal = 076; . Para representar valores hexadecimales el primer digito tiene que ser un 0 seguido por la letra x y después cualquier número hexadecimal (0 a 9 y A,B,C,D,E,F), Ejemplo :    var iHexade = 0x4b;</p>
<p>Para grabar valores de coma flotante, tenemos que incluir una coma decimal y un digito después de la coma. Ejemplo   var iesComaflo = 25,23;</p>
<p>Ejemplos de tipo Numer :</p>
<ul>
<li>var iNum1 = 10;</li>
<li>var iNum2 = 25,1;</li>
<li>var iNum3 = 45,23;</li>
<li>var iNum4 = 054;           // Octal</li>
<li>var iNum5 = 0x3f;         // Hexadecimal</li>
<li>var iNum6 = 3.137e6; // La e indica el nº de veces que se multiplica por 10.</li>
</ul>
<p><strong><em><span style="text-decoration: underline;"><span style="color: #000080;">String</span></span></em></strong></p>
<p>Es un valor primitivo que admite valores alfanuméricos y no tiene tamaño definido cuando lo declaramos en javaScript.</p>
<p>Podemos indicar que la variable de tipo string es una cadena de caracteres, que se le asigna una posición que empieza con el valor 0 para el primer caracter, 1 para el segundo y así hasta su último valor,</p>
<p> Los literales de cadena se especifican mediante las dos comillas o la comilla simple. JavaScript admite las dos posibilidades a la hora de definir variables tipo string.</p>
<p>ejemplos : smycasa = &#8220;adosada&#8221;;<br />
                      smypiso = &#8216;Bloque&#8217;;</p>
<p>Nos falta describir el tipo de referencia.</p>
<p><strong><em><span style="text-decoration: underline;"><span style="color: #000080;">Tipo de Referencia</span></span></em></strong></p>
<p>Como hemos indicado , los tipos de referencias son punteros, y por lo general está directamente relacionado con objetos. JavaScript es un lenguaje orientado a Objetos, para poder crear un objeto se utiliza el operador new.</p>
<p>  Ejemplo :     var omyObject = new Object();</p>
<p>    o también es posible : var omyObject = new Object;.</p>
<p>Como vemos podemos indicar parantesis o no, eso va en función si queremos tener uno o más parametros.</p>
<p> En las siguientes entregas hablaremos de más tipos como los arrays, objetos y diferentes operadores como el typeof.</p>
<p>Saludos de Telepieza</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.telepieza.com%2Fwordpress%2F2009%2F05%2F23%2Fdiferencia-entre-valores-primitivos-y-de-referencia-en-javascript%2F&amp;title=Diferencia%20entre%20valores%20primitivos%20y%20de%20referencia%20en%20JavaScript" id="wpa2a_16"><img src="http://www.telepieza.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.telepieza.com/wordpress/2009/05/23/diferencia-entre-valores-primitivos-y-de-referencia-en-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diferencia entre palabra clave y reservada en JavaScript</title>
		<link>http://www.telepieza.com/wordpress/2009/05/22/diferencia-entre-palabra-clave-y-reservada-en-javascript/</link>
		<comments>http://www.telepieza.com/wordpress/2009/05/22/diferencia-entre-palabra-clave-y-reservada-en-javascript/#comments</comments>
		<pubDate>Fri, 22 May 2009 15:49:28 +0000</pubDate>
		<dc:creator>Telepieza</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programación]]></category>

		<guid isPermaLink="false">http://www.telepieza.com/wordpress/?p=691</guid>
		<description><![CDATA[Cuando trabajas en leguanjes de programación web, siempre he tenido un gran dilema entre los significados de  palabra clave o palabra reservada en programación. En ECMA-262 del lenguaje de programación JavaScript, las palabras claves indican el inicio y/o el final de instrucciones de ECMAScript. Dichas palabras están reservadas y no es posible utilizarlas como nombre [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Cuando trabajas en leguanjes de programación web, siempre he tenido un gran dilema entre los significados de  palabra clave o palabra reservada en programación.</p>
<p style="text-align: justify;">En ECMA-262 del lenguaje de programación JavaScript, las palabras claves <span style="color: #ff0000;">indican el inicio y/o el final de instrucciones de ECMAScript</span>. Dichas palabras están reservadas y no es posible utilizarlas como nombre de variable o funciones (En las versiones actuales de ECMAScript).</p>
<table style="width: 436px; border-collapse: collapse; text-align: justify;" border="0" cellspacing="0" cellpadding="0">
<colgroup span="1">
<col style="width: 96pt; mso-width-source: userset; mso-width-alt: 4681;" span="1" width="128"></col>
<col style="width: 119pt; mso-width-source: userset; mso-width-alt: 5814;" span="1" width="159"></col>
<col style="width: 112pt; mso-width-source: userset; mso-width-alt: 5449;" span="1" width="149"></col>
</colgroup>
<tbody>
<tr style="height: 15pt;" height="20">
<td style="width: 96pt; height: 15pt; background-color: transparent; text-align: justify; border: #d4d0c8;" width="128" height="20"> </td>
<td class="xl67" style="width: 119pt; background-color: transparent; border: #d4d0c8;" width="159"><span style="font-size: small; font-family: Calibri;">PALABRAS CLAVES</span></td>
<td style="width: 112pt; background-color: transparent; border: #d4d0c8;" width="149"> </td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt; background-color: transparent; border: #d4d0c8;" height="20"> </td>
<td class="xl67" style="background-color: transparent; border: #d4d0c8;"> </td>
<td style="background-color: transparent; border: #d4d0c8;"> </td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="height: 15pt; background-color: transparent; border: windowtext 0.5pt solid;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>1.-  break</span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">10.- for<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">19.- throw<span style="mso-spacerun: yes;">  </span></span></span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>2.- case<span style="mso-spacerun: yes;">    </span></span></span></td>
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">11.- function<span style="mso-spacerun: yes;"> </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">20.- try</span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>3.- catch<span style="mso-spacerun: yes;">              </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">12.- if<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">21.- typeof</span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>4.- continue<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">13.- in<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">22.- var<span style="mso-spacerun: yes;"> </span></span></span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>5.- default</span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">14.- instanceof<span style="mso-spacerun: yes;"> </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">23.- void</span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>6.- delete</span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">15.- new<span style="mso-spacerun: yes;"> </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">24.- while<span style="mso-spacerun: yes;">  </span></span></span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>7.- do<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">16.- return<span style="mso-spacerun: yes;">   </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">25.- with</span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>8.- else<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">17.- switch</span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="mso-spacerun: yes;"><span style="font-size: small; font-family: Arial;"> </span></span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>9.- finally<span style="mso-spacerun: yes;"> </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">18.- this</span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="mso-spacerun: yes;"><span style="font-size: small; font-family: Arial;"> </span></span></td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">  ECMAScript define las palabras reservadas, <span style="color: #ff0000;">como palabras que se reservan para su posterior utilización como palabras clave (En versiones futuras de dicho lenguaje)</span>,  dichas palabras no se pueden utilizar como nombres de funcion o variables.</p>
<p style="text-align: justify;">                                          PALABRAS RESERVADAS</p>
<table style="width: 436px; border-collapse: collapse; text-align: justify;" border="0" cellspacing="0" cellpadding="0">
<colgroup span="1">
<col style="width: 96pt; mso-width-source: userset; mso-width-alt: 4681;" span="1" width="128"></col>
<col style="width: 119pt; mso-width-source: userset; mso-width-alt: 5814;" span="1" width="159"></col>
<col style="width: 112pt; mso-width-source: userset; mso-width-alt: 5449;" span="1" width="149"></col>
</colgroup>
<tbody>
<tr style="height: 15pt;" height="20">
<td class="xl66" style="width: 96pt; height: 15pt; background-color: transparent; border: windowtext 0.5pt solid;" width="128" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>1.- abstract<span style="mso-spacerun: yes;">         </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 119pt; border-bottom: windowtext 0.5pt solid; background-color: transparent;" width="159"><span style="font-size: small;"><span style="font-family: Arial;">12.- final<span style="mso-spacerun: yes;">   </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 112pt; border-bottom: windowtext 0.5pt solid; background-color: transparent;" width="149"><span style="font-size: small;"><span style="font-family: Arial;">23.- protected<span style="mso-spacerun: yes;">   </span></span></span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>2.- boolean<span style="mso-spacerun: yes;">   </span></span></span></td>
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">13.- float<span style="mso-spacerun: yes;">   </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">24.- public<span style="mso-spacerun: yes;">   </span></span></span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>3.- byte<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">14.- goto<span style="mso-spacerun: yes;">   </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">25.- short</span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>4.- char<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">15.- implements</span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">26.- static<span style="mso-spacerun: yes;">    </span></span></span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>5.- class</span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">16.- import<span style="mso-spacerun: yes;">   </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">27.- super<span style="mso-spacerun: yes;">    </span></span></span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>6.- const</span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">17.- int<span style="mso-spacerun: yes;">    </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">28.- synchronized<span style="mso-spacerun: yes;">  </span></span></span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>7.- debugger<span style="mso-spacerun: yes;">   </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">18- interface<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">29.- throws</span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>8.- double<span style="mso-spacerun: yes;">   </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">19.- long<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">30.- transient</span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;"><span style="mso-spacerun: yes;"> </span>9.- enum<span style="mso-spacerun: yes;"> </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">20.- native</span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;">31.- volatile</span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small; font-family: Arial;">10.- export</span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">21.- package<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;"> </span></td>
</tr>
<tr style="height: 15pt;" height="20">
<td class="xl65" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 15pt; background-color: transparent;" height="20"><span style="font-size: small;"><span style="font-family: Arial;">11.- extends<span style="mso-spacerun: yes;">  </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small;"><span style="font-family: Arial;">22.- private<span style="mso-spacerun: yes;">     </span></span></span></td>
<td class="xl66" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;"><span style="font-size: small; font-family: Arial;"> </span></td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">Si utilizamos en nuestros programas dichas palabras reservadas en funciones o variables , los navegadores nos pueden dar error de funcionamento en el futuro, cuando se incorporen dichas palabras en sus relises.</p>
<p style="text-align: justify;">Por lo menos en JavaScript está muy claro el significado de palabra Clave y Palabra Reservada, una es el presente y la otra el futuro de nuevas versiones o relieses de programación y navegadores en la red.</p>
<p style="text-align: justify;">Saludos de Telepieza</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.telepieza.com%2Fwordpress%2F2009%2F05%2F22%2Fdiferencia-entre-palabra-clave-y-reservada-en-javascript%2F&amp;title=Diferencia%20entre%20palabra%20clave%20y%20reservada%20en%20JavaScript" id="wpa2a_18"><img src="http://www.telepieza.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.telepieza.com/wordpress/2009/05/22/diferencia-entre-palabra-clave-y-reservada-en-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qué necesitamos para programar en AJAX</title>
		<link>http://www.telepieza.com/wordpress/2009/05/21/que-necesitamos-para-programar-en-ajax/</link>
		<comments>http://www.telepieza.com/wordpress/2009/05/21/que-necesitamos-para-programar-en-ajax/#comments</comments>
		<pubDate>Thu, 21 May 2009 16:04:49 +0000</pubDate>
		<dc:creator>mariano</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[ajax]]></category>

		<guid isPermaLink="false">http://www.telepieza.com/wordpress/?p=690</guid>
		<description><![CDATA[Soy una persona que lee todos los libros informáticos que existen en el mercado, me gusta documentarme, y analizar otros trabajos informáticos que son punteros en el mundo de Internet. Llevo algunos post escribiendo sobre la técnologia Ajax y buscando información en  libros sobre CSS, DOM, JavaScript, XML, DHTML y AJAX.  Algunos libros que he leido son :  CSS [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Soy una persona que lee todos los libros informáticos que existen en el mercado, me gusta documentarme, y analizar otros trabajos informáticos que son punteros en el mundo de Internet.</p>
<p style="text-align: justify;">Llevo algunos post escribiendo sobre la técnologia Ajax y buscando información en  libros sobre CSS, DOM, JavaScript, XML, DHTML y AJAX.</p>
<p style="text-align: justify;"> Algunos libros que he leido son :  CSS práctico, Profesional JavaScript, Manual de Referencias HTML, Profesional de AJAX, AJAX y los mejores trucos, Eclipse, Desarrollo de PHP y MySql, CSS Hojas de estilo en cascada para el diseño Web, MySql, XHTML   y muchos más que tengo en mi biblioteca personal.</p>
<p style="text-align: justify;">Todos ellos te explican la sintaxis y los metodos de programación de cada uno de los lenguajes, pero sus ejemplos son de páginas web realizadas por otros  , y no por los que escriben los libros.</p>
<p style="text-align: justify;"> Cuando empiezo a leer sobre AJAX en todos estos libros, mi mente se va al pasado a los años 90 cuando en la WEB 1.0 se programaba a pelo con tecnología JavaScript y HTML.</p>
<p style="text-align: justify;">Los navegadores IE , Mozilla y Safary son distintos en la forma de tratar el  modelo de Caja o Box (Zona de contenido de texto o imagen), cuando queremos representar una página muy elaborada en nuestra web con etiquetas div.</p>
<p style="text-align: justify;"> Un modelo de Caja o Zona de contenido en una página web, contiene a su alrededor áreas de borde, relleno y margen que hacen imperfecto nuestra página web según se vea con uno u otro navegador o con el mismo navegador pero con versiones diferentes.</p>
<p style="text-align: justify;">Cuando leemos los libros ninguno te indica que la programación para entornos AJAX tiene que ser limpia, eso significa que en una página web sólo tiene que tener código html y nada de JavaScript o CSS. El código JavaScript y las Hojas de Estilo (CSS) tienen que estar en ficheros diferentes al código HTML.</p>
<p style="text-align: justify;"><span id="more-690"></span></p>
<p style="text-align: justify;">AJAX es un entorno de trabajo que un experto de programación tiene que dominar  las técnicas en el lado del cliente de (CSS, JAVASCRIPT, DOM y XHTML) y por supuesto no me puedo olvidar del diseño gráfico para poder vestir las páginas con un estilo agradable a la vista del Internauta.</p>
<p style="text-align: justify;">AJAX no es sólo programación en el lado del cliente, tenemos que saber y aprender programación en el lado del Servidor como (PHP, JAVA, PERL o CGI) y conexión a Base de Datos (Oracle, MySql, DB2 &#8230;&#8230;).</p>
<p style="text-align: justify;">AJAX también es comunicación y tenemos que saber cómo poder transmitir los datos entre ordenadores, y las técnicas utilizadas son (XML, JSON, PHP y TXT). y además un poco de APACHE, IIS y contenedores de aplicaciones como JBOSS o TOMCAT.</p>
<p style="text-align: justify;"> Una vez que aprendemos todos estos estilos de programación, la siguiente lección es que no puedes abusar de la técnica AJAX en las páginas WEB, sólo en casos muy contados para buscar los máximos datos  posibles en cada acceso a nuestro servidor, cuando realizamos la petición de llamada desde nuestro ordenador cliente. </p>
<p style="text-align: justify;">AJAX es una técnica pensada para buscar datos al servidor, y cambiar parte de la información de la página web del navegador, sin refrescar la página.</p>
<p style="text-align: justify;">Saludos de Telepieza.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.telepieza.com%2Fwordpress%2F2009%2F05%2F21%2Fque-necesitamos-para-programar-en-ajax%2F&amp;title=Qu%C3%A9%20necesitamos%20para%20programar%20en%20AJAX" id="wpa2a_20"><img src="http://www.telepieza.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.telepieza.com/wordpress/2009/05/21/que-necesitamos-para-programar-en-ajax/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

