Web Design Blog - December 2010

User Agent Strings

A "User Agent String" is a little snippet of info that your browser sends along with it's requests to servers. This snippet tells the server what browser and version you are using. A few example of user agent strings: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30618; MS-RTC LM 8) Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 Mozilla/5.0 (Macintosh; U; Intel Mac... read more!

Posted in internet | Post Comment

Lose the brackets

For short conditional logic, you don't need the brackets! For a simple succinct if statement, you can lose the brackets. For example, you may have a variable that needs to be set to another value when empty. This is a pretty simple if statement:   if ( empty($var) ) { $var = 'another value'; }   However, all these extra brackets can unnecessarily bulk up your code. You can simplify that if statement to   if ( empty($var) ) $var = 'ano... read more!

Posted in php | Post Comment | 2

The Effectiveness of Daily Deals

It is amazing how quickly a good idea can catch on on the internet. One recent example that comes to mind is the daily deal website. Sites like Woot, Groupon and Living Social are some of the forefathers of this movement. Each of these examples have a variation of the daily deal, but in essence they are all the same. An Item or service is posted daily and users have the opportunity to purchase the item at a deeply discounted price. How effective is this sales technique. Apparently it is working... read more!

Posted in Advertising/Marketing, ecommerce, internet, Miscellaneous, viral, Web Marketing, web projects | Post Comment

Windows 7 Sound Annoyances - open folder and logon logoff

This is a short post on my new Windows 7 Operating System Sounds. I just got a new PC and I'll admit I do like the new version of Windows compared to Vista and of course the old dreaded XP. The problem is - there are some annoying sounds. Instead of just turning off my desktop theme altogether - I wanted to turn off a couple of sounds that are annoying and frankly don't sound right for the action taking place. They are: open folder sound Logon windows sound logoff windows sound I didn... read more!

Posted in Microsoft Windows, tutorials, vista | Post Comment


View All Posts
web design corner image