Why does the blog look terrible? Find out
mikestreety~coding & life

Archives

My Favourite 5 Books – A smashing story

Recently I’ve been going through a fad of buying web related books. I love the feel of books, I love reading books. I love sitting on the train reading about web design and development. With a book you’re forced to read, rather than skim. With a book you can slide in a bit of paper …

Recently I’ve been going through a fad of buying web related books. I love the feel of books, I love reading books. I love sitting on the train reading about web design and development. With a book you’re forced to read, rather than skim. With a book you can slide in a bit of paper and bookmark your favourite snippet of code. With a book you can have them sitting pretty on a book shelf. With a book you can pass it to your neighbour, or have it sitting on your desk, giving you something to flick through when you want to rest your eyes from the screen.

With books come magazines. The .net magazine is my bible. I will sit and read it from cover to cover, soaking in the news, the stories, the interviews and the hints and tips. I just love being able to open a page and turn it to my developer. My .net mag gets whored around like a lady of the night in my office and thats because its easy to read and easy to digest. Its not like sitting in front of a computer reading a long article. Web articles never look pretty. Books and magazines look stunning.

The irony is not lost on me that I am writing a blog post about how good books are. I have not lost the fact that I am writing a long piece of ugly text for you to sit and read. The fact i’m merely typing is because I cannot afford to publish my blog posts.

Anyway, I digress. The purpose of my boast was not to ramble on about the greatness of books, but to recommend a few. I would like to start some sort of #bookstobuy club. The idea being that you list your favourite 5 books, or recent web related book or magazine purchases and you explain in a few words why its a good book. Write a blog about it and put the link in the comments. Hopefully this will be good to the world. So onto my list:

Just a note – you’ll find the title of the book and a link, followed by the [publisher] and the {topics} of the book. All I ask is that you follow suit.

  1. .net magazine {HTML, CSS, PHP, General Knowledge} - It goes without saying that this magazine has taught me an astonishing amount of things. The greatness it brings to life is good.
  2. jQuery – Novice to Ninja [Sitepoint] {Javascript, jQuery} – this book, on its own, got me into jQuery. Made me realise the most complex of animations and effects are just a .animate() away.
  3. The CSS Anthology [Sitepoint] {CSS} – A brilliant book that gives you the low down on all the CSS selectors and what they do and cover. An amazing reference book
  4. HTML5 and CSS3 for the real world [Sitepoint] {HTML5, CSS3, Semantics} – (seeing a trend here?) This book educated me into the wonders of HTML5. It is what I have built this site and written this blog post. The things I learnt from the book have put me in good stead for the next few years.
  5. The Smashing Magazine Books [Smashing Magazine] {Everything} – (I know strictly this is numbers 5 & 6, but they were a bundle!) I bought the bundle (books one and two) and they are absolutely fantastic. Brilliant. They cover tons of topics and give you a good overview of so many topics. I have, in fact, just ordered the third book despite not even being halfway through the first. They are just teasers of topics, which allows you to gauge what that subject is and what you’re interests are.

They are my favourite 5 books – what are yours?

Read More

The Commute: The Rant

I’ve been commuting for nearly a year now. Proper commuting that is. Getting up at some unearthly hour to sit on a train for a bit. Living in a completely different county to where I work. When I started, I used to get to the station with a smile on my face, look around at …

I’ve been commuting for nearly a year now. Proper commuting that is. Getting up at some unearthly hour to sit on a train for a bit. Living in a completely different county to where I work.

When I started, I used to get to the station with a smile on my face, look around at all the glum expressions and wonder what is getting them down. For about 4/5 months I stayed with this naïve, fresh-faced view of the world. I was happy to be getting an hour and half to myself a day, pretty much cut off from the Internet (as the 3G signal in the Croydon to Brighton line is terrible). I’ve read many a magazine and book on the year of my commute and I’m glad I did it.

However, the tides turned when I got upgraded as a commuter. Where the standard walking commuter is your beat cop or the foot soldier, I became one of the interceptors, the traffic cops or a bomb disposal team.

You see I became an owner of a fold-up bike. Not one of those incy-wincy Brompton, but a respectable Dahon. Having a bike on the daily commute allows you to see what idiots people can be. How eager everyone is to get everywhere. What a rush everyone is in. Below I have outline 3 things that annoy me about the commute and the things that have turned me into a glum expressioned commuter.

First off – the barriers. People. Ordinary walking people with no suitcases or bikes or any irregular props insist on queuing up to go through the gate, when there are perfectly working barriers next to them. This infuriates me because I have a bike so I need to go through the gate. People push in front, huff and puff and take twice as long going through the gate then they would going through the barriers.

Secondly – the doors. If you are waiting to get on a train, please leave room for those wanting to get off first. The train won’t leave if there are people standing waiting to get on, so there is no rush. Just yesterday 4 people jumped on the train before I had squeezed out with my bike. Just calm down!

Thirdly – the seats. This is another pet peeve. People who put bags on seats and then huff and puff and moan and tut when you ask to sit there. Some people are very nice and friendly about it, but others are not. If you wish to put your bag on a seat then pay for another bloody ticket!

I think that is all that annoys me. Luckily I shall be cycling all the way to work next month, so I can get annoyed at car drivers instead.

Anything I’ve missed?

Read More

It’s My Way or the Highway. Not.

Recently with the spate of CSS3 and media queries, there has been a few debates over how development should be done. Several people have emerged saying that you should be considering mobile first. The attitude of some of these people on the web, is do mobile first or don’t bother doing it at all. Now, I understand why …

Recently with the spate of CSS3 and media queries, there has been a few debates over how development should be done. Several people have emerged saying that you should be considering mobile first. The attitude of some of these people on the web, is do mobile first or don’t bother doing it at all.

Now, I understand why you should. It helps you focus and means that the content is all the content you need. If you do mobile first, you’re not tempted to slide in the odd random graphic here or there. But i’ve been thinking. Why should we have to do it this way?

I’ve always been of the mindset that with the web, as long as its accessible and semantic and it makes sense, its perfectly acceptable. There are hundreds of different ways to skin a cat and as long as you get a clean website at the end, who cares how you got there? (People even have prejudices against certain bits of software…).

I often get annoyed on the web when people tell me I have to do something a certain way. I prefer to be nudged in a general direction than having a certain technique forced upon me. For example, I have recently read a couple of Sitepoint books – jQuery: Novice to Ninja and HTML5 & CSS3 for the Real World. They are fantastic books (highly recommended for people starting out in jQuery and HTML5).

The thing I like about the books is that they imply that there are several ways to do things. The code examples in the book are starting points  that give you a nudge in the right direction. Before I read the jQuery book – I was under the impression that it was really complex, but the book showed me how simple things were and from that I have evolved into a jQuery Deputy Master.

So next time you read a technique, or tutorial, remember that it is not the only way and no matter what operating system, software or method people are using, please be nice and accept their working process – you might be surprised and realise they’re doing it better.

Read More

Whats Up, Blog?

Right, I’ve decided to start blogging again. Recently, I’ve been wanting to get my point across in more than the 140 characters that twitter lets you. And if I have got my point across, I often get several replies that would be better if one another could see the replies. Other times i’ve come across …

Right,

I’ve decided to start blogging again. Recently, I’ve been wanting to get my point across in more than the 140 characters that twitter lets you. And if I have got my point across, I often get several replies that would be better if one another could see the replies.

Other times i’ve come across ground-breaking code. or i’ve written earth-shattering nerdiness that would be simply rude not to share with my fellow humans.

So I wanted a medium to express my views about why I haven’t fully accepted HTML5, or why Responsive web design has yet to make it onto my agenda Or if i have, a medium to share the code. And I wanted a place for fellow nerds, geeks and people to rant and rave about how stupid I am or correct me.

So here we are. mikestreety.co.uk is now just a blog. And the horrible default theme? Its to kick-start me into making a sleek, sexy, HTML5, CSS3, Media-queried blog. If you’re not seeing the nice default theme, its because i’ve started work. And if my horribleness is on show to the public, that should make me sort my live out.

Read More

Creating a HTML Email

Creating a HTML email is like going back to the nineties with web design – you have to go against all your natural instincts as a web designer. Floats don’t work, and emails rely heavily on tables for layout. Below are the steps I follow when creating a HTML email for clients.

Creating a HTML email is like going back to the nineties with web design – you have to go against all your natural instincts as a web designer. Floats don’t work, and emails rely heavily on tables for layout. Below are the steps I follow when creating a HTML email for clients.

