Articles tagged Simon Whatley

Parsing Twitter Usernames, Hashtags and URLs with JavaScript
As part of an AIR project that I have been working on with my good friend Rob, we came across the need to parse a number of URLs within the text of a Twitter post. This may not sound too easy at first, but thanks to the prototype property available on JavaScript objects, our task was a relatively simple one. Read more – ‘Parsing Twitter Usernames, Hashtags and URLs with JavaScript’.
Implicit Structures in ColdFusion 8
In an earlier post I eluded to the implicit creation of arrays in ColdFusion 8. Well, the same can be said of structures. A structure, also known as an associative array, is a complex data type composed of a collection of keys and a collection of values, where each key is associated with one value (a key-value pair). The operation of finding the value associated with a key is called a lookup or indexing, and this is the most important operation supported by a structure. The relationship between a key and its value is sometimes called a mapping or binding. For example, if the value associated with the key "Age" is 29 and "City" is "London", we say that our structure maps "Age" to 29 and "City" to "London". Read more – ‘Implicit Structures in ColdFusion 8’.