Aug 31 2007

IP address binding with IIS

Tag: IIS, Web serversGrant Perry @ 7:10 am

This little trick has saved my life with quite a number of times!! But took me a while to find, so here I am sharing…

Lets say you’ve already got IIS running on your 2003 server, but you want to install several other web servers (or just one.. Hehe). You’ve already assigned a number of additional IP addresses to your server under network adapters TCP/IP settings.

But you then notice IIS is listening on all IP address! Despite having configured you’re sites in Internet Information Services (IIS) Manager to only use one IP address. You can see this using netstat.exe!

Solution

  1. Install Microsoft Windows support tools. Found on your Windows Server 2003 CD at \support\tools\suptools.msi
  2. Stop IIS listening on all addresses “httpcfg delete iplisten -i 0.0.0.0
  3. Set IIS to listen on a specific address “httpcfg set iplisten -i 192.168.x.x
  4. Stop IIS “net stop http /y
  5. Start IIS “net start w3svc

Confirmation

Now to confirm what you’ve just done you can run “httpcfg query iplisten“.

Share bookmark

Aug 24 2007

Buzzzzzz on frameworks and libraries

Tag: AJAX, Javascript, PHP, Usability, Zend FrameworkGrant Perry @ 6:09 am

There’s a lot of buzz with Frameworks and Libraries these days, and rightly so, without them some projects I’ve worked on would still be under construction!!! Developing with frameworks and libraries will save you time in both development and testing.

The abundance of functionality some provide often mean you’ll end up with a better end product. Not all clients can afford the time and money required to have developers work from the ground up. With the benefits of useful frameworks/libraries your clients will get more than they wanted for less than you quoted (or you could keep the float).

I could go on for hours listing examples I’ve played with over the years, but some of my personal favourites are:

Zend Framework
http://framework.zend.com

The leading open-source PHP framework has a flexible architecture that lets you easily build modern web applications and web services.

Yahoo! User Interface Library (YUI)
http://developer.yahoo.com/yui/

a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX. The YUI Library also includes several core CSS resources.

jQuery
http://jquery.com/

jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.

I realise there is a great deal more I could and should be listing here… and probably some much better?! Please leave a comment I’ve love to here your favorites… and I’ll try include them in future posts!

Share bookmark

Aug 23 2007

3D boxes remnants of traditional shopping

Tag: MarketingGrant Perry @ 4:38 am

Are you selling electronic products online? Such as software, videos, music… People are use to buying physical products even still in this electronic age. Even when more and more people are turning to purchasing and downloading music and videos in electronic formats.

We get use to the way the world works, and once something set its stuck! A classic example of this (and the purpose to this post) is 3D Boxes of software purchased online… You know the ones! They were on the website you bought that last application from, you just didn’t realise at the time that you would never see the actually box in real life because you downloaded the software…

One such free product worth downloading, and designed for producing these is 3D Box Shot Maker.

Is it just me or does the phrase “box shot” sound funny? Particularly when taking this quote from their website out of context:

An impressive box shot will make your software outstanding, and easily defeat your competitors at the start.

Share bookmark

Aug 22 2007

Indescriptive links

Tag: Accessibility, Usability, WritingGrant Perry @ 4:52 am

Its very poor practice to use the text like “Click here” as links. Some browsers, particularly some for disabled users, provide a summary of links throughout a page. If this practice were to be adopted throughout a page, a list of links like this would be presented to the user:

  • Click here
  • Open this
  • Here
  • Download

Out of context none of these links make sense nor provide any indication of where they go!

When creating a link, first check that the words sufficiently describe where the user should expect to be taken. So avoid using phrases like “click here”, and in a lot of cases, linking just one word probably wouldn’t be descriptive enough either.

Other common indescriptive links used are “Document” “Publiction”, “Form”. When taken out of context you have no idea where this link goes, and you’re left with so many questions e.g. Which form? Which publication?

Usability studies have shown people quickly scan pages rather than reading them in full. Because links stand out, by linking the appropriate text rather then indescriptive phrases people are likely to find the information they are looking for a lot quicker. Otherwise they’ll give up a visit a website which is easier to navigate…

Share bookmark

Aug 21 2007

How should our clients email us?!?

Tag: Marketing, WritingGrant Perry @ 4:59 am

There are a few of options with how you can use email addresses as a prominent contact method on your website.  These are:

  1. You use one account for a service/business area to check and manage.
  2. You use multiple accounts for, one for each specific service/function.
  3. You can use personal email accounts.

Personal email accounts can easily be ruled out as being unsuitable for majority of situations. When an individual leaves a business unit or is on leave someone else needs receive their emails for specific functions/services. In situations like this it can be quite difficult to update material containing references to old email addresses, and advise people who they need to contact in the future.

The benefits of using generic email addresses are that you should never need to advise your clients of staffing changes and consequently new contact information. Additionally multiple people can usually access the same email generic email account to share the work load. And as new people come on board, and old ones leave, you can easily update who can access these accounts.

The benefits of generic addresses for each individual service are:

  • the address can usually be clearly labeled with its purpose eg. Sales could become sales@yourcompany.com
  • the address exists independently of the business area responsible for it. Because of this, organisational changes can be easily managed.  Transferring ownership is as simple as granting and revoking access to people checking the email account.

The benefits of using an email address for each a business area:

  • staff only need to log in and check the one email account on a daily basis, rather than several (for each service).
  • managing access to these emails only needs to be done on the one account, not several.

However there are draw backs to both of these solutions which need to be assessed before deciding which path to follow.

Ultimately a well thought out combination of these two options would be recommended. In majority of situations, larger services would be best suited to having their own account. They are more likely to be widely advertised and used, and because they are not tied to a specific business area, organisational changes can be easily handled. Smaller services however would be more suited to sharing a generic business area email address. This is more efficient by avoiding checking say 10 accounts daily only to find 1 email.

Generic accounts receiving only small amounts of emails are also more likely to be forgotten about! Particularly with the turn over of staff… And repeatedly unanswered emails won’t look good for you! So cautiously plan the use of generic emails limiting the number required whenever appropriate!

Share bookmark

Aug 20 2007

Linking outside…

Tag: WritingGrant Perry @ 4:59 am

There is no legal requirement for any website to obtain permission to link to another.

There have however been a number of court cases surround hyper linking on the internet. Particularly surrounding the practice of ‘deep linking’ (linking to a page on a site deeper than its homepage). Although it has been very rare that court found in favour of the plaintiff.

There are some legal issues relevant to linking which we should each consider before creating a link. These include:

  • intellectual property
  • misrepresentation
  • misleading or deceptive conduct under trade practice
  • defamation
  • endorsement or commercial advantage
  • results in commercial loss
  • circumventing acceptance of terms and conditions

Some companies may have internal policies requiring they request permission before linking. But the effort involved in this would quickly add up! I think that familiarity with potential issues, using common sense, and assessing any potential risks is adequate.

Please note: The above is only my personal opinion and understanding and does not constitute for legal advice. I’d recommend consulting with a lawyer in your jurisdiction for more accurate and better informed information.

Share bookmark



Close
E-mail It