1) Sign up for a test account everywhere. Gmail, Yahoo and Hotmail are the biggies, but make sure you also have access to Outlook, Thunderbird and Apple Mail (and if possible – Outlook Express).* This is, of course, unless you know everyone you are going to email reads their emails in a certain email client

2) Use tables for EVERYTHING. As much as it hurts to read that, it’s the only way to achieve a consistent layout. If you don’t know how to use tables for layout – it’s easy. (an outdated resource but handy for those who came in after the table era: http://www.ironspider.ca/webdesign102/tables4layout2.htm)

3)  Be a bird – nest! If you can’t get that initial layout using the rows and columns you already have, nest a table inside of that table (but don’t overdo it – too many tables is confusing  for you as a designer and slows load times)

4)  Background images can be used but not relied upon. Certain email clients do not show background images – you can only have them tiled or not at all, so make sure you have a repeating pattern, also don’t rely on a body background for your email – the table can have a background but not

5) Span out! Don’t be afraid of colspan and rowspan (although they do sometimes have adverse effects if overused – especially in Outlook!). use  <span> tags for colouring and font styles

6) Style everything twice. If you want your table or table cell to have a background color or w idth or a height,  then make sure you define it twice. For example: a bgcolor and a style. E.g. bgcolor=”f2f2f2″ style=”background: #f2f2f2;” – It may give you a lot of code but at least you know it’ll work right!

7) Inline – Any CSS styles you apply pretty much need to be inline. Any links need to have their own styling, including colours applied (unless you want that default blue colour!). Again, apply twice if you want to be sure that vital colour comes through on your email in all the clients available.

8 ) Online Version – don’t forget to include an online version of your email for those with text enabled email clients or for those accounts you didn’t quite check!

9) Content Counts – Please make sure that the content has been spell checked and proof read by several people – nothing is more embarrassing than sending an email with a typo or an empty href. Include a target=”_blank” to make sure you don’t take anyone away from their emails and, more importantly, your email.

10) Images Matter – If your email contains images, make sure they are hosted somewhere on the internet and have an absolute path. People are not going to be able to access your ‘My Documents’ or the /images/ folder to view that all important logo. Also make sure all images contain ALT, WIDTH and HEIGHT tags.

11)  Test. My testing procedure is usually to send a test to an email address rigged up to Outlook – as this seems to handle the worst*. Once looking good in Outlook I then send it to all my other test accounts to see how they cope. There are a few things I’ve found:

  • By far – Yahoo is the best at rendering HTML emails correctly
  • Hotmail won’t center the email nor will it apply body background colors or images to the whole email, only to the bit where there is content.
  • Gmail will center, but not display background images or colour

12) Adjust – make necessary changes to your HTML email so it looks good

13) Repeat Steps 11 & 12

14) Spam Check – Send it off for a spam check. The best I’ve found so far is sitesells:

  • Send a copy of your HTML email to: spamcheck@sitesell.net
  • Make sure the subject starts with TEST
  • You’ll get a report back – ignore the top section. The bit you want to focus on is the score and the feedback. Anything below 5 is good, anything below 1 is excellent.
  • Adjust your content/code until you get as low as score as possible

15) Repeat Steps 11 & 12 – Try sending it to friends and/or family to see how it looks on their system (and don’t get to alter the online version if you change any text/links/content/typos!)

16) Send! – Pick up any hair you may have pulled out and pray nothing blows up

Let me know how you get on or if you have any more tips on how to create the perfect HTML email.

Don’t be afraid of having a fair bit of code, as proved by Linkedin:

Linkedin sends me updates every now and then so I thought I would have a look at one of their emails to see if I could pick up any tips. I’ve attached it for your reference. Look at how the email is displayed and imagine how little code it would require to make a web page like that, then look at the source.

linkedin email

I’ll let it speak for itself!

*Statistics from Fingerprint show that in Feb 2010 – 43% of people we using a derivative of Outlook to view their emails. So it important to get it looking right!

Read More

Changes – the Past, the Present and the Future

A lot has happened recently – mainly me getting a full time job doing something I love. During the final year of my degree I started doing work experience at a web design company in BrightonBozBoz. Having worked on my own in my bedroom for several years it was a massive leap to work in an office on a site which is certain to get thousands of visitors a month where more than one person is working at any one time! Having people to talk to about design and decisions with was a great help!

