What am I up to now?

I’ve not posted in a while, and that’s because I’ve been busy setting up my new company Townend Creative Limited. The concept is that the most important element of a long-term company is its brand. In my experience graphic designers tend to forget this while trying to inject their own personality, so Townend aims to rectify this. The website is online, so you’re welcome to have a peek, but don’t be disappointed if there’s a bit missing because it’s still a work in progress! The cool thing about the website is that there’s just one image in the entire template, the rest is real text generated by cufon MyFont.com’s Web API, turns out cufon can crash Firefox if there’s too much text on a page.

There’ll be another post all about the composition of the website and how it’s the best thing since sliced bread, but this is to let you know I’m still here, still working hard in the creative sector!

Downtime

So yeah, teamtownend.com has been up and down a lot in the last few days. Basically I’m learning:

a) My UrgentVPS container is incredibly unstable and something as simple as downloading an FTP folder can cause the entire server to go down for a few minutes

b) UrgentVPS support is terrible

c) Don’t move important websites to a new hosting company straight away, trial the service first on a less important website.

Oh well – now to find a reliable host to move to as soon as possible!

Sportspower Club – Custom PHP/MySQL website made to a tight deadline

Sportspower ClubI was recently commissioned to produce a site for a new betting tip service, which had to have a members area updated daily with new tips. The most important criteria to the client was speed: the website had to be up and running as soon as possible.

I chose to start from the ground up using HTML/CSS for layout and PHP/MySQL for the management components, rather than using a pre-built CMS, to get exactly and only the features the client and their clients needed.

Ed Townend Does Design! completed the project on time and to the clients delight – adding the tips each day and managing club members could not be easier! Members love the way they can filter tips for any date and the streamlined PayPal subscription system.

eBay time!

Selling my faulty Macbook Pro now I’ve replaced it with a Sony VAIO Z. Here’s the lowdown in case you fancy getting it repaired for yourself:

At the time of writing the laptop will not boot, but instead the fans spin with no display output. I understand the issue to be the solder on the graphics processor that has failed, a company named Retronix in Scotland offered to repair it for around £80, but I don’t have time to wait for it, I need a laptop for work! The RAM has been upgraded from the standard 2GB to 4GB of 800MHZ Kingston memory.

Good points:
- Casing is in excellent condition for the two years of use, no dints, other than some very minor scuffs it’s perfect!
- Upgraded to 4GB RAM, it flies at Photoshop or pretty much anything!
- Battery was replaced just under 9 months ago, still offers the expected 5 hours of battery life
- This was the multi-touch model of the MacBook Pro, the last one made before the switch to the new unibody style
- I chose the LED backlit matte screen option, so it’s perfect for photo editing
- Just the one owner, me, who’s been very careful with the laptop, and it’s very rarely left the (non-smoking) house
- Comes in original box with power supply, install CDs and the original DVI-VGA adapter in unused condition

Known problems:
- You need to have a folded post-it note just under the battery, otherwise the keyboard can stop working occasionally. It’s not a big problem, just something to remember to replace should you remove the battery (this is a very common issue)
- There’s a tiny slightly lighter spot in the bottom corner of the screen, not really noticeable, but worth pointing out
- For a while now the fans have seemed to run a little faster than usual, this is probably because of the dodgy GPU solder
- Of course, the fact that it doesn’t always turn on! Though of course Retronix are offering to fix this, I can put the winning bidder in touch with them.

Please see here for the list of specs:
http://www.everymac.com/systems/apple/macbook_pro/stats/macbook-pro-core-2-duo-2.4-15-early-2008-penryn-specs.html

UPDATE: The MacBook has sold for £410.

Also selling a Sigma 18 – 200 mm lens, Canon fit:

http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=260600018137

Should I use Dreamweaver to write PHP code?

That’s a question I was asking myself about a year ago now, when I was approached to write a database system for a betting tipster. The concept was fairly simple, the employees of this business need an online form to add tips for each betting system the company runs, and later update these tips with the result of the race.  Then a paying customer can access this information as a nice table, with the ability to filter a specific date and/or betting system. He can also choose to download the data to process in his own Excel spreadsheet, for example. Pretty simple, no?

Edit Screen

This was, however, the first project I’d ever chosen to write in PHP, so I had to learn to adapt my knowledge of  Visual Basic and Access via ODBC, a client-side language, to the server-side nature of PHP and MySQL. The cient didn’t really want to hang around forever, so I thought I could speed up the whole process by using Dreamweaver’s ability to ‘build applications visually’, then tweak and add to the resultant code to add the custom features they requested. These included automatically defaulting to editing today’s date, a rich text editor for notes, easily editable drop down menus for the betting system, automatically moving to the next tip once saving, and some other stuff. It still sounded pretty easy, even for a PHP novice.

