<?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>PHPBSD.net &#187; php2js</title>
	<atom:link href="http://www.phpbsd.net/tag/php2js/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpbsd.net</link>
	<description>Blogueando sobre PHP, BSD, SEO, AJAX, Seguridad, Rendimiento... y mucho más</description>
	<lastBuildDate>Thu, 07 Oct 2010 11:57:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Funciones PHP en JavaScript</title>
		<link>http://www.phpbsd.net/2008/01/09/funciones-php-en-javascript/</link>
		<comments>http://www.phpbsd.net/2008/01/09/funciones-php-en-javascript/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 00:14:56 +0000</pubDate>
		<dc:creator>Oriol</dc:creator>
				<category><![CDATA[Notas]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[librerías]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php2js]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[webmaster]]></category>

		<guid isPermaLink="false">http://www.phpbsd.net/2008/01/09/funciones-php-en-javascript/</guid>
		<description><![CDATA[Si eres programador PHP y en ocasiones encuentras a faltar determinadas funciones de PHP en JavaScript te interesará el proyecto Porting PHP to Javascript. Kevin van Zonneveld con la ayuda de algunos colaboradores está desarrollando una librería con varias funciones PHP implementadas en JavaScript con el objetivo de reducir al máximo las diferencias entre ambos [...]


Entradas relacionadas:<ul><li><a href='http://www.phpbsd.net/2007/11/28/buscar-funciones-php-desde-firefox/' rel='bookmark' title='Permanent Link: Buscar funciones PHP desde Firefox'>Buscar funciones PHP desde Firefox</a></li><li><a href='http://www.phpbsd.net/2007/05/18/funciones-anonimas-en-php/' rel='bookmark' title='Permanent Link: Funciones anónimas en PHP'>Funciones anónimas en PHP</a></li><li><a href='http://www.phpbsd.net/2007/01/31/transfiriendo-datos-con-la-libreria-curl-en-php/' rel='bookmark' title='Permanent Link: Transfiriendo datos con la librería cURL en PHP'>Transfiriendo datos con la librería cURL en PHP</a></li></ul>]]></description>
			<content:encoded><![CDATA[<p>Si eres programador PHP y en ocasiones encuentras a faltar determinadas funciones de PHP en JavaScript te interesará el proyecto <a target="_blank" href="http://kevin.vanzonneveld.net/techblog/category/php2js/" title="PHP equivalents">Porting PHP to Javascript</a>. <a target="_blank" href="http://kevin.vanzonneveld.net/techblog/" title="KvZ - TechBlog">Kevin van Zonneveld</a> con la ayuda de algunos colaboradores está desarrollando <strong>una librería con varias funciones PHP implementadas en JavaScript</strong> con el objetivo de reducir al máximo las diferencias entre ambos lenguajes de programación.</p>
<p>De momento las funciones implementadas en JavaScript son las siguientes:</p>
<p><code>addslashes()<br />
array_combine()<br />
array_pop()<br />
array_push()<br />
array_search()<br />
base64_decode()<br />
base64_encode()<br />
basename()<br />
chr()<br />
crc32()<br />
explode()<br />
function_exists()<br />
implode()<br />
include()<br />
include_once()<br />
is_array()<br />
is_numeric()<br />
ltrim()<br />
nl2br()<br />
ord()<br />
rtrim()<br />
soundex()<br />
str_pad()<br />
str_repeat()<br />
str_replace()<br />
str_rot13()<br />
strip_tags()<br />
stripslashes()<br />
strtolower()<br />
strtoupper()<br />
trim()<br />
ucwords()<br />
utf8_decode()<br />
utf8_encode()<br />
wordwrap()</code></p>
<p>Kevin publica cada función en un post dentro de la categoría <a target="_blank" href="http://kevin.vanzonneveld.net/techblog/category/php2js/" title="PHP equivalents">php2js</a> en su blog. En cada post encontrarás el código JavaScript de la función, una descripción, los parámetros de entrada, los valores de retorno, etc. También puedes descargar directamente la librería completa <a target="_blank" href="http://kevin.vanzonneveld.net/code/php_equivalents/php.js" title="php.js">php.js</a> o la versión comprimida <a target="_blank" href="http://kevin.vanzonneveld.net/code/php_equivalents/php.min.js" title="php.min.js">php.min.js</a>.</p>
<p>Si te apetece participar en este proyecto puedes hacerlo en el mismo blog colgando un comentario.</p>
<p>Vía <a target="_blank" href="http://devzone.zend.com/article/2913-Porting-PHP-to-JavaScript" title="Porting PHP to JavaScript">Zend Developer Zone</a></p>


<p>Entradas relacionadas:<ul><li><a href='http://www.phpbsd.net/2007/11/28/buscar-funciones-php-desde-firefox/' rel='bookmark' title='Permanent Link: Buscar funciones PHP desde Firefox'>Buscar funciones PHP desde Firefox</a></li><li><a href='http://www.phpbsd.net/2007/05/18/funciones-anonimas-en-php/' rel='bookmark' title='Permanent Link: Funciones anónimas en PHP'>Funciones anónimas en PHP</a></li><li><a href='http://www.phpbsd.net/2007/01/31/transfiriendo-datos-con-la-libreria-curl-en-php/' rel='bookmark' title='Permanent Link: Transfiriendo datos con la librería cURL en PHP'>Transfiriendo datos con la librería cURL en PHP</a></li></ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.phpbsd.net/2008/01/09/funciones-php-en-javascript/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

