Shaun Mccran

My digital playground

30
J
U
L
2009

Displaying raw html onscreen using the Example html tag

Ever needed to display an example block of HTML code in a web based document or regular web page?

I had just that requirement recently, so thought I'd have a dig around. It is one of the smallest html tags I've found, it is the example tag.

view plain print about
1<xmp> html code</xmp>

It works very much like the 'pre' tag in the way that it displays whatever it contains without any sort of formatting, in its raw state. Except that this also display html, rather than interpreting it, it displays it exactly as is.

Nothing revolutionary, but a nice surprise and handy for code samples etc.

28
J
U
L
2009

An exploration of automated stress testing tools

Recently I was looking at the scalability of a web platform, and had to perform some stress analysis on it to evaluate whether or not it would accommodate the potential user base for a new application.

The idea was to pose the question:

"N percentage of web pages should load in X seconds, with no more than Z percent errors."

[ More ]

28
J
U
L
2009

Finding the system file storage in AIR

When progamming an AIR application, you may want to make use of the applicationStorageDirectory available via the flash.filesystem package to store temporary files/folders. You can find where your system is storing these files by doing something like the following:

view plain print about
1var f:File = File.applicationStorageDirectory.resolvePath("Test.txt");
2trace(f.nativePath + ' is where my file is stored');

This will give you an absolute path to the local system file storage location. Handy for multi platform applications, as Pc and MAC based systems will use different default storage directories.

13
J
U
L
2009

Coldfusion 9 to integrate with Microsoft office, Open Office and SharePoint

Adobe keeps 'leaking' sneaky bits of information about the next platform release for Coldfusion Server, Version 9.

The latest release info is that it will be out of the box compatible with both Microsoft Office, and Open Office. This means that you will be able to read, write and create office documents from a coldfusion application.

Hand in hand with this is the new ability to talk directly to office documents is a new API for interfacing directly into SharePoint server, and update data directly. This is an interesting development for the ColdFusion community, as there really isn't any bespoke .Net functionality left that CF can't handle after this.

_UNKNOWNTRANSLATION_ /