BozBoz - Web Design BrightonA lot has happened recently – mainly me getting a full time job doing something I love. During the final year of my degree I started doing work experience at a web design company in BrightonBozBoz. Having worked on my own in my bedroom for several years it was a massive leap to work in an office on a site which is certain to get thousands of visitors a month where more than one person is working at any one time! Having people to talk to about design and decisions with was a great help!

They offered me a part-time job, allowing me to leave the shop I was working at and start earning money for a hobby, which I enjoyed. Once I had completed my degree (getting a 2:1 thank you) they offered me a full time job and here I am. I’ve only been there for two months but already I have learned so much! My very very basic knowledge of PHP has now developed into just basic PHP wisdom – but i’m getting there. Since being there my CSS and HTML skills have improved ten-fold. Things that I would have thought impossible before I started (layouts, designs etc.) I now feel confident creating.

When I am designing and developing websites for myself, planning the, i’ll create them for my skills, sometimes creating blocky sometimes basic designs. While at BozBoz however, we have a separate designer who pushes our skills to the limits and sometimes further! It is not just the designer who pushes my ‘talent’ but also our PHP/Javascript developer. Working with him we teach each other several things a day and sometimes dare each other to new limits.

Anyway – this isn’t about me blowing my own trumpet. Actually I lie. It is. I just thought I would keep you updated with my goings on!

Tim Healey

DJ Tim Healey approached me wanting a MySpace redesign for both his personal account and the one set up for his label – Surfer Rosa Records. It was a brand new concept to design for MySpace and had to go against all my instincts and code CSS like an amateur. However, I’m really pleased with the finished results and it doesn’t really look like a MySpace page at all!

They can be found at the following URLs:

myspace.com/djtimhealey

myspace.com/surferrosarecords

SusSAR

The ever on-going project of Sussex Search and Rescue is under new development. I am working with the afore mentioned PHP developer to create a custom login allowing news to be posted easier. The whole backend is generally having a full revamp, making it easier to update and change the layout or the pages. Watch this space for when it goes live.

Drink in Brighton and Skint

At BozBoz we’ve had two of the most biggest projects we’ve done go live in the space of a week. Skint Entertainment is the home of artists such as FatBoy Slim and the Freemasons. Check out the BozBoz portfolio for the full update.

We’ve also been developing a website for pub chain; Drink In Brighton. Owning over 40 pubs, this website collates the News and Events of the hottest pubs, clubs and bars in Brighton. We’ve been working on this website for a few months and Suday night was the night where it all went into the big wide world. The site includes custom templates for various venues and several funky features, including a flash map and a carousel. Again see the Portfolio for more details!

HTML Emails

One last thing – since working at BozBoz I seem to have become somewhat of a ‘pro’ at creating HTML emails suitable for email marketing. I am creating them for some well known people – but must keep it a secret! Sorry! On that note, however, I will be making a blog post on how to make that perfect HTML email!

Read More

Stop Your iPhone or iPod Touch Launching iPhoto

Since I reformatted my mac, I have experienced a very annoying problem – whenever I plug in my iPod Touch, iPhoto would launch and show the pictures on there. To stop this behavior, the preference is located in an unexpected location: Plug in your offending apple product, and then the program you need to launch …

Since I reformatted my mac, I have experienced a very annoying problem – whenever I plug in my iPod Touch, iPhoto would launch and show the pictures on there.

To stop this behavior, the preference is located in an unexpected location:

Plug in your offending apple product, and then the program you need to launch is ‘image capture’. You can use spotlight to find it (as you may have moved it when you got your shiny new apple computer)

Once opened, you should see your peripheral in the left hand side. Select it, and in the bottom left hand corner you should see the preferences box. If not, click the little downwards arrow located in the bottom left-hand corner.

screenshot of Image Capture application

In the options box you then have the option to select which application opens when your iPhone/iPod touch is plugged in. Simply select your preference or ‘No Application’ and you’re done! Close the application, eject your music player/phone. Plug it back in just to double check – worked for me!

Read More

Whats Happened to My Blog?

I am currently going under a big re-design of my website. Recently I have been introduced into the world of jQuery (a plug-in for making fancy things) and so I am redesigning my website. Along with the website re-deisgn, comes a wordpress blog redesign, so I have based it on the theme Depo Sinny. From …

I am currently going under a big re-design of my website. Recently I have been introduced into the world of jQuery (a plug-in for making fancy things) and so I am redesigning my website.

Along with the website re-deisgn, comes a wordpress blog redesign, so I have based it on the theme Depo Sinny. From there I will slowly redesign each page on the blog and slowly integrate the new design into the site. So hold tight.

If you notice the site go funny don’t worry – i’m working on it!!

Read More

Where Have I Been?

These last few weeks have been quiet on the blog front – so where have i been and what have I been doing? Tim Healey Mr DJ Tim Healey (www.myspace.com/djtimehealy) has asked be to re do the layouts for both his person myspace and his record label Surfer Rosa Records. I have been working hard …

These last few weeks have been quiet on the blog front – so where have i been and what have I been doing?

Tim Healey

Mr DJ Tim Healey (www.myspace.com/djtimehealy) has asked be to re do the layouts for both his person myspace and his record label Surfer Rosa Records.

I have been working hard getting these layouts perfect before I transfer them over to the proper myspace accounts (no, I didn’t do the current ones – mine are much better!). You will be told when they go live.

Lobster Recruitment

Lobster Recruitment contacted me enquiring as to whether I would redesign their website for their recruitment agency in Crawley. I have agreed and have been creating wireframes and designs for their new website.

Mike Street Media

Yes, once more Mike Street Media is getting a redesign. Since I have become a full time web designer I have come across such a thing called jQuery. It’s actually amazing and will be making several appearances throughout my new site and all the other sites I will be developing.

Because of this, my blog will be getting a redesign (hurrah!) as I have never liked the layout of the blog.

A sneak preview can be found on my ‘playground’ domain: www.mikestreety.co.uk

World cup

I hate football, in fact ,I loathe it. Except the World cup. That and the Euro football tournament are the only two bits of football I watch and actively enjoy. Don’t ask me why!

Apart from that I’ve been working at Boz Boz!

Read More

The next step…

So you’ve got a brand new website that you want to promote? Recently I finished a website for Frag Records. Once completed they asked me for some hints and tips on how to get their name out there and how to be heard. Off the top of my head I came up with several promotional …

So you’ve got a brand new website that you want to promote?

Recently I finished a website for Frag Records. Once completed they asked me for some hints and tips on how to get their name out there and how to be heard. Off the top of my head I came up with several promotional techniques that are expected of artists, labels, companies etc but are not always that obvious, so I thought I would share these points. They do not all need to be done or they may not all appeal to you, but keep them in mind.

These steps are mainly for the music industry people, but can also be applied to any company.

Set up a facebook page and keep it regularly updated! Offer things to fans – people love being fans of things, especially if it means they might get freebies. Offer out a free track here and there, or discount to a night out that only fans can use. You can send out a private message to them all and print off a list of fans for a guest list.

With that, you can then set up a twitter account. Facebook and twitter can now talk to each other very easily, so you can update one account and the other updates automagically. If you want to offer Twitter or Facebook only offers, if you have it set up right, you can still log in and post separately.

Sign Up to MySpace – chuck some sample tracks up there. It is not crucial that you keep this one updated as much, but having a MySpace means more exposure, more chance of being found. Twitter can also update your MySpace status, so no need to keep logging in!

Set up a bandcamp – This site is fairly new, but this lets you upload your tracks and sell them – For free! You can also include mini media players from bandcamp onto your new website, giving people the chance to buy the tracks there and then.

Along the lines of bandcamp, use Soundcloud. This is another place to upload tracks but also lets people comment on others. Once signed up, find individuals who make music similar to you and comment on them. This gets you more attention, thus meaning more publicity!

All you’ve got to remember is that the more websites you’re on, the more chance there is of being found and it gives people the option to use whichever service they prefer.

Set up a mailing list – People love signing up to mailing lists if it means they get offers that no-one else does. To entice people, offer a introductory offer, be it a free track or free sample etc. and then once in a while give something away.

Set up a blog – this way you can post about upcoming gigs, the latest track and how it was made, gigs you went to, new albums you love, classic S Club 7 tracks… all this helps boost search engine optimisation, the more you talk, the more noticed you’ll get. The more you link, the more traffic, the more sales… the list goes on. If you do set up a blog, you can have it set up so it updates your twitter and facebook telling your fans that there is a new post.

Set up a shop – merchandise merchandise merchandise! You can use something like spreadshirt.co.uk if you want clothing, but if you want to sell CDs (even as an mp3 download) then either do it yourself or see above (bandcamp)

This is just the start of your campaign, but its worth taking these points into consideration for boosting your website traffic

Read More