Posted on | May 15, 2014 | No Comments
Something I use at work is a task-tracking website. At the basic level, you give the task a short title, a long description, one or more flags, and estimate how long it will take to complete. A cool feature of this website is that they offer an api for registered users.
The boss wants any IT support issues to be logged into this task-tracking website so that any of the support team can see what has or has not been started and fix the issue.
All issues for IT support are being sent to a single mailing list on Gmail. This, I thought, is a perfect opportunity to play with Google Apps Scripts.
In this blog post I am going to show how to get your recent emails from Gmail, and POST to an API depending on the email’s label.
Posted on | September 4, 2013 | No Comments
On any website that does any form of background operation that prevents the user from progressing immediately (for example an ajax operation that updates search filters based on the currently selected option) then the user needs to be informed.
Posted on | May 31, 2013 | 2 Comments
Sometimes you may think you are doing a nice simple effect in jQuery. In reality, you are making hundreds of unnecessary DOM calls and updates every second. And you wonder why the effect is taking so long to run.
This post hopes to teach you how to optimise your code to run that little bit quicker.
Posted on | May 28, 2013 | No Comments
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 working on. But what is the correct way to specify the value?
Posted on | May 13, 2013 | 10 Comments
Where I work nearly every other developer is using Sublime 2, whereas I am working on Notepad++. Having seen the features and the way the other developers have set up their Sublime 2 environments, I have fought against the peer-pressure as I believe that Notepad++ is the same as (if not better than) Sublime 2 as both use plugins to do pretty much the same thing.
Here is your chance to change that. This poll will be ran for a few weeks, then I will go with the winning option.
Posted on | April 18, 2013 | 5 Comments
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 bootstrap file. An alternative, which this blog post explores, is to store all possible urls in your database, with the corresponding default route stored alongside it.
Posted on | December 20, 2012 | No Comments
Some websites with external links have a small image or icon to indicate that the link will lead them to an external webpage. Here is a simple CSS trick to show an html entity indicating an external link:
Posted on | October 10, 2012 | No Comments
In a previous post I demonstrated a CSS Only Image Zoom. In this post I will explain how to do a CSS only overlay using the CSS3 box-shadow effect to focus the users’ attention onto the element being hovered on.
Posted on | July 23, 2012 | 1 Comment
As a web developer we should all know that Google now takes site load time into consideration when determining the position of a website in their results pages.
Posted on | July 17, 2012 | 2 Comments
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). If you are writing a CMS that allows the user to populate the meta keywords and description of a page, but the user does not fill these fields, then it is nice to have a default value.
This post will share a custom View Helper that will check for your application adding empty meta details, and if there are, populating the values with default values from the application config.ini file.