Feb
23
2007
0

Oh, it’s enough to make you cry.

Or maybe be sick. Or maybe it’s enough to make you cry sick.

A screenshot of my desktop, running Internet Explorer versions 3, 4, 5.01, 5.5, 6.0 and 7

Look at it. A trail of misery going all the way back to the early Victorian times. And that’s just version 7!

OK, that’s enough rants about IE. I actually don’t hate it as much as I like to make out. And to be fair, the earlier versions were pretty good for their time. I think version 4 was the first browser to fully support CSS when it came out. It’s such a crying shame they let IE 6 go to the dogs.

IE will always have a special place in my heart. I never use it any more, but it was the browser I learnt the internet on. Strangely, though, I’ve always thought “Bookmarks” was better than “Favorites”.

And by far, IE7 has the prettiest most loveliest logo ever. It looks like it’s smiling!

Generally, I’m pleased and relieved that IE is finally getting its act together, but still frustrated by the fact I had to spend two days getting shefbase to look right, even after the upgrade.

Written by Mark in: Geekery, Images, Rants, Web design |
Feb
22
2007
0

Tips for web designers

When you’re coding a design, it’s quite likely that you’ll have two programs open (at the least). The editor with all the code in it, and a browser with what that code looks like.

When you make a change to the code, you have to refresh the browser to see the effects of the new code, and this can be a pain in the arse. I use CSSEdit, a program for the Mac which includes a preview window that updates instantly every time you make a change. It’s an excellent program, and I love it dearly.

However, CSSEdit’s preview window is reasonably relaxed when it comes to errors in your CSS. It allows things that browsers like Firefox would just outright ignore (and those like Internet Explorer would take one look at and start drafting the suicide note — and not a moment too soon you pile of worthless horse manure!).

So anyway, I wanted a way to be able to write code in one window, and have it update in the browser without having to press F5 all the time. (I should also point out that I use a MacBook, so I can connect two screens and they automatically display different things, it’s wondrous).

The solution was so simple, you’ve probably already thought of it, but I care not. I simply inserted this into the <head>:

<meta http-equiv="refresh" content="2" />

And voila! My page is refreshed for me every 2 seconds :D

Written by Mark in: Web design |
Feb
20
2007
2

Internet Explorer, I hope you’re reading

Despite your recent upgrade, you are still a miserable piece of technology. I hate you, and I dearly wish to see your failure. May you crash and burn, you useless, outdated cripple of a web browser.

Death and misery forever be upon Internet Explorer!

Update: Ha ha! I’ve beaten you again. O death, where is thy sting? O Internet Explorer, where is thy victory? I can do all things through CSS which strengtheneth me! (Is this blasphemous?)

Written by Mark in: Geekery, Rants, Web design |
Jun
05
2006
0

A new way of thinking about online security

Every form on a website that submits data to your server has the potential to be used for bad purposes. If you’re not careful, someone can add a <script> tag, with some javascript in it, and steal all the cookies you’ve set on other people’s computers.

Security professionals therefore recommend that you view every piece of information submitted to your site with suspicion. Therefore, if you make websites, I encourage you to see every form on your site as a toilet, with the submit button being the flush. Do you really want that kind of stuff in your database?

Written by Mark in: Web design |
May
19
2006
2

I’ve won an award!

How’s about a little good news to brighten a day? It turns out the Open Space website won the best website award in the recent Activities Award Ceremony at Sheffield University Student Union!

There’s no money or chocolates, more’s to the pity, but it’ll look good on the CV!

(For those that don’t know, I designed and run the Open Space website)

Written by Mark in: Web design |
Mar
13
2006
3

Things to look for in a web host

Now that I’ve been doing websites for a while, I’ve got a little bit of experience in using services provided by web hosting companies.

Firstly, if you’re just starting out, you need to know that there are two things you need to buy to get your own website: a domain name and hosting. A domain name is a name like “beingmrkenny.co.uk”, or “open-space.org.uk”, and is basically a shortcut to where your pages are hosted (i.e. the computer that actually stores your pages).

It’s a good idea to buy these from separate companies, since you can get save a lot of money doing it that way.

Hosting

In my opinion, when you’re buying hosting, there are six things you need to bear in mind:

  1. Diskspace and bandwidth — Get the right amount of diskspace for your project. Bandwidth is the amount of data you transfer. So, if you have a 2MB video file, and it gets downloaded 20 times, the bandwidth used = 2MB × 20 = 40MB. The things that take up diskspace and bandwidth are large files like multimedia and photos. If you expect to have lots of those, and high traffic, go for more diskspace and bandwidth.

    To give you some sort of guide, my website uses 300 MB diskspace and 600 MB a month bandwidth, after nearly two years of being up and running.

  2. PHP and MySQLPHP is a server-side scripting language. That means that, instead of sending a plain HTML file, a page is put together on the server before it’s sent to the user, very useful if you need different a different page for different requests.

    MySQL is a type of database. If you want to have a blog, you’ll probably need at least one MySQL database. If you plan to have other things (like photo galleries or guestbooks) you might need one for each of these things, but check first.

  3. CPanelCPanel is a comprehensive, powerful control panel for configuring your website. It’s better than other control panels or admin areas I’ve come across, and now I find it indispensable.
  4. AWStatsAWStats is a powerful statistics package for your website. It returns all sorts of information, including search phrases, browsers and their versions, duration and amount of visits, countries — and more. It’s a million times better than Webalizer, another stats package used by a lot of hosts.
  5. Support — Good tech support is actually quite important, but unfortunately, the only way to check this before purchase is with existing customers who are often too hasty to praise. However, if the majority of the customers are happy, it’s probably OK.
  6. Reliability — Downtime is a real pain and can result in search engine penalties if you’re down for long periods of time and frequently. You can check this by doing a search for customer reviews for a particular hosting company — there are quite a few review sites which are independent of hosts. Some hosts also provide a “service status” page which can show when and for how long there have been outages.

It’s often worth paying annually rather than monthly, since you can often save money that way.

Registering a domain

With hosting you need to look for quality. When you’re registering a domain name, however, there’s not a lot that can go wrong, so cheapest is best. When you register a domain, all you’re doing is saying “I want example.com and I want it to point to this hosting”. Since domain names are held with an independent organisation (in the UK it’s called Nominet) all the registrar needs to do it tell it what your domain is, and where it should point to, and that’s pretty much it.

If you’re charged more than about £3 a year for a .uk domain name, you’re being ripped off. Other domains (such as .com, .net) are more expensive, since these are global, not tied to a particular nation. (Also, buying a domain from a foreign country, like .fr, .es can also be more expensive if you’re not actually based in that country.)

Hosting companies/Domain registrars I have known

  • Names.co.uk — do not bother with these people. They were the first company I used, and they provide poor hosting (no PHP, no MySQL, not much diskspace, poor admin area and stats) for the same price as other companies which provide much better service. Also, they charged me £19.99 for two years’ domain name registration, which is totally absurd. They are very definately overpriced for what they provide.
  • Dataflame.co.uk — much, much better. The hosting packages they provide are excellent, and they are they provide the most reliable hosting I’ve ever used. There are also a variety of hosting plans to suit most needs.
  • 34sp.com — great, budget-friendly host if you’re just starting out and want something basic. I run a small site with them, and I’ve had 2 instances where the site has been down (in the last 6 months) but it was rectified within a day. Good basic packages, very good tech support, but basic stats and control panel. Ideal for a low-power personal site.
  • 1&1 — the cheapest .uk domains on the net at the moment (£1.99 a year, excl. VAT). The only company I use to register my domains.

Please note, the links above for DataFlame and 1&1 are my affiliate links (as in, I get paid if you sign up for hosting with them after clicking that link). That said, I wouldn’t recommend them if I didn’t think they were reliable, good hosts. BTW, while it shouldn’t be a criticial factor in your decision, a good affiliate scheme is something else to look out for in hosting. If enough people sign up through you, the affiliate scheme can pay your hosting fees!

Written by Mark in: Web design |
Mar
05
2006
0

Design for lovers of code

When it comes to web design, my expertise probably resides more with the code than with the design. In the past, I have generally found it harder to come up with a design in the first place, than I do when it comes to actually putting that design into code.

But recently I completed a design that I was really pleased with, from start to finish, and this is because I let the design develop in my mind before I fired up my HTML editor. It may not be the greatest design in the world, but it’s one where I let the design lead the whole process, rather than the code, and as a result it seems to fit together much better than some of my other designs.

I have discovered that trying to get a design to work from the code up is the wrong approach.

That approach leads to staring at a style sheet for hours, maybe adjusting the padding of a certain element, or fiddling with the font sizes or something, while the overall look of the page doesn’t really change or improve. But it’s actually quite difficult to suddenly switch to a design-oriented mindset. When you’re working with code, it’s a much more logical process: you know which XHTML elements and which CSS properties to use to get a certain thing, and then you tweak them until they work.

When you’re working with design, inspiration plays a big part. Unlike with code, where you can look up tutorials on the web, you can’t do anything to get inspiration, other than relax and wait for it, and that’s the difficulty: learning to be open to inspiration when you’re used to a logical approach.

So, for future designs that I produce, I will allow them to come to me and then let them brew in my imagination before I put fingers to keyboard. Actually, it’s more fun that way from a code perspective: quite often you have to find new ways of doing things to accomodate a certain feature of your design.

(I’ve also learnt that it pays well to develop your graphical editing skills, but I’m probably much less qualified to talk about that, so I’ll leave that for today.)

Written by Mark in: Web design |

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes