Action Message Format is a proprietary data format used by FlashPlayer in remoting, streaming, shared objects etc. Its binary nature makes it a very efficient way to transfer data – more compact than xml or json. Thanks to Zend_AMF it’s easier than ever to serialize/deserialize data objects – it’s now a breeze to handle data… [Read more…]
After some days prototyping with Kohana, I start to realize the strength and beauty! One of the every-day needs in my world is to coordinate different database tables to get things to work. Most of the time this is done by hand, using PhpMyAdmin. For basic stuff, this works fine, but very often there’s the… [Read more…]
Another superb Kohana solution: CRUD Scaffold (projects.nathanbentley.com/projects/show/crudscaffold) by Nathan Bentley. Just install, write some controller and model lines, and you have a nice JQuery-driven table editor – just the way it should be!: Thank you, Nathan! Now, there’s just left to sort out how to handle related tables…
Somewhere deep inside you carry a vision, a longing, a vague picture of “getting it all together”… At least I do – in every aspect of life..! Since I started php coding some years ago, I’ve always had a bad taste in my mouth. It’s so ugly, so diversitive, so sprawling, so poly-cultural (in a… [Read more…]
Not finding a xml-to-object solution that “normalizes” the result as far as possible down to object level , I decided to create one myself. Single item nodes and attributes are added as objects Multi item nodes are added as array of objects I’m sure that this has already been done a thousand times before, in… [Read more…]
Such a trivial task! Just use one of the included php libraries..? No. After some hours googling, good old PEAR got me closer. The late Pear Archive_Zip has a ‘no_compression’ parameter option. So, does it work? No. Corrupt content.After some further investigation, I found a reported bug adressing this matter. And a solution! Archives become… [Read more…]
January 8, 2010
4