pirates of the caribbean: at world's end movie download requiem for a dream movie download movie download gran torino armageddon movie download life is beautiful movie download stand by me movie download movie download braveheart the incredible hulk movie download movie download adventureland star wars: episode i - the phantom menace movie download the nines there's something about mary the mummy speed movie movie download movie download the third man red is the color of rear window kung fu panda movie download movie download the final inquiry he's just not that into you movie download once upon a time in the west american beauty movie download movie download my friends tigger & pooh's friendly tails movie download the elephant man night at the museum 2: battle of the smithsonian movie download the chronicles of narnia: the lion witch and the wardrobe movie download gladiator movie download edward scissorhands movie download rambo crank 2: high voltage movie download movie download the green mile the bourne ultimatum superbad movie download movie download harry potter and the order of the phoenix closer movie signs movie fast & furious 4 movie download blood diamond movie download i am legend movie download die hard 2 movie download movie download race to witch mountain knowing movie download the wrestler movie download 12 angry men die hard movie download harry potter and the sorcerer's stone kill bill: vol. 1 bride wars movie download bruce almighty bridget jones's diary movie download one flew over the cuckoo's nest movie download the talented mr. ripley the apartment the notebook the big lebowski chasing amy movie download the hunt for gollum movie download sin city movie download fired up movie download catch me if you can movie download heat movie download movie download robin hood: prince of thieves x2 sweeney todd: the demon barber of fleet street movie download finding neverland road to perdition movie download rocky the leon (professional) movie download notorious movie download planet of the apes madea goes to jail gangs of new york unforgiven movie movie download angels & demons new in town aka chilled in miami movie download the pursuit of happyness movie download movie download south park: bigger longer & uncut howl's moving castle movie download making waves vertigo 007 goldeneye the man from earth movie download movie download back to the future part ii movie download casino royale movie download journal of a contract killer the lord of the rings: the return of the king the planets full metal jacket indiana jones and the last crusade movie download movie download singin' in the rain the ghosts of girlfriends past watchmen movie download movie download the chimes at midnight movie download napoleon dynamite american gangster movie download memento the darjeeling limited movie download glory movie download a beautiful mind movie download reservoir dogs movie download movie download terminator 2: judgment day movie download collateral movie download platoon movie download underworld: rise of the lycans the matrix revolutions hot fuzz raiders of the lost ark movie download chop shop ocean's twelve saving private ryan lesbian vampire killers movie download scary movie movie download movie download the fifth element changeling movie download the silence of the lambs movie download the untouchables movie download how the grinch stole christmas! shrek 2 movie download the snowman van helsing war of the worlds movie download the terminator movie download the christmas toy if i didn't care movie download the 10th kingdom movie download the usual suspects movie download toy story jackie brown movie download movie download the great escape pirates of the caribbean: the curse of the black pearl moulin rouge! i'm not there soldier's girl movie download transformers movie download knocked up dead set american history x interview with the vampire: the vampire chronicles star wars: episode vi - return of the jedi movie download street fighter: the legend of chun-li movie download l.a. confidential movie download dead poets society movie download big fish movie download letters from iwo jima home alone movie download movie download harry potter and the goblet of fire beauty and the beast movie download goodfellas movie download superman returns movie download movie download harry potter and the chamber of secrets live free or die hard movie download hannah montana: the movie men in black movie download movie download pirates of the caribbean: dead man's chest movie download the fugitive 3:10 to yuma 12 rounds movie download man on wire apocalypto the grudge 3 movie download charlie's angels spider-man 2 movie download cool hand luke movie download sicko the sting movie download waterworld movie download movie download there will be blood the last samurai black hawk down frost/nixon movie download the last king of scotland eternal sunshine of the spotless mind to kill a mockingbird movie download coraline movie download movie download hulk movie download christmas in south park the incredibles movie download ratatouille stardust movie download movie download children of men some like it hot movie download movie download the godfather: part iii movie download jaws the hangover movie download unbreakable movie download movie download from dusk till dawn movie download blade runner (final cut) the truman show movie download the godfather movie download 17 again million dollar baby movie download movie download dead like me the passion of the christ movie download slumdog millionaire movie download trainspotting chicago alien movie download heima hancock movie download good will hunting movie download leaving las vegas movie download star trek obsessed movie download enchanted austin powers: international man of mystery movie download carlito's way monsters vs. aliens the butterfly effect movie download the simpsons movie movie download star trek: first contact erin brockovich the skeptic movie download 2001: a space odyssey movie download a bug's life forrest gump 21 grams x-men traffic movie movie download in bruges star wars: episode iv - a new hope movie download echelon conspiracy borat movie download movie download shelter sleepy hollow movie download movie download munich 300 spartans the devil's advocate the fast and the furious gone baby gone a clockwork orange the shawshank redemption movie download dragonball: evolution movie download the aviator movie download the african queen cloverfield movie download schindler's list ice age back to the future movie download paul blart: mall cop se7en movie download hotel for dogs control movie download movie download notting hill movie download monsters inc. movie download gandhi movie download o brother where art thou? penelope movie download the nightmare before christmas movie download movie download dances with wolves the dark knight movie download the 40 year old virgin movie download scream winnie the pooh un-valentine's day drag me to hell movie download movie download the conversation the telling love actually once upon a time in america movie download mulholland dr. movie download terminator 3: rise of the machines the phantom of the opera movie download tales of the black freighter movie download the uninvited fear and loathing in las vegas movie download office space no country for old men movie download terminator salvation dogma fargo movie download movie download citizen kane casablanca movie download on the waterfront movie download before the devil knows you're dead i robot v for vendetta movie download last chance harvey movie download land of the lost titanic the elite squad movie download garden state aladdin indiana jones and the kingdom of the crystal skull spider-man 3 movie download romeo + juliet natural born killers movie download movie download the matrix movie download jurassic park movie download the blair witch project sleuth iron man the matrix reloaded movie download movie download anchorman: the legend of ron burgundy movie download lost in translation the others gone in sixty seconds movie download almost famous movie download movie download kill bill: vol. 2 x-men: the last stand ferris bueller's day off movie download movie download finding nemo hotel rwanda movie download troy movie download indiana jones and the temple of doom movie download movie download bootmen movie download confessions of a shopaholic jeff dunham: arguing with myself aliens movie download the departed austin powers: the spy who shagged me saw ii x-men origins: wolverine movie download the hurt locker movie download the savages groundhog day the curious case of benjamin button movie download the princess bride the rock movie download spider-man movie download movie download fight club the sixth sense movie download shakespeare in love baraka movie download paths of glory american pie movie download underworld movie download psycho lawrence of arabia it's a wonderful life movie download ace ventura: pet detective jr. movie download the wild bunch donnie darko movie download mean girls mission: impossible ii movie download city of god movie download amadeus movie download the lord of the rings: the two towers movie download the insider dr. strangelove or: how i learned to stop worrying and love the bomb snatch. movie download lock stock and two smoking barrels american psycho die another day movie download movie download the diving bell and the butterfly star wars: episode iii - revenge of the sith movie download before sunset movie download rain man movie download robot chicken: star wars movie download desperado ben-hur: a tale of the christ movie download saw movie download gone with the wind movie download movie download star wars: episode v - the empire strikes back movie download lara croft: tomb raider the international movie download the da vinci code toy story 2 movie download movie download in cold blood the pianist movie download green street hooligans 2 pearl harbor blade runner movie download minority report the island movie download movie download the english patient the godfather: part ii movie download silent hill raging bull five minutes of heaven movie download independence day serenity movie download futurama: bender's big score movie download star wars: episode ii - attack of the clones mystic river movie download movie download pulp fiction movie download juno dog days of summer movie download the bridge on the river kwai movie download lucky number slevin movie download as good as it gets brokeback mountain movie download atonement movie download wall-e twelve monkeys movie download harry potter and the prisoner of azkaban movie download pink panther 2 movie download being john malkovich movie download artificial intelligence: ai movie download life of brian movie download the visitor the bourne identity movie download the lord of the rings: the fellowship of the ring fahrenheit 9/11 movie download batman forever movie download futurama: into the wild green yonder movie download taxi driver movie download ocean's eleven batman begins movie download shrek little miss sunshine movie download boy a ed wood movie download the shining movie download state of play apocalypse now movie download cruel intentions movie download movie download the prestige vanilla sky

