Wednesday, October 26, 2011

Sniffers, A Project Managers Hip Pocket Tool


As project managers working in IT, having a grasp of simple activities and practices goes a long way in understanding the complexity behind many projects and how things are inter-related. Sniffers are one of those simple little things that can have a major impact on a project as they provide a wide breadth of information about a web application's users and environment. This information can be useful across a breadth activities within an organization.

Let us look at the use of sniffers when writing mobile code. Sniffers sense the environmental conditions. Information collected should be used to properly route the web application to code that accounts for the environmental conditions. Sometimes that means simply adapting dynamically to the qualities like screen width. At other times, code has to account for browser differences. For example, some browsers and versions support features like Geolocation and other do not.

I have scripted a sniffer to detect the current environmental conditions as Blogger would permit, Table 1. The Blogger web application does not allow full featured clientside javascript and removes or blocks some code statements. In the sniffer code, logic detects the environmental conditions in Internet Explorer, Safari, Chrome, Opera, and Firefox routing the results to the tabular output. Geolocation is tricky and does not execute is all browser versions and may not post results or error results in some browsers and versions. Please try reviewing this post in multiple browsers and platforms (iPad, iPod, PC, MacBooks).

SNIFFER RESULTS
Device
Screen Resolution
Client Resolution
Java Enabled
Cookies Enabled
Colors
GEOLOCATION
Table 1: Sniffer Results

Embedding sniffer code into web applications and storing the results in a database can yield valuable histories. Project managers planning and coordinating projects, whether writing a web application or conducting some other IT related project, must be able to have an understanding of the environmental situation. Almost always there are anomalies. The use of sniffers can provide valuable information back to the project manager before issues arise.

Sniffers are one of the hip pocket tools that can provide important information. Installing and tracking sniffer data over time can show progress, effects, and flush out the anomalies before they become problems.

1 comment:

  1. Love it! I look and source code and its a straight forward. I also noted you formatted for the posting. In real life you may want to just get the UserAgent string and store that since it has all the data in it. You can parse that later.

    ReplyDelete