Tag Archive

XML to JSON in PHP">XML to JSON in PHP

Published on 3 May, 2011 By Danny Froberg

Zimuel writes; Last fri­day, in occa­sion of the April Zend Frame­work Bug-Hunt, I started to look at this bug: ZF-3257. This is an issue related to the Zend_Json class that occurs dur­ing the con­ver­sion from XML to JSON for some spe­cific XML doc­u­ments, like this one:

$xml= ‘bar’;

The result using Zend_Json::fromXml($xml, false) , where false indicated […]

ExtJs, ExtDesigner and Zend Framework

Published on 2 March, 2011 By Danny Froberg

Nils-Fredrik G. Kaland writes; Let’s say you are work­ing on the user inter­face in Ext Designer / Sen­cha Ext Js, and after a while you find out you have ended up with a great amount of data stores. You also need to han­dle lots of Ajax requests and all the server side coding […]

DataTables — table plug-in for jQuery

Published on 20 March, 2010 By Danny Froberg

The other day I had to write a  NOC appli­ca­tion that shows all active phone lines in an out of a cus­tomers tele­com clus­ter, thats a lot of con­stantly chang­ing data that needed to be dis­played.
Some design require­ments was;

*NO* refreshes i.e. blink­ing screen parts (gives NOC per­sonel an epilep­tic fit after a day star­ing at it).
No […]

JSON and XML POSTs">App_Controller_Helper_Params for JSON and XML POSTs

Published on 4 February, 2010 By Danny Froberg

Matthew Weier O’Phinney shares a bit of very use­ful code to inject request params into a Zend Frame­work request object from a JSON or XML POST request.
“Below is a plu­gin I use to trans­late JSON or XML raw post request data to request user para­me­ters.
Note that it expects a “Content-Type” header of either “application/json” or […]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes