Blog Archives

  1. Maybe it will pass the test

    Pass data from modal view back to parent in the iOS SDK

    I recently came across a problem using the newest version of XCode (4.4), in which we can use the fantastic Storyboards feature. The question was simple - how do I present a modal view, ask the user for some data, and then return that to the parent view? In the past it was a pretty simple matter, but for me passing it back along via a navigation controller turned out...

  2. Pin down the API

    Implement the WordPress Geolocation Plugin

    For a while now WordPress has had apps across the mobile spectrum, and a great feature of these is geolocation - great, but who wants to know where I'm blogging from right? Well recently I had to build a blog for someone travelling around the world, and it quickly became apparent that using the data saved by the app on the site would be a great feature. In this tutorial...

  3. I'm still alive!

    Quick Update

    So I just thought I better update the ol' blog - not posted since 2011 - yikes! I'm still here, and I've not given up on it! 🙂 I'm busy working on a large-scale project at the moment, so I've been consumed with work, but I will be posting a bunch of stuff relating to the project soon - there is much to blog about in the way of in-depth...

  4. Rekon this idea will take off...

    Create a dynamic Twitter-search feed

    For years the ancient (and some would say instinctive) art of tweeting was restricted to the avian species of the sky, but recently a service has come about that allows us humans to partake in the practise. You might have heard of this little company, they call themselves Twitter, and have provided an extensive API for us web-folk to play with their service. At this point you might be wondering...

  5. Please try this at home.

    Create a bullet-proof contact form

    Note: This article has been marked for a quality review and will soon be updated. Contact pages are usually one of the basic building blocks of any website, and while many simple feature an email address for spam bots to pick up and use, or even a handy 'mailto' link, the best ones feature a proper contact form. To make a bulletproof one we're going to need some thick glass...

  6. Fix Me!

    Prevent broken animations in jQuery

    Note: This article has been marked for a quality review and will soon be updated. I recently posted an article on Animating a Site's Loading using jQuery - a handy technique to spice up any site. But an issue that became apparent using this technique, along with some other animation methods, is that sometimes user interaction can prevent loading and other animations from finishing correctly, and possibly lead to pages...

  7. Larry the Fish

    Importing hand-drawn art into Photoshop

    Using Photoshop to design websites it great - it allows for pixel-perfect designs that can then be styled to your hearts-content using all the powerful tools included in the application. But sometimes it's nice to add a human touch, and have hand-drawn art in our designs. Now I personally don't do this all too often, but the other day when a client asked for a design that I simply couldn't...

  8. It's rude to point

    Hide an element with jQuery whilst scrolling

    Note: This article has been marked for a quality review and will soon be updated. Today I came across an interesting problem that no amount of Google searches could solve. So I had to knuckle down and come up with a solution - and surprisingly it was much more simple that it had first appeared. So the problem is hiding an element when a user is scrolling - it might...

  9. ILALUX (I love acronyms like UX)

    Animate a site’s loading

    Note: This article has been marked for a quality review and will soon be updated. There are a lot of things we can do as web designers to improve the UX of a site, much of the time subtle animations can be added to add a bit of finesse to a page, and a new trend is that of adding animations to the loading of pages to make it look...

  10. Read my musings

    Reality check: Why Adobe Muse doesn’t matter.

    Recently a number of people in the web community, specifically developers have been complaining about Adobe Muse, a website creation tools for people without coding knowledge. And while I agree that Adobe doesn't know what the community wants, I think the reactions to this tool have been a little too big. Here are my musings (I couldn't resist that badboy). First up Muse isn't a new concept. In fact there...

  11. Tip 11: Don't eat yellow snow

    10 Best Practises for jQuery Beginners

    Note: This article has been marked for a quality review and will soon be updated. jQuery is the one of the most popular JavaScript frameworks available; it enables developers to write code that is easy to understand but that also allows really powerful functionality. There are a boat-load of tutorials out there on jQuery, and the documentation is awesome, but in this article I'll go over the things that all...

  12. I'm more of a cat man myself.

    Force JS replace to work on all occurrences of needle

    When manipulating strings in JavaScript a useful method to know about is the replace() method. It take 2 parameters - the needle and the haystack. So if you wanted to replace 'cat' with 'dog' it might look something like this: var myString = "The cat jumped over the fence"; var myNewString = myString.replace("cat","dog"); document.write(myNewString); Great it worked. You can also use regular expressions for the needle if you're into that kind of...

  13. No spam here...

    Build an early sign-up mailing list system

    Note: This article has been marked for a quality review and will soon be updated. When you've got a great idea for a product its often hard to resist buying up the domain name for it, but what do you put there? A coming soon logo? A paragraph about what you're making? How about allowing visitors to sign-up to hear updates when the products becomes public? The last point is...

  14. Feelin' hot hot hot!

    Spice up your Hyperlinks!

    Now the words 'hyperlink' and 'sexy' rarely frequent the same sentence in my household, but something which appears to have come into fashion lately (namely I'm using it ;)) is the fading in of the hover state on hyperlinks. So instead of simply specifying the :hover state in your CSS, you use JavaScript or CSS3 to spice up the whole hovering thing. Here's what we will be creating, now lets...

  15. Sure you want to continue reading?

    Building a Confirmation Dialog in JavaScript

    Note: This article has been marked for a quality review and will soon be updated. A common feature of desktop applications is that when a user prompts a potentially destructive action, the program will display a confirmation dialog to ensure that the user doesn't go and do something silly. To do this we will use some basic JavaScript. In this tutorial I will be using jQuery to display and manipulate...

  16. I ♥ A PIE!

    An introduction to OOP

    Note: This article has been marked for a quality review and will soon be updated. Object-orientated programming is a concept that is more likely to pop up when programming desktop applications rather than those for the web. But once you start using OOP you will wonder why you ever used procedural programming (that's simply using a program that calls a load of functions/procedures), well maybe not completely - OOP has...

  17. Keep it Secure!

    Protect your assets with expiring URLs

    Note: This article has been marked for a quality review and will soon be updated. A problem that many web developers face is how to protect their assets. Specifically ones that users are supposed to pay for - say a video training site for instance, you don't want every Tom, Dick and Harry being able to guess the URL, or worse crack open the source code to find an unprotected...

  18. Never have I used a magnifying glass to search

    Search a UITableView

    Note: This article has been marked for a quality review and will soon be updated. As with most things there are a bunch of tutorials on the internet about how to search a UITableView, but when I was attempting to implement my search I hit a brick wall with it and ended back where I started - Apple's developer docs - the code from which will be used in this...

  19. I only code on days ending in Y

    Generate a calendar with PHP

    Note: This article has been marked for a quality review and will soon be updated. Calendars are useful for a wide variety of things, least of all planning and recording events that are going to happen in the future, and while it may not be obvious at first, there a are a number of challenges in creating a dynamic calendar with PHP. In this tutorial I will show you the...

  20. css { from:scratch; }

    CSS From Scratch

    Continuing the series of learning web development from scratch is my introduction to CSS. In the video I go over how to add style to the killer robots site and introduce simple CSS to enable you to make your sites look awesome! As always leave a comment below if you need anything clarifying, and you can download the source code or view the demo using the links below. View Demo...

Posts load automatically