Archive for May, 2008

Tubular animal magic

22nd May

2008

The tube is like Paris Hilton - slow, expensive and very hot.

To help relieve boredom during your next journey, why not spot the many hidden animals that populate the tube map.

Tubeanimals1

Tubeanimals2

Tubeanimals3

Animal magic

22nd May

2008

There’s only one thing cooler than animals, and that’s hair! Combine the two and you’re sure to make Quinn the Eskimo turn down the thermostat.

Doghair1

More strangeness here.

AMFPHP 1.9 and AS3 - An introduction

21st May

2008

AMFPHP has been around for a number of years but has only recently captured my interest. It’s not that I’ve had any particular reason to dismiss it, it’s more that I’ve not found any compelling reason use it - I’ve always been an advocate of loading all site data content up-front rather than continually interrupting user flow with frequent data requests, and the majority of Flash websites I’ve worked on require minimal server interaction after the initial load (perhaps some form data submission, maybe some highscore-type database transactions for a game, but that’s about it). All in all, I’ve considered AMFPHP to be unnecessary.

However, the popularity of Flash RIAs has resulted in a more dynamic exchange of information between client and server. Requests are increasingly tailored to the client state, resulting in the need for more frequent, context sensitive communications. This is where AMFPHP comes into its own, both in terms of transaction speed and coding overhead.

For those not familiar with the AMFPHP, it is a data serialisation protocol that allows objects and data types to be sent from Flash to PHP (and vice versa) whilst retaining their data typing. See www.amfphp.org for more information on its design philosophy and an example of the process in action.

The most recent version, AMFPHP 1.9, has been updated to work with AS3 and boasts additional speed increases through compression of the serialised communication. As the product is currently in beta while work continues towards the version 2 release candidate, much of the online documentation is work-in-progress awaiting update, and whilst there is a plethora of Flex based tutorials online (search for ‘amfphp 1.9 flex’) there is relatively little information regarding Flash/AS3 implementations.

This tutorial shows you how to get up and running with AMFPHP and Flash/AS3, and perform some basic server transactions. It’s really pretty straight-forward so let’s get going:

  1. Download the latest PHP files from SourceForge (http://sourceforge.net/project/showfiles.php?group_id=72483)
  2. Install the files as described in the online documentation (http://www.amfphp.org/docs2/installing_amfphp.html)
  3. Now the protocol is installed on your server, you can test the installation. Download the example files and follow the HelloWorld instructions in the documentation (http://www.amfphp.org/docs2/first_service.html).
  4. Although this is omitted from the online docs, you also need to copy the ‘HelloWorld.php’ file from the sample files ’services’ directory to your AMFPHP services directory (something like http://localhost/amfphp/services/, depending on where you copied the files in step 1).
  5. Publish the HelloWorld.fla file and pass some serialised text to the server!

So far, so good. AMFPHP is successfully installed and our sample files show that we can pass native data types (a String instance in this case) from Flash to PHP successfully. Passing custom objects (instances of custom classes) is a bit more fiddly, but if you’re interested, you can find out more here.

Hungry? I know I am!

16th May

2008

Check out the work of Kittiwat Unarrom. This Thai artist has combined 3 things all men thought impossible - Bread, art and dismembered body parts - to create a captivatingly disturbing exhibition in Ratchaburi, Thailand.
Bread3-2

eBay not so positive

16th May

2008

As expected, the auction giant has turned the feedback system on it’s head. eBay sellers are no longer permitted to leave negative or neutral feedback.

I’d completely forgotten that this change was imminent - I was reminded by this alarming prompt after logging into my eBay account:

Ebaybandits
Dave Ebay, founder of the auction beastgorilla, was recently quoted as saying:

“Bollocks to sellers. Damn them all to hell! They can suck a faecal cigar from my ass!”

Well, there you have it.

Mankind finally takes to the skies

15th May

2008

Swiss pilot and all-round hero Yves Rossy has finally unleashed his jet-propelled wings upon us mere mortals.

Yves Rossy 1

Yves Rossy 2

He’s such a top bloke and manly man, in spite of his feminine moniker - a modern-day Condorman.

One wonders how long it’ll be before we see this sort of technology deployed by the US military (particularly in their relentless pursuit of the A-Team). Colonel Decker - are you watching?

Gorilla football fan car surfing past astonished penguins smashes giant beer bottle in Prenzlauer Berg

14th May

2008

I took this photo last weekend in Prenzlauer Berg, Berlin. What does it mean? I just don’t know. Do I like it? Oh yes, it’s cooler than the freezer compartment in Richard Roundtree’s fridge!

Prenzlauer Berg Grafitti Stencil-1
Click the photo for image growth goodness!

In need of a loving home

13th May

2008

My old ‘91 Jaguar XJ-S is on ebay! Oh, we had such good times, tearing about the streets of London, with the odd trip on the motorway thrown in for good measure.

She’s been replaced by a much beastlier 4 litre model, but if you like speed and can overlook a spot of rust here and there, get bidding now!

J827Rbr Xjs

Taka Tuka Land

9th May

2008

Some rather brilliant chaps at the Berlin Technical University have created a rather wacky and wonderful architectural gem in the form of a kindergarden school.
ttl-7547-528x352
ttl-6564-528x352
More details and more pictures can be found of Taka Tuka Land here