After some initial confusion regarding using phpMyAdmin to create the database (solved by the hosting provider,) I was amazed at how quickly and easily I could piece together the bones of this program in Dreamweaver without even touching the code. It seemed a great way to work, letting Dreamweaver do the hard work and then tweaking the result. I was getting paid to click and drag! However, I soon ran into problems. Once I had a few server behaviours on the page, they started to clash, as they were all trying to use the same variables. This took a few hours to hunt down, and even more to correct the problems I caused (Coming from my VB background, I kept forgetting that lines had to be ended with a semicolon.) The biggest problems arose when I finished the structure and came to tweaking Dreamweaver’s generated code. What seemed to happen when I made a change to the code, is that Dreamweaver would no longer recognise its own code, the server behaviour would disappear from the side panel, and then it would decide that the code was ‘wrong’ or redundant and try automatically correcting it or even deleting it. I can’t remember the specific problems now, but it really felt that it was me versus Dreamweaver, with it battling to keep its code and me trying to hack it up with my keyboard. In the end, I got a working system presented to the client, and thought that was it.

TinyMCE (The text editor) was really easy to integrate, and has options for every scenario

Now, a year or so later, I’ve been asked to add some more features to the code. Since then, I’ve moved from CS3 to CS4, and immediately I ran into problems with Dreamweaver not recognising the spry tabbed panels I used to separate the different actions the user can take (see the screenshots). From there I ran into the same sort of problems as last time, but I was now better prepared to deal with them. Last night I got the extra features finished, and saved the files ready to deliver to the client on Monday. This morning I had a quick check of the finished page, and spotted a line of text that could be better worded. I changed the text, which involved no changes to the PHP code, uploaded to the server to test once more, and what?! Suddenly the save button is broken! The code goes through all the motions of saving to the database, the page refreshes, the confirmation message shows, but the change has not stuck. But this was working last night, and I haven’t even changed the PHP code! Now I remember last time, Dreamweaver played this game with me, and it took ages to find that it had automatically added a closing tag or something where I didn’t want one. For some reason the update record server behaviour has disappeared from the panel. Now I’m going to have to look through all the code to find something I didn’t even cause. This sort of thing adds loads of time to a project that can otherwise be complete, and I can’t even imagine a timescale that I can find this bug in. It’s really frustrating, Adobe.

Why didn’t I just stop using Dreamweaver for this project and code manually? I’m a stubborn guy, and I really believe the concept of building applications visually, then adding on custom features can speed things along, if only Dreamweaver could keep its nose out!

Making Jewellery from Old Circuit Board

Every year, we all have the same problem – what do we get our mums for mothers’ day? Though I don’t entirely approve of the concept of set days for anything, that’s another topic for another blog post. This year I decided to do something special, and what’s more special than handmade stuff?

I should explain, our family has a mascot, a cuddly fox known as Smiley. He lives in our living room, and always comes on holiday with us. So I decided to make a necklace of him. I have a fairly limited set of tools available to me, but certainly not a plotter, CNC machine or laser cutter, so this had to be hand made. Obviously I needed a template, as I’m no freehand expert. I traced a photo of Smiley on my graphics tablet to create a silhouette with simplified features.

But what material to use? At first I made a couple of prototypes with old flooring tile. It cut very quickly and cleanly with the cutting disk on a dremel, and the end result was quite decent for a first attempt. But I didn’t feel my mum would really care to wear a piece of flooring tile round her neck. An old circuit board seemed the perfect answer. The board you see there is from the back of a Samsung LCD panel, chosen for its intricacy in the traces and screen printing, as well as being very thin (under 1mm). The components came off the board very easily using a heat gun. Again the cutting disk on the dremel worked well, with edge finishing using a tapered cutter. I chose to detail one side only using an engraving ball cutter to expose the copper underneath, as the other side seemed elegant enough already with its complicated traces and screen printing.

Finally I added a 2mm leather cord from ebay, packaged the necklace in an old jeweller’s box and wrapped it in paper printed with a repeating pattern of the fox template. The one you see here is my Gran’s, I made her a similar necklace.

Both Mum and my Gran were delighted!

Panorama!

Leeds Corn ExchangeThought I’d have a play with Autodesk Stitcher, so I grabbed some photos from a recent trip to Leeds of the Corn Exchange and gave it a go. Considering I shot the panorama by hand without a tripod the images have stitched up remarkably well – though I didn’t keep very level so there’s a weird gap in the middle. I tried to disguise or rather play on the odd shape by stencilling the edges in Photoshop. The image is on Flickr – but I uploaded it here full res (8568×5976) for you to have a closer look!