Archive for the ‘Comentarios’ Category

Filed Under (Comentarios, symfony, zendframework) by pgodel on Marzo-26-2008

Recientemente he estado comentando sobre Zend Framework. Este proyecto se ha convertido en muy poco tiempo en algo muy importante para el desarrollo de aplicaciones web, y creo que seguirá creciendo en calidad y cantidad de features.

Pero hace unas semanas comencé un proyecto con una base de datos con muchas tablas, que requiere de un sistema de administración completo. A esta altura, lo que menos me gusta de desarrollar aplicationes web es el trabajo monótono y repetitivo de crear listas y forms para un backend. El Zend Framework todavia no tiene todos los utilitarios para la generación de código, ya sea de objetos relacionados con el modelo (las tablas) o menos aún la generación automática de un sistema de administración de dicha información.

El framework Symfony si lo tiene. Por este motivo, estas ultimas semanas estuve introduciendome a dicho proyecto, que por cierto, tiene una madurez y una calidad considerable, no por nada Yahoo lo eligió para alguno de sus sistemas.

Gracias a esto, ire comentando alguna de mis experiencias con Symfony, algunas serán muy basicas y otras no tanto. Espero sus comentarios.



Filed Under (Anuncios, Comentarios, Seguridad, apache, mysql) by pgodel on Enero-18-2008

