Adding your email address to one of your web pages makes it easy for spam bots to pick up that address and, well, spam you. In this code snippet we'll look at converting each character to its ASCII equivalent so that bots can't read it, but to your visitors it looks exactly the same.
When adding a lot of your own classes on top of the Drupal 7 framework you may well want to add your own autoloader. This article looks at the options for including individual files, and how to add a custom autoloader for many files.
Sorting arrays in PHP is easy with several built in functions to cater for different re-ordering methods.
Code snippet for retrieving a child class name from the parent without the namespace.
How would we go about creating a twitter feed for a web site that pulled the latest statuses or ‘tweets’ from several different accounts using Zend’s Zend_Service_Twitter client? This is the question I was looking at last week, specifically using Zend version 1 and the Twitter API version 1.
Zend’s standard routing functionality already creates SEO-friendly URLs. If we don’t want to strictly follow the setup of the controller name, Zend Router also provides a nice and easy way of adding specific routes which you can read about in the Zend Manual. But what about if we didn’t know what the URL was going to be? This article looks at creating custom URLs in Zend so that slugs can be managed in a CMS for better control over SEO.