<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-752089615544955833</id><updated>2012-01-05T13:44:35.372-08:00</updated><category term='php5'/><category term='mvc'/><category term='controller'/><category term='blogger'/><category term='javascript'/><category term='sql'/><category term='php'/><category term='ajax'/><category term='source code'/><category term='patrones'/><category term='frontcontroller'/><category term='pdo'/><category term='general'/><category term='prototype'/><category term='json'/><category term='bienvenida'/><title type='text'>Web 2.0 Development</title><subtitle type='html'>Blog dedicado a la creacion de sitios Web altamente dinamicos, usando PHP5+.

Utilizando tecnicas como AJAX, JSON, Prototype, POO, Patrones de Diseño.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://web2development.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://web2development.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Christopher</name><uri>http://www.blogger.com/profile/05868028924133950252</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.gkdev.net/pimages/yop.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-752089615544955833.post-8948316366401152997</id><published>2007-10-31T07:52:00.000-07:00</published><updated>2007-10-31T08:39:30.688-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='controller'/><category scheme='http://www.blogger.com/atom/ns#' term='mvc'/><category scheme='http://www.blogger.com/atom/ns#' term='frontcontroller'/><category scheme='http://www.blogger.com/atom/ns#' term='patrones'/><title type='text'>FrontController</title><summary type='text'>Saludos a todos!, antes que nada una disculpa por ya no haber puesto mas temas pero el trabajo me estuvo comiendo.Vuelvo con este tema que es la segunda parte del patrón MVC, y es el FrontController, en el tema pasado vimos como es posible separar la capa de datos/proceso/vista, es una forma ideal para separar nuestro código y hacerlo mucho mas legible.Ahora vamos a ver como centralizar todo y </summary><link rel='replies' type='application/atom+xml' href='http://web2development.blogspot.com/feeds/8948316366401152997/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=752089615544955833&amp;postID=8948316366401152997' title='7 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/8948316366401152997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/8948316366401152997'/><link rel='alternate' type='text/html' href='http://web2development.blogspot.com/2007/10/frontcontroller.html' title='FrontController'/><author><name>Christopher</name><uri>http://www.blogger.com/profile/05868028924133950252</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.gkdev.net/pimages/yop.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-752089615544955833.post-3614621009619851677</id><published>2007-05-29T14:11:00.000-07:00</published><updated>2007-05-29T14:27:44.432-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mvc'/><category scheme='http://www.blogger.com/atom/ns#' term='php5'/><category scheme='http://www.blogger.com/atom/ns#' term='patrones'/><title type='text'>Patron MVC</title><summary type='text'>El patrón MVC es un patrón de diseño de software en el cual todo el proceso está dividido en 3 capas, típicamente estas capas son el Modelo, la Vista y el Controlador.El Modelo incorpora la capa del dominio y persistencia, es la encargada de guardar los datos en un medio persistente (ya sea una base de datos, un archivo de texto, XML, registro, etc.). En el modelo es donde se hace el </summary><link rel='replies' type='application/atom+xml' href='http://web2development.blogspot.com/feeds/3614621009619851677/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=752089615544955833&amp;postID=3614621009619851677' title='10 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/3614621009619851677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/3614621009619851677'/><link rel='alternate' type='text/html' href='http://web2development.blogspot.com/2007/05/patron-mvc.html' title='Patron MVC'/><author><name>Christopher</name><uri>http://www.blogger.com/profile/05868028924133950252</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.gkdev.net/pimages/yop.jpg'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-752089615544955833.post-8299279400315531889</id><published>2007-05-18T07:41:00.000-07:00</published><updated>2007-05-18T07:53:12.862-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='source code'/><category scheme='http://www.blogger.com/atom/ns#' term='php5'/><title type='text'>Publicar codigo PHP en Blogger</title><summary type='text'>Muchas veces nos preguntamos como publicar código fuente, en varios blogs hay herramientas para tal efecto, pero en blogger particularmente no hay forma tan sencilla, eso si tenemos todo el poder para poder publicar código HTML directamente.Para eso desarrolle un pequeño script en PHP, cuya finalidad es esa, formatear el codigo PHP y dejarlo listo para que se pueda publicar, con colores y números</summary><link rel='replies' type='application/atom+xml' href='http://web2development.blogspot.com/feeds/8299279400315531889/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=752089615544955833&amp;postID=8299279400315531889' title='6 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/8299279400315531889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/8299279400315531889'/><link rel='alternate' type='text/html' href='http://web2development.blogspot.com/2007/05/publicar-codigo-php-en-blogger.html' title='Publicar codigo PHP en Blogger'/><author><name>Christopher</name><uri>http://www.blogger.com/profile/05868028924133950252</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.gkdev.net/pimages/yop.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-752089615544955833.post-3446152798672694262</id><published>2007-05-16T08:36:00.000-07:00</published><updated>2007-05-16T10:14:09.592-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php5'/><category scheme='http://www.blogger.com/atom/ns#' term='pdo'/><category scheme='http://www.blogger.com/atom/ns#' term='patrones'/><title type='text'>Patron ActiveTable y ActiveRecord</title><summary type='text'>Patrón ActiveTable y ActiveRecord  Cuando empezamos a utilizar OOP al 100% empezamos a usar clases para representar objetos que estamos utilizando en el diseño de nuestro sistema.  Pensemos en un ejemplo básico, vamos a hacer un catalogo de automóviles, para representar a nuestro automóvil vamos a utilizar la siguiente clase:1  &lt;?php2  class Automovil {3       private $nombre;4       private $</summary><link rel='replies' type='application/atom+xml' href='http://web2development.blogspot.com/feeds/3446152798672694262/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=752089615544955833&amp;postID=3446152798672694262' title='19 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/3446152798672694262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/3446152798672694262'/><link rel='alternate' type='text/html' href='http://web2development.blogspot.com/2007/05/patron-activetable-y-activerecord.html' title='Patron ActiveTable y ActiveRecord'/><author><name>Christopher</name><uri>http://www.blogger.com/profile/05868028924133950252</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.gkdev.net/pimages/yop.jpg'/></author><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-752089615544955833.post-7387199078967918153</id><published>2007-04-27T15:38:00.000-07:00</published><updated>2007-04-30T11:17:34.062-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='pdo'/><title type='text'>Accesando a nuestra base de datos con PDO</title><summary type='text'>PHP y MySQL, se llevan de la mano, es muy sencillo y casi todos los paquetes "todo en uno" implementan PHP y MySQL, esto le dio a PHP una ventaja muy grande y un crecimiento muy grande.El problema viene que muchos programadores inexpertos se pusieron a programar, y a hacer micro sistemas, o scripts, que en si sirven para su función, pero pueden llegar a ser inseguros y los hackers empiezan a </summary><link rel='replies' type='application/atom+xml' href='http://web2development.blogspot.com/feeds/7387199078967918153/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=752089615544955833&amp;postID=7387199078967918153' title='2 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/7387199078967918153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/7387199078967918153'/><link rel='alternate' type='text/html' href='http://web2development.blogspot.com/2007/04/accesando-nuestra-base-de-datos-con-pdo.html' title='Accesando a nuestra base de datos con PDO'/><author><name>Christopher</name><uri>http://www.blogger.com/profile/05868028924133950252</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.gkdev.net/pimages/yop.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-752089615544955833.post-8013764770542326966</id><published>2007-04-22T12:36:00.000-07:00</published><updated>2007-04-23T13:24:01.046-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='ajax'/><category scheme='http://www.blogger.com/atom/ns#' term='json'/><category scheme='http://www.blogger.com/atom/ns#' term='prototype'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>JSON: Transferir objetos entre PHP y Javascript</title><summary type='text'>En la semana estuve buscando varias formas de establecer una comunicación entre PHP y una pagina HTML, casi 100% JavaScript. La idea era reutilizar ya varios componentes que existen, entre ellos prototype una librería que implementa JSON de una forma casi nativa (desde su versión 1.5).Me encontré con varias complicaciones, y que seguramente te puedes encontrar, una de ellas es enviar directamente</summary><link rel='replies' type='application/atom+xml' href='http://web2development.blogspot.com/feeds/8013764770542326966/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=752089615544955833&amp;postID=8013764770542326966' title='5 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/8013764770542326966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/8013764770542326966'/><link rel='alternate' type='text/html' href='http://web2development.blogspot.com/2007/04/json-transferir-objetos-entre-php-y.html' title='JSON: Transferir objetos entre PHP y Javascript'/><author><name>Christopher</name><uri>http://www.blogger.com/profile/05868028924133950252</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.gkdev.net/pimages/yop.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-752089615544955833.post-2621542780756284646</id><published>2007-04-15T20:24:00.000-07:00</published><updated>2007-04-15T20:33:05.499-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bienvenida'/><category scheme='http://www.blogger.com/atom/ns#' term='general'/><title type='text'>Bienvenida</title><summary type='text'>Bienvenidos a mi blog, la idea de este blog es poner trucos y tips para realizar aplicaciones Web2.0 usando PHP5 y Javascript.Mucho del potencial de este blog se basara en tips de como hacer las cosas de la forma mas correcta, orientarnos a resolver el problema y aprender a resolver problemas similares en un futuro.También aprovechare para ir poniendo partes del código de mi framework sobre el </summary><link rel='replies' type='application/atom+xml' href='http://web2development.blogspot.com/feeds/2621542780756284646/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=752089615544955833&amp;postID=2621542780756284646' title='6 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/2621542780756284646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/752089615544955833/posts/default/2621542780756284646'/><link rel='alternate' type='text/html' href='http://web2development.blogspot.com/2007/04/bienvenida.html' title='Bienvenida'/><author><name>Christopher</name><uri>http://www.blogger.com/profile/05868028924133950252</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.gkdev.net/pimages/yop.jpg'/></author><thr:total>6</thr:total></entry></feed>
