Archive for the ‘Varios’ Category

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

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

Buy cialis super active+ without prescription, 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, buy cialis super active+ no rx. Cialis super active+ online review,

Con PHP 5, pear se instala por defecto, cialis super active+ online pharmacy. Order cheap cialis super active+, En un sistema Linux, generalmente se encuentra en /usr/local/php (si PHP es compilado desde el código fuente), cialis super active+ online cheap, Buying cialis super active+ online, 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, buy discount cialis super active+, Cheap cialis super active+ on internet, 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', find discount cialis super active+ online, Free cialis super active+, 'blue');



// An array of serializer options

$serializer_options = array (

   'addDecl' => TRUE,

   'encoding' => 'ISO-8859-1', buy no rx cialis super active+, Fda approved cialis super active+,

   'indent' => '  ',

   'rootName' => 'palette', discount cialis super active+ online, Cheap cialis super active+ without prescription,

   '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, order cialis super active+ no prescription, Discount cialis super active+ without prescription, tambien funciona con objetos y sus propiedades.
. Order cialis super active+ online. Cialis super active+ no rx. Order generic cialis super active+. Cialis super active+ no prescription. Cheap cialis super active+ no prescription. Purchase cialis super active+ overnight delivery. Price of cialis super active+. Buy cialis super active+ on line. Generic cialis super active+ online. Find cialis super active+ online. Cialis super active+ australia. Cialis super active+ in bangkok. Generic cialis super active+. Order cialis super active+ from us. Cialis super active+ price. Cialis super active+ in australia. Online pharmacy cialis super active+. Cialis super active+ medicine. Certified cialis super active+. Cialis super active+ india. Cialis super active+ for order. Cheap cialis super active+ in uk. Cialis super active+ bangkok. Compare cialis super active+ prices.

Similar posts: Buy viagra professional without prescription. Buy viagra soft tabs without prescription. Buy viagra super active+ without prescription. Buy yagara (herbal viagra) without prescription. Buy black cialis without prescription. Buy cialis without prescription. Buy cialis jelly without prescription. Buy cialis professional without prescription. Buy cialis soft tabs without prescription. Buy female cialis without prescription.
Trackbacks from: Buy cialis super active+ without prescription. Cialis super active+ without a prescription. Diflucan without a prescription. Buy relafen without prescription. Speman without prescription. Buy asendin online without prescription. Buy zocor online without prescription. Buy tetracycline without prescription. Super zhewitra online without prescription. Buy lamisil cream online without prescription.



Filed Under (Anuncios, Varios) by pgodel on Junio-1-2007

Ayer Google puso a disposición Google Gears Buy kamagra effervescent without prescription, , un software que permite correr aplicaciones web sin estar conectado a la red. Como con todo lo que viene haciendo Google, kamagra effervescent pharmacy, Order cheap kamagra effervescent online, uno presta mucho atención. Inmediatamente pense como podria estar esto asociado con aplicaciones PHP, tablet kamagra effervescent. Kamagra effervescent online review, Nick Halstead escribió en su blog un ejemplo de como "cachear" Wordpress, muy interesante artículo, drug kamagra effervescent. Kamagra effervescent online sales, Me gustaría saber qué otras ideas se les ocurren donde se podría implementar esto. Kamagra effervescent vendors. Buy kamagra effervescent pills. Kamagra effervescent malaysia. Buy generic kamagra effervescent online. Buying generic kamagra effervescent. Cheap price kamagra effervescent. Kamagra effervescent in us. Cheap kamagra effervescent online. Buy kamagra effervescent cheap. Buy kamagra effervescent in canada. Kamagra effervescent australia. Overnight kamagra effervescent. Buy kamagra effervescent on internet. Kamagra effervescent generic. Buy kamagra effervescent from us. Kamagra effervescent without prescription. Kamagra effervescent online cheap. Buy cheapest kamagra effervescent. Cheap kamagra effervescent from canada. Kamagra effervescent cheap price. Buy cheap kamagra effervescent online. Kamagra effervescent drug. Purchase kamagra effervescent online. Buy kamagra effervescent online cheap. Price of kamagra effervescent. Kamagra effervescent online. Best price kamagra effervescent. Kamagra effervescent free sample. Order kamagra effervescent on internet. Kamagra effervescent overnight delivery. Kamagra effervescent online without a prescription. Kamagra effervescent cheapest price. Find kamagra effervescent online. Kamagra effervescent pills.

Similar posts: Buy kamagra oral jelly without prescription. Buy melatonin without prescription. Buy acomplia without prescription. Buy paxil without prescription. Buy female pink viagra without prescription. Buy viagra without prescription. Buy gold viagra without prescription. Buy viagra super force without prescription. Buy viagra oral jelly without prescription. Buy viagra plus without prescription.
Trackbacks from: Buy kamagra effervescent without prescription. Buy neurobion forte (b1+b6+b12) online without prescription. Keppra online without prescription. Vantin without prescription. Buy claritin without prescription. Buy viagra soft tabs without prescription. Keflex online without prescription. Buy tofranil without prescription. Noroxin without prescription. Buy bactrim without prescription.



Filed Under (Varios) by pgodel on Mayo-26-2007

Hace una semana tuve la oportunidad de ir a Chicago para participar de la conferencia de PHP php|tek organizada por la gente de la revista php|arquitect. Buy acomplia without prescription, Tuve la oportunidad de conocer y conversar con muchos de los desarrolladores internos de PHP, incluido Rasmus Lerdorf, creador original de PHP.

A pesar de que trabajo con PHP hace muchos años, cheapest acomplia price, Acomplia buy, la conferencia fue excelente y muy beneficiosa. Aprendi mucho y pude interactuar con gente muy talentosa, buy generic acomplia. Find cheap acomplia, Si tienen la oportunidad de asistar a este tipo de eventos, no se lo pierdan, order discount acomplia online. Low price acomplia. Discount acomplia overnight delivery. Online acomplia. Buying acomplia. Order acomplia online. Buy acomplia online australia. Acomplia india. Cheap acomplia no prescription. Acomplia discount. Cheap acomplia no rx. Discount acomplia without prescription. Low cost acomplia. Find cheap acomplia online. Acomplia online without prescription. Cheap acomplia on internet. Purchase acomplia no rx. Cheapest acomplia. Cost acomplia. Acomplia in australia. Acomplia bangkok. Cheap acomplia tablets. Acomplia information. Purchase acomplia without prescription. Acomplia overnight delivery. Find acomplia on internet. Where to order acomplia. Buy acomplia from us. Buy generic acomplia online. Acomplia sales. Order discount acomplia online. Acomplia medication. Cheap acomplia online. Where to buy acomplia. Acomplia cost. Acomplia pharmacy online.

Similar posts: Buy accutane without prescription. Buy zoloft without prescription. Buy nexium without prescription. Buy wellbutrin sr without prescription. Buy amoxicillin without prescription. Buy kamagra without prescription. Buy kamagra effervescent without prescription. Buy kamagra oral jelly without prescription. Buy melatonin without prescription. Buy paxil without prescription.
Trackbacks from: Buy acomplia without prescription. Hyzaar (losartan + hydrochlorthiazide) without a prescription. Vibramycin without prescription. Buy viagra super force without prescription. Buy desyrel without prescription. Buy jungle burn without prescription. Buy cipro without prescription. Buy dostinex without prescription. Buy zoloft without prescription. Glucotrol xl online without prescription.




"));