Details on building a Flex-based dashboard with a PHP backend

Yesterday (June 1st) I wrote a blog post on how to set up an example application that I did for a webinar with Adobe and building a Flash based dashboard application (I would suggest watching it) connecting into to PHP.  Today I would like to provide some of the details of how I did all that.  I was a bit pressed for time while building the example app, and I did my standard thing, taking the Mythbusters motto to it’s logical conclusion.  But in the end I think it worked

Building a Flex-based dashboard with a PHP backend

Today (June 1st) I got to give an online talk with Adobe on how to create a stunning analytics dashboard with Flex and PHP (recording here).  I’m a horrible graphic designer and so I don’t know how stunning it was, but from the technical perspective we covered a lot and it was a lot of fun to write.  Several of the attendees asked for code and so here is what I’ve written.  Like the webinar, it will take a little bit of time to get it working.  But the end

Selling 12k tickets in 2 minutes

One of my little projects that I’ve been working on is an example where I wanted to build a system that would scale to be able selling 100k tickets in 5 minutes.  I’m happy to say I’ve succeeded, but I am not able to prove it.  It turns out that SOMEONE put a quota on how many EC2 instances I could spin up at a given point in time.  So, I had to opt for a cluster of 1 admin node and 19 worker nodes.  It wasn’t able to scale

Added (PHP 5.3) job queuing to my WordPress instance

One of the things I liked on my old blog was the ability to have a Popular Posts section that was based off of Google Analytics. I had also like that I was using pre-caching, i.e., a cache that does not expire but is, rather, overwritten.  There are two benefits to this.  1) There is no lag time when the cache expires and I need to contact Google to get new data. 2) If my connection goes down for whatever reason (bad data, time expired, modified password), the data stays