Richard Parnaby-King

Web Developer – PHP, Zend Framework and Actionscript 3

Gravity Forms – Moving the validation errors message ABOVE the pagination controls

Wow, there’s a title! Gravity Forms is a WordPress plugin that allows the user to create and manage a collection of forms to be published on posts and pages. An example of this is a simple Contact Us form. One of the features of Gravity Forms is the ability to paginate the form. That’s right! […]

Add products to category quickly!

When dealing with Magento, the common knowledge to bulk update products is to pull in a collection and, in a loop, load the product, change the attribute and save. A client is syncing their product database from their system to Magento, but their system only allows a product to be in one category. I was […]

Google Minify and Far Future Expires Header

Google takes into account page load time into its ranking algorithm. As such, web developers the world over are trying to squeeze as much functionality into as few bytes as possible. This is where Minifiers come into the picture – they automatically remove all un-needed bytes from javascript and css files before sending them to […]

Magento XML Setting Parameter Values

Ah the strength and failings of Magento. Of all its features, the ability to control nearly all of the layout from a single local.xml file is my favourite. One of the main features of this approach is that you can call functions (called actions) to add, remove or override values for the block you are […]

Zend Framework Routing Solutions

Routing is the action of taking the requested url and pointing the application to the correct module, controller, and action so that the request can be correctly processed. There are a number of ways to implement this using the Zend Framework, the most common of which is to create a routing object in the application […]

Zend Framework Custom View Helper to add Default Meta Content

Meta keywords and description used to be used by search engines to help work out what your website is about. Nowadays they are used to web applications to work out how to describe a specific page (for example, paste a link into Google+ and the meta description of the page will be fetched and shown). […]

What is the Zend Framework?

It is fairly common for me to read or hear of developers referring to the Zend Framework as ‘Zend’. Such as ‘what is zend?’, ‘why is zend doing x?’ and ‘how do I make zend do y?’. This post will hopefully explain the difference between Zend and the Zend Framework.

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.

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.

keep looking »

    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