Archive

For: ‘Joomla

AMFPHP for Joomla

Wednesday, April 29th, 2009

After some time, Banner has decided to upgrade their website. The new design requires an all flash front end. This will showcase our flash developers (John Dalziel) capabilities in 3 dimensions. As we are creating a flash site we don’t want our corporate clients who do not allow flash to lose the ability to view the site. So of course we are about to create the site in two versions, HTML and flash.

 

Having some experience with CMS systems I have started building the new site in Joomla. My first real task was to work out how I could parse content from the CMS to the flash app. Being quite fond of AMFPHP i decided to dig around to find a plug in. It didn’t take long to find a solution, J-AMFPHP.

 

The only real problem I found with J-AMFPHP was the lack of documentation. To get started I downloaded and installed the latest version of the plug in. Once I had it installed I tried to load the test harness http://your-domain/amfphp/browser/index.html. When I tried to load it I noticed an error message.

 

J-AMFPHP

 

Basically the plugin loads without the default j-amfphp/amfphp directories and default DiscoveryService.php file from the latest AMFPHP download. The simple solution is, is to create a the directories and add the default DiscoveryService.php file.

 

Structure

 

Once the harness structure was uploaded I was up and running. Now Its time to to write a series of connector communication classes in PHP to communicate correctly with the flash app.  I intend to blog about this in the future.

 

Structure