• Home

CodingExperiments.com

CodingExperiments.com is a site where I can (obviously) experiment with various demonstrations of code.

Search

Category:

  • AJAX
  • Announcement
  • Apple-related
  • Best Practices
  • Blogger
  • Blogging
  • BurstCMS
  • Content Management System
  • Debugging
  • Experiments
  • FriendFeed
  • Gaming
  • General Code
  • Internet
  • Javascript
  • Linux
  • Microsoft
  • Microsoft Windows
  • Networks
  • Open Source
  • PHP
  • Programming Tips
  • Rant
  • Security
  • Storage
  • Twitter
  • Ubuntu
  • Uncategorized
  • Web Development
  • Windows Vista
  • WordPress

Archives:

  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007

Pages

  • About
    • The Authors
  • Commenting your code
  • How to Write Papers with Groff
  • ModCMS Anti-Spam Component Set
  • ModCMS Technical Specifications
  • Regular Expressions Guessing Game
  • Saving code directly to a web server
  • The (Almost) Perfect PHP 404 Page

Meta:

  • RSS
  • Comments RSS

Awesomeness tracker

CodingExperiments at Blogged View blog authority
Free Page Rank Tool

User Interaction vs. Critical Application Functions

March 31st, 2008 by Voyagerfan5761

A problem I encountered while doing my homework last night (more details) led me to think about an important feature in software design. That feature is insulation.

No, that doesn’t make much sense. I’m not entirely sure there’s an “official” term for this concept, so I made one up. Hope nobody minds; I’m open to corrections in the comments, of course.

Anyway, the sort of problem I’m hoping to bring to the attention of developers occurs when a user’s action interrupts a critical function in the application they’re using. Whether it’s a website or a desktop program, the result is the same. The application will fail to complete what it was doing and cause a potentially irreparable failure.

The situation that happened to me last night involved a JavaScript click handler (that’s speculation; read the detailed post for more info) interrupting the load of a page within the Blackboard Learning System test-taking environment. The subsequent problems got me locked out of a test, because the buttons to save/submit the assessment hadn’t loaded. My click (a user interaction) interrupted a function critical to the application (loading the page).

So here’s my point — I’ll make it short and sweet. Make sure the users of your application can’t mess up its behavior through expected actions. (Ideally they won’t be able to mess it up even through deliberate action, but let’s take this in baby steps. ;-) ) They’ll definitely thank you for building a resilient application. Who’d think that opening a menu or section of additional information would stop the entire page (or data in a desktop app) from loading? Probably not most people. Keep that in mind when designing your applications.

Posted in Uncategorized | Comments

Easy AJAX Part 2: Real, but Simple

March 28th, 2008 by possible248

I’ve finally put up an example of actual AJAX, where an HTTP request is made after the main page has finished loading. You can see it in action, or just view the source.

The previous post in this series was not true AJAX, but if you want to see it, you can find it here.

Posted in Uncategorized | Comments

Play the Contents of an iPod Or Camcorder Directly on Windows Media Center

March 28th, 2008 by possible248

I’ve always wanted to control the video on my computer with a remote control. The computer that I received in December had Windows Vista Media Center and the remote. I’ve never been able to get LIRC working properly, so I’m stuck with Windows Vista for my remote-control-related fun.

The result is that I’ve figured out how to play an iPod or camcorder in Windows Media Center, in order to control it with the remote.

You can see the full tutorial here. Beware as it has 23 images. Not for dialup.

Posted in Uncategorized | Comments

« Previous Entries

 
Wordpress Themes by and Website Templates by Blogcut Blogged Blog Directory Blog Directory - Blogged