Recientemente hemos visto como se han incrementado los ataques a instalaciones de phpMyAdmin.

En los logs de nuestros servers aparecen entradas como las siguientes:

     /MYADMIN/main.php: 2 Time(s)
     /MYadmin/main.php: 2 Time(s)
     /MyAdmin/main.php: 2 Time(s)
     /PHPMYADMIN/main.php: 2 Time(s)
     /PHPMYadmin/main.php: 2 Time(s)
     /PHPmyadmin/main.php: 2 Time(s)
     /PMA/main.php: 2 Time(s)
     /PMA/main.phpmain.php: 2 Time(s)
     /PhPmYaDmIn/main.php: 2 Time(s)
     /admin/main.phpmain.php: 2 Time(s)
     /admin/mysql/main.phpmain.php: 2 Time(s)
     /admin/phpmyadmin/main.phpmain.php: 2 Time(s)
     /admin/pma/main.phpmain.php: 2 Time(s)
     /db/main.phpmain.php: 2 Time(s)
     /dbadmin/main.phpmain.php: 2 Time(s)
     /favicon.ico: 4 Time(s)
     /main.phpmain.php: 2 Time(s)
     /myADMIN/main.php: 2 Time(s)
     /myadmin/main.php: 2 Time(s)
     /myadmin/main.phpmain.php: 2 Time(s)
     /mysql-admin/main.phpmain.php: 4 Time(s)
     /mysql/main.phpmain.php: 2 Time(s)
     /mysqladmin/main.phpmain.php: 2 Time(s)
     /pHpMyAdMiN/main.php: 2 Time(s)
     /phpMYadmin/main.php: 2 Time(s)
     /phpMyAdmin-2.2.0/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.2.3/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.2.6/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.2.7-pl1/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.2.7/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.5.1/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.5.4/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.5.6/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.6.4-pl4/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.6.4/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.7.0-pl2/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.7.0/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.8.1/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.8.2.1/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.8.2.2/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.8.2.4/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.9.0.1/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.9.0.2/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.9.0/main.phpmain.php: 2 Time(s)
     /phpMyAdmin-2.9.1/main.phpmain.php: 2 Time(s)
     /phpMyAdmin/main.php: 2 Time(s)
     /phpmyADMIN/main.php: 2 Time(s)
     /phpmyadmin/main.php: 2 Time(s)
     /phpmyadmin/main.phpmain.php: 2 Time(s)
     /phpmyadmin/test.phpmain.php: 2 Time(s)
     /phpmyadmin2/main.phpmain.php: 2 Time(s)
     /pma/main.php: 2 Time(s)
     /pmamy/main.php: 2 Time(s)
     /web/phpMyAdmin/main.phpmain.php: 2 Time(s)

De esto se desprenden las siguientes recomendaciones:
- Es importantisimo mantener actualizada la versión de phpMyAdmin para corregir problemas de seguridad.
- Igualmente importante es instalar la aplicación en un directorio con un nombre y ubicación no convencional, de esta forma, si llegara a descubrirse un nuevo problema, la instalación no será fácilmente accesible.
- De ser posible, es conveniente asegurar el directorio completo con autenticación de Apache utilizando AuthType, AuthName, etc.



Filed Under (Comentarios, pear, soap, xml, zendframework) by pgodel on Enero-15-2008

Recientemente comencé un proyecto en el cual es necesario conectarse a un servidor remoto que provee un web service mediante SOAP.

Hace tiempo que no utilizaba SOAP, la última vez fue hace various años y el soporte de SOAP en PHP era bastante limitado. Debido al paso del tiempo, imaginé que ahora tendría mejor suerte y la experiencia sería mucho mejor y sin problemas.

Empecé a buscar qué opciones tenía para consumir el web service. Debido a que últimamente he estado utilizando el Zend Framework, lo primero que hice fue chequear si este disponía de librerías, con el resultado sorpresivo de que sólo tiene un cliente de XML-RPC.

Mi próximo paso fue revisar el manual de PHP, y la extensión SOAP aparecío como la solución a mi búsqueda.

