Archive

Archive for April, 2009

Security with Zend_AMF and Flex – Part 2: Practise

April 15th, 2009

In my previous post “Security with Zend_AMF and Flex – Part 1: Theory“, I explained the theory behind securing your Flex-PHP calls. After the theory comes the practise. I will only provide snippets for the PHP side of this story, as I’m totally ignorant about Flex and ActionScript. I used Zend_AMF, written by Wade Arnold, to handle all the communications between Flex and PHP. If you need to know the basics, please read the documentation first.
Read more…

Tom Zend Framework , , ,

Security with Zend_AMF and Flex – Part 1: Theory

April 5th, 2009

In a series of two posts, I will explain how to secure the communication between a Flex client and PHP server architecture. The first part will explain how I envision that security, and in the second part I will show snippets of PHP code for the practical implementation.

I’m currently working together with my friend and colleague Vic on a client-server application that involves Flex on the front-side, and PHP (Zend Framework) on the back. Since I’m the PHP guy, I’m in charge of creating the API for his Flex application. For the moment, the project will only be accessed locally from the client’s network. But there is a possibility that in a later stage, it might open up to the general public. One of my main concerns was how we could make every API call as secure as possible. This without making it too complicated, or involve too many service calls that might slow everything down.
Read more…

Tom Zend Framework , , , ,

A year on Ubuntu

April 2nd, 2009
Ubuntu - Linux for human beings

Ubuntu - Linux for human beings

My most important (and probably only) new year’s resolution back in 2008 was to finally start using Ubuntu as my primary operating system and not give up in the process. I had tried installing and using Ubuntu before, but always at some point, I screwed up and went back to good old Windows XP 64-bit. Yes, I had a great vision a couple of years earlier, to already use a 64-bit processor of AMD. So 2008 was absolutely to become Y-year for my linux experience. The reason why I wanted to switch, was simply because I didn’t fancy paying for Windows. I already had a copied version of XP, and I didn’t feel particularly bad about that (morally), but I was getting tired of it and wanted something new. Here goes my story.
Read more…

Tom Ubuntu , ,

Garbage collector problem after foreach loop ?

April 1st, 2009

In PHP5, it is possible to loop through an array, and alter each item on the fly via the “by-reference” operator: the &-symbol. However, you should be on the lookout for unexpected behaviour.
Read more…

admin PHP , , ,