Richard Parnaby-King

Web Developer – PHP, Zend Framework and Actionscript 3

Custom Zend Validate EmailAddress Error Message

Anyone who has tried to validate a user input using Zend_Validate_EmailAddress will find that there are a LOT of error messages returned – one for each problem with the email address: Invalid format Invalid hostname Invalid mx record and 5 more This class will replaces all the error messages with one message.

Progressive Enhancement vs Graceful Degradation

If you have programmed anything in javascript or flash then you have probably come across the problem of “what to show the user if they don’t have (javascript|flash)”. There are two approaches to solving the problem: Progressive Enhancement and Graceful Degradation. This post will introduce both concepts (hopefully unbiasedly), with examples of both.

jQuery UI Slider Legend Under Slider

jQuery UI Slider makes selected elements into sliders. There are various options such as multiple handles, and ranges. The handle can be moved with the mouse or the arrow keys. It is possible to control a select element, showing the options as the slider is moved. But what happens if the options are not as […]

AS3, FlashDevelop, and Me

I am a big fan of Active.TutsPlus.com. So when the tutorials start coming in referring to FlashDevelop, well, I had to investigate. I am ashamed to say it has taken me a year to get the time needed to have a serious play with FlashDevelop. But! I am playing with it. Or, at least trying […]

Check if a Module is Available in Zend Framework

You’re developing a huge application, but want your code to be modular so that you can use it again else where. But what happens if one module is dependent on another, and you have forgotten to include it? For example, you may have a ‘products’ module that allows you to add, edit, and view products. […]

Use GMail to send Emails in Zend Framework

It may be that your server does not allow you to send emails, for example a shared server or localhost that you cannot configure. In either case, if you are using the Zend Framework’s Zend_Mail component, you can have your application send the emails through GMail.

Zend Form Default Decorators

In the world of web development, forms are basis of most of your application. Everything that is displayed comes first from a form. The Zend Framework includes a wonderful form class, Zend_Form, that makes it easy to create elements, and when the form is submitted, to filter and validate the user input. What is not […]

Prevent Scaling With ActionScript 3

So you have a flash application that looks great in a webpage, but when you view the .swf file directly in the browser it stretches and distorts and looks plain ugly. Fortunately, there is a solution!

GreaseMonkey April Fools Script

April 1st is typically associated with playing pranks on friends and co-workers. Sometimes these can be as simple as putting a bit of paper over the sensor on their mouse, unplugging a keyboard, or changing their desktop background to a broken LCD display image. GreaseMonkey is a Firefox add-on that allows you to customize the […]

Custom Context Menu AS3

A context menu is a menu that appears when the user does a right mouse click (usually) on the compiled swf. The default context menu that flash player shows comes with a limited set of choices such as ‘Zoom’, ‘Quality’ and playback options. This post will demonstrate how to customise the context menu using ActionScript3.

« go backkeep looking »
  • ABOUT

    Having fifteen years of programming experience in PHP, Zend Framework and ActionScript3, I have a very strong working knowledge of object orientated programming.

    I am a PC Gamer! Playing FPS, RTS, RPG and the occasional MMO since 1996 I have a huge number of a variety of fast-paced games.

  • Recent Posts

  • Categories

  • SUBSCRIBE TO OUR FEED