El web service me ofrecía un WSDL, un documento XML que provee la definición de datos y métodos a utilizar. Idealmente, esto tiene que ser mapeado a una serie de clases en PHP con las mismas propiedades y métodos (esto se llama proxy). Un utilitario llamado wsdl2php me permitió generar todo el código PHP de una forma considerablemente rápida y sin problemas, aunque tuve que hacer algunas modificaciones menores en el código resultante para que todo funcione a gusto.

La extensión SOAP de PHP funcionó muy bien enviando datos simples, pero me topé con un problema al querer enviar un array de objetos. Diversos errores volvían de las llamadas al servidor. Seguí los consejos de la página del manual de PHP de utilizar SoapVar para generar el encoding necesario, pero sin un resultado positivo.

Como método de prueba y error, decidí probar la librería de SOAP de PEAR.

Luego de seguir las instrucciones de instalación, las cuales fueron bastante simples, me encontré con otro tipo de errores provenientes del servidor.

A este punto, me preguntaba si el problema estaba en el lado del servidor, por lo que cree un pequeño programa en  C# y .NET con Visual Studio. Este cliente SOAP funcionó de primera en cuestión de minutos !

Pude obtener el XML generado por .NET apuntando el cliente a un script
PHP que guardaba en un log el contenido del request via POST. Esto me
permitió comparar el XML generado por PHP y ver las diferencias, que
por cierto eran considerables.

Luego de buscar y comentar el problema con un colega, me comentó que estaba utilizando NuSoap. Esta es una de las primeras (sino la primera) de las librerías para crear servidores y clientes SOAP en PHP. En mi búsqueda inicial, la había encontrado, pero al ver que las últimas noticias en el sitio eran de 2004, imaginé que el proyecto había sido descontinuado y no estaría a la altura de las necesidades. Luego de mirar un poco mejor, descubrí que la última versión había sido editada en Noviembre de 2007, por lo que decidí a probar, otra vez.

Los primeros intentos también me dieron algunos errores, pero esta vez el XML era muy parecido a lo que debía ser aceptado por el servidor.

La clave fue preparar los parámetros a enviar de la siguiente forma:

 $param = array(’in0′ => new soapval( ‘AuthenticationInfo’, ”, $authinfo ),       
                        ‘in1′ => array( new soapval( ‘ContactInfo’, ”, $contact ) ) );      
 $result = $client->call(’addContacts’,$param );

En resumen, lo que parecería algo simple y fácil de hacer (como lo fue con C# y .NET), fue más complicado de lo esperado. Es notorio que luego de tantos años, el soporte de PHP sigue siendo deficiente, y que una librería que no es mantenida de manera activa haya dado los mejores resultados, el único resultado positivo.

Pido disculpas si no he dado suficientes ejemplos, o mensajes de error, espero poder comentar detalladamente cuando tenga más tiempo, si por lo pronto tienen alguna pregunta al respecto, no duden en contactarse mediante comentarios o via el foro de PHPes.



Filed Under (Comentarios, Varios) by pgodel on Diciembre-18-2007

Hay muchas formas para convertir estructuras de datos como arrays y objetos a XML.

Convertir estos datos a XML facilita la transmisión de datos a través de sistemas heterogéneos, y es utilizado en web services, SOAP, Xml-Rpc, Ajax y demas tecnologías.

Una de las mejores opciones para convertir arrays y objetos es utilizar XML_Serializer de Pear. Pear es un repositorio muy completo de clases con distintas funcionalidades.

Con PHP 5, pear se instala por defecto. En un sistema Linux, generalmente se encuentra en /usr/local/php (si PHP es compilado desde el código fuente), o en /usr/share/pear si PHP fue instalado via RPM.

Para instalar XML_Serializer y sus dependencias estos son los pasos a ejecutar en la linea de comando del shell:

$ pear install XML_Util
$ pear install XML_Parser
$ pear install channel://pear.php.net/XML_Serializer-0.18.0

Una vez instalado, ya puede ser utilizado en un script, de la siguiente manera:

<?php

// Set error reporting to ignore notices

error_reporting(E_ALL ^ E_NOTICE);

// Include XML_Serializer

require_once ‘XML/Serializer.php’;

// Some data to transform

$palette = array(’red’, ‘green’, ‘blue’);

// An array of serializer options

$serializer_options = array (

   ’addDecl’ => TRUE,

   ’encoding’ => ‘ISO-8859-1′,

   ’indent’ => ‘  ’,

   ’rootName’ => ‘palette’,

   ’defaultTagName’ => ‘color’,

);

// Instantiate the serializer with the options

$Serializer = new XML_Serializer($serializer_options);

// Serialize the data structure

$status = $Serializer->serialize($palette);

// Check whether serialization worked

if (PEAR::isError($status)) {

   die($status->getMessage());

}

// Display the XML document

header(’Content-type: text/xml’);

echo $Serializer->getSerializedData();
?>

El resultado sería el siguiente:

<?xml version="1.0" encoding="ISO-8859-1"?>
<palette>
 <color>red</color>
 <color>green</color>
 <color>blue</color>
</palette>

(ejemplos obtenidos de Sitepoint)

Así como esto funciona con arrays, tambien funciona con objetos y sus propiedades.



Filed Under (Anuncios, Comentarios, IIS, Windows) by pgodel on Noviembre-15-2007

Para aquellos que utilizan IIS y Windows como servidor web, llegan buenas noticias desde Microsoft.

El anuncio de que FastCGI fue incorporado a IIS6 significa que PHP ahora puede ser instalado utilizando esta interface, que en el mundo Unix ya es usada con mucho éxito por su flexibilidad y rapidez.

Me gustaría saber la experiencia de usuarios de FastCGI en IIS.

Más información de PHP sobre Windows aquí.



Filed Under (Anuncios, Comentarios) by pgodel on Octubre-23-2007

El mercado de editores para PHP está creciendo. Hasta hace poco, sólo habia unos pocos suficientemente buenos para nombralos.

Con el crecimiento de la complejidad de las aplicaciones web, ya no es productivo utilizar editores de texto, ya que es necesario poder hacer ‘debugging’, poniendo ‘breakpoints’. Otra gran utilidad es el profiling, que permite encontrar puntos en los cuales los programas consumen más tiempo y recursos.

Zend Studio fue uno de los precursores en este rubro. Recientemente fue puesto en disponibilidad la versión beta del plugin para Eclipse, un IDE que permite utilizar distintos lenguajes de programación instalando plugins.
Otro de los editores que han estado en el mercado por un buen tiempo es el ActiveState IDE, que recientemente cambió su nombre a Komodo IDE.
Tanto Zend Studio como Komodo IDE son versiones comerciales con un precio cercano a los $300 dolares.
Recientemente, apareció un nuevo jugador en este ámbito. A diferencia de los mencionados anteriormente, el Aptana IDE es open-source y tiene mucho futuro, bienvenido sea! La lista de ‘features’ es importante: soporte para Javascript, CSS, Adobe AIR, Ajax, SFTP, y muchas más.
Me gustaría saber que IDEs utilizan, asique no sean timidos y comenten!



Filed Under (Anuncios, Comentarios, symfony, symphony) by pgodel on Octubre-20-2007

El uso de PHP en sitios importantes y con alto tráfico sigue creciendo, lo que demuestra la madurez del lenguaje y plataforma, y los buenos resultados que estos otorgan.

A la impresionante lista de sitios (Yahoo, Skype, Techcrunch, ZDNet entre otros) se suma de.li.cio.us, un sitio para compatir bookmarks.

de.li.cio.us utilizará el framework Symfony que es utilizado por Yahoo en varios de sus sitios.

Más información.



Filed Under (Anuncios, Comentarios) by pgodel on Julio-13-2007

Por fín! En el cumpleaños nro. 3 de PHP 4 el equipo de desarrollo de PHP anunció que no habrá más desarrollo de PHP 4 a partir del primer día de 2008. Se anunció también que sólo habrá nuevas versiones si se descubren problemas de seguridad críticos, y se analizará caso por caso.

Este anuncio marca un punto final al ciclo de vida de PHP 4, y forza a los desarrolladores a asegurarse que sus aplicaciones corren sin problemas en PHP 5, algo que vengo comentando desde hace rato.

Excelente noticia!

Qué opinan?



Filed Under (Anuncios, Comentarios) by pgodel on Julio-6-2007

Como mencioné hace unas entradas en este blog, una preocupación importante es el hecho de que PHP 5 no ha reemplazado la versión 4. Un grupo de personas creo www.gophp5.org para promover el cambio.

Pasen el dato a quien pueda estar interesado.



Filed Under (Comentarios) by pgodel on Junio-20-2007

Alexey Zakhlestin escribió en su blog acerca de su proyecto, “Application server in PHP“.

Quiere crear un servidor de aplicaciones para PHP, donde objectos puedan residir en memoria para no tener que crearlos en cada instancia. Parece muy interesante y habrá que estar al tanto del desarrollo.

En el blog también hay un comentario que hace mención a un proyecto similar, SRM (Script Running Machine).

Hace tiempo que venía buscando algo asi pero mi búsqueda no había arrojado resultados.




"));