Freelance Web design - News

Form validation

Over the last couple of weeks I have had various discussions about validation. It seems some people involved in a web development project, over look what is to me a fundamental part of any kind of data submission.

Its seems that quite a few websites are being complacent about their validation for data submission. Some relying on only a captcha which doesn’t validate any of the other data submitted. Even worse some are relying on a JavaScript alone!!

To points really about this, generally the data you are wanting to collect from your user is specific data not rubbish so therefore measures needs to be taken to control what data the user submits. For example if you want the user to give their phone number in a specific format or you want your user to give you their email address, you are going to want the email address in the correct format. The second point is security, you don’t want users submitting sql injections or JavaScript in your forms, so these as also needs to validated against.

Both these things can be done on both the server side and client side. Rather than thinking either or, think both. Client side validation should be used as convenience to tell the user they have made a mistake in their form without taking your form on a round trip to the server. However client side validation wont help with security for the simple reason that JavaScript can be turned off! It also runs on the client not on the server so that limits your control. Sever side validation should be the more robust part of your validation strategy this should be used to check for security issues as well rechecking what the client side as already done.

Simple stuff really but you will be surprised how often it is being overlooked!

On April 25th, 2010 by Charlie

HTML 5 or Flash

With the recent comments from Apple’s boss Steve Jobs, “Adobe is lazy. Apple does not support Flash because it is so buggy. Whenever a Mac crashes more often than not it’s because of Flash. No one will be using Flash. The world is moving to HTML5″. Is Flash on its way out.?

Why is HTML 5 challenging Flash? Well HTML 5 brings with it new tags like the video tag which a the moment is a reason many developers use flash. It is true that some website’s are built all in Flash, but these are few and far between. If the displaying of videos was proven to be easier and better across multiple browsers then Flash video could be on its way out. Speculation has spiraled as YouTube announced they were testing support for HTML 5 .

I personally would love to have HTML 5 meet all my embedding video needs. I have never warmed to Flash mainly for its old browser compatibility problems and its poor record for supporting provision for mobile devices.

On February 27th, 2010 by Charlie

IE6 – how much longer should you support it?

IE6 – Its a browser that web designer’s have been wanting to stop supporting ever since the release of IE 7.

Bearing in mind we now have IE 8 why is this browser still around? In January 2010 IE6 accounted for 10.2% of all browser world wide.

I think the main reason for this is business’s with large IT networks that are reluctant to upgrade a minor piece of software which to them as now massive beneifit to their network. So how long should you support it? Well one strong argument would suggest that we all tend to support the browsers Safari and Opera, in the same period they only accounted for 3.7% and 2.2% respectively. So therefore we should continue to support IE6 on that basis. However in the last 6 months some major websites such as youtube and Google have announced they will be phasing out their support for IE6.

My view is the view I think you should take for all your browser decisions. Whats you target audience?

For example if you are a business using your website to sell business to business, then yes I think you should still support it as many of your customers may still be using it. However if you are web 2.0 blog then no I think you can stop supporting it as your user base is likely to have up to date browsers or at least IE7 or later.

A good solution if you are going to support it, is to put small message some where on the page telling the user that there browser is out of date and they can upgrade for free to a new one.

On February 21st, 2010 by Charlie

Facebook hits 400 Million users

What a way to celebrate your 6th birthday, reaching the 400 million user mark..!

Launched in 2005 as a way for Mark Zuckerberg to keep in contact with his college friends around campus, Facebook has grown to become the worlds most popular social network.

Facebook have coincided this with the launch of their new page layout, which is said to allow us to access are friends through Facebook Chat easier and also gives more prominence to the search box. Other features include a improved left column sub navigation bar and the notifications button has been moved to the top left.

Time will tell whether these changes will be greeted well by users, but as they are largely based on user feedback people should greet them in kind.

To me what this demonstrates is Facebooks constant need to reinvent itself, this is true of any business but particularly one in Facebook’s business sector. The internet has changed and is changing at phenomenal rate so any company trading on he internet needs to adapt there business to cope with these. Time will tell whether Facebook manages to stay on top, but my opinion it doesn’t seem to be showing signs of going anywhere soon…

On February 6th, 2010 by Charlie