Friday 30 June 2006

Deployment Techniques - The Indiana Jones Method

We all have our favourite ways of deploying things, some better than others. One technique often used in more informal environments is the "Indiana Jones" technique. Remember the scene at the beginning of Raiders of the Lost Ark where Indie weighs up the bag of sand carefully before swapping it with the idol? I'm not suggesting that anyone would ever dream of renaming the "active" .NET dll on a website and then replacing it with a new one before sitting back to see what happens....

Always remember to weigh that bag of sand more carefully than Indie, and remember to run quickly ;)

CSS - You can stylesheet just about anything

I've come across several recent instances of tools that allow you to override/add your own styles, this blogger included. Other service providers often provide websites that you can style to look like the service provided is coming from your own corporate site.

Often these companies will tell you that you can just do the basics, and that, for example, you will have to send them logos etc, which they will have to upload to their servers before you can truely make use of the branding. Also I've asked the question recently:

"Could you remove this bit of text for me please - it's not applicable?"

to which the answer was

"We'd love to, several customers have asked for it, but we can't - changing the code would change it across all sites - it's impossible"

Nothing is impossible if you are allowed your own CSS modifications....it's great.

For instance - the portrait at the top of my blog.....it doesn't really exist. Look at the HTML and you won't find it. It's all courtesy of the wonderful piece of CSS

background-image: url(/images/myimage.jpg)

Also - you can almost certainly hide any part of the HTML page you want too, using:

display: none

A bit of padding, margins, background images and "display:none" can help style nearly anything without ever going near the HTML, or requiring the involvement of a slow moving service provider. It goes without saying that you should check that you are sticking to the terms of your licensing if you start removing the service provider logos etc.