MTV Best Show Ever

June 5th, 2008

MTVBestShowEverLoaderPublicreative have just launched a new version of MTV's Best Show Ever website. It's largely a user-contributed video site, with the added attraction that your clip could wind up on MTV.

I was heavily involved in this project as a back end developer and "web master" (for want of a better word). I may write about this project in more depth later, but for now there it is - Check it out!

Bookmark this!
[Bloglines] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [Newsvine] [StumbleUpon] [Technorati] [Yahoo!]

Disinformation Technology

June 1st, 2008

Out of the frying pan, into the fire.

I recently watched the internet film, Zeitgeist. After which I was burning to write my opinions here, but unfortunately that's not really what my blog is about, so instead I turn my attention to the internet as Information Technology. At least this is what IT stood for when I was at school, but ironically this was a time when I was much more likely to turn to books for information. More to the point, I was likely to go to much greater lengths to find out facts than doing a quick Google.

Read the rest of this entry »

Bookmark this!
[Bloglines] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [Newsvine] [StumbleUpon] [Technorati] [Yahoo!]

JParser now with Automatic Semicolon Insertion

June 1st, 2008

I finally found a spare few hours to implement Automatic Semicolon Insertion into my JavaScript Parser.
Check out the test interface here.

Read the rest of this entry »

Bookmark this!
[Bloglines] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [Newsvine] [StumbleUpon] [Technorati] [Yahoo!]

Flash Media Server & FLVPlayback nightmare

May 14th, 2008

I am pretty new to Flash Media Server, but on my current project I have been charged with setting it up. Today, I ran into a thoroughly unpleasant problem, possibly a bug, which I thought I would share.

Read the rest of this entry »

Bookmark this!
[Bloglines] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [Newsvine] [StumbleUpon] [Technorati] [Yahoo!]

Full JavaScript parser for PHP

May 9th, 2008

Despite the glorious sunshine this week, my week off, I managed to put some time into my pet project of developing a full JavaScript parser written in 100% native PHP. Actually, I've been developing a generic parser suite for some time, and using it to build a full JavaScript parser was my ultimate goal to be satisfied that it all works and is powerful enough to be useful. I've written a bunch of blogs about developing a parser generator in PHP, (click "parsing" to do a tag search).

Before I start wittering on,
Click here to play with the online example of JParser

Read the rest of this entry »

Bookmark this!
[Bloglines] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [Newsvine] [StumbleUpon] [Technorati] [Yahoo!]

Scale & rotate around an arbitrary centre

April 13th, 2008

The mini project I picked as my first dip into AS3 was a short example that I had been planning for this blog, so here it is in AS3, instead of AS2 as I had originally planned.

The South Park Chin balls Flash app required that the user drag and zoom a loaded photo. Anyone who's ever done this will know that you can't just scale the picture around it's registration point when you zoom. Why? because the centre point changes as you pan the image around. So the requirement in a nutshell is - to be able to scale a MovieClip around an arbitrary centre.

Sure, you could take the Russian doll approach with multiple clips inside clips, but that just ain't cool! I thought I'd share the way I did it as it's pretty concise. Read the rest of this entry »

Bookmark this!
[Bloglines] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [Newsvine] [StumbleUpon] [Technorati] [Yahoo!]

AS3 Migration - Day 1

April 13th, 2008

Much later than planned I finally got around to checking out AS3.

I was quick to upgrade to AS2 when it came out in Flash MX 2004, and never looked back, so why so late? Well, as usual, because I'm busy. Busy on a PHP project at that, so I haven't really had the chance. Plus, if I do have to write some AS on the job it's too big a risk to start learning something new. Pressures demand that I get on with it as I know how. That's why this Facebook application has it's main Flash app (Chin Balls) written in AS2. Also, I view the upgrading of a programming language as a one-way process. I didn't upgrade to PHP5 until I was confident I would never have to write PHP4 again. And with AS3 this is an even bigger deal. Read the rest of this entry »

Bookmark this!
[Bloglines] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [Newsvine] [StumbleUpon] [Technorati] [Yahoo!]

AS3 - The gap widens

April 12th, 2008

The designer/developer boundary has always been a little blurry when it comes to Flash. Flash has been celebrated for this since 1999, and  has established a pretty unique position. But with each release of Flash those who sit on the fence feel an increasing pressure to choose a camp and stay in it. Some do, some don't and some just carry on doing things as they always did, but one thing's for sure; that the drive toward Flash being a more robust, more powerful, more serious platform is not showing any signs of slowing down. AS3 is another leap forward. In fact a much bigger leap than AS2 was. Read the rest of this entry »

Bookmark this!
[Bloglines] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [Newsvine] [StumbleUpon] [Technorati] [Yahoo!]

Eclipse for PHP

April 7th, 2008

I can't quite believe how long I've lived without the Eclipse IDE. I've always been quite proud to walk into an agency with my copy of Homesite 5, it shows I'm old school - I don't need no fancy code hinting, it's all in the old noggin!

Anyhow, I downloaded Eclipse about a year ago and installed PHPElcipse. I was put off immediately by the shear size of the application, and decided that if it ain't broke don't fix it. So it sat silently amongst my Program Files for a good year or so until I was inspired last week by a colleague to give it another go. Read the rest of this entry »

Bookmark this!
[Bloglines] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [Newsvine] [StumbleUpon] [Technorati] [Yahoo!]

Parsing for PHP developers - Part III

April 6th, 2008

JSON Parser

If you haven't read Part 1, or Part 2 they are there for the reading.

I'm going to demo a JSON parser in this post. It's 100% native PHP code, and is based on the work I've done toward my ultimate goal of a full JavaScript parser.

Click here to play with the interactive JSONParser demo

I thought I'd get this example online now as my ultimate goal is taking longer than I had hoped. I shan't go into the details, suffice to say that the JSON grammar below is a very tiny subset of the full JavaScript grammar and doesn't really have any complex rules.

Read the rest of this entry »

Bookmark this!
[Bloglines] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [Newsvine] [StumbleUpon] [Technorati] [Yahoo!]