One of the most common requests made by users when they see data displayed on
a Web page is that they want to be able to view the information sorted by
columns. Working with a database makes this request fairly simple; working
with arrays is, or at least was, a problem.
Why use an array? No ColdFusion programmer would volunteer to do such a crazy
thing. In a recent project, where our team was pulling loan information
resultsets from a mainframe repository, I did just that. The loan information
was being stored in a data structure that contained multidimensional arrays
created with WDDX calls to the mainframe. We always want to keep the users
happy, so the Internet was searched, several routines for sorting
multidimensional arrays were found and tested, and the users were... (more)
From the first day the Internet was conceived, its primary goal was to allow
people to access information stored on remote computers. Over the last couple
of years, the technology of Web services has evolved not only to enhance
accessing this information, but to share it as well.
Web services are in action everywhere. When you see 20-minute delayed stock
quotes on a Web site, or you tra... (more)
In my last article we looked at how to sort multidimensional arrays by
creating a second single-dimensional array that is used as a key. The focus
of this article is how to sort multidimensional arrays by creating a query
object that can be sorted in the same way you would an ordered result set
from a database. In truth, this article will demonstrate two methods: one for
ColdFusion 5.0 a... (more)
From the first day the Internet was conceived, its primary goal was to allow
people to access information stored on remote computers. Over the last couple
of years, the technology of Web services has evolved not only to enhance
accessing this information, but to share it as well.
Web services are in action everywhere. When you see 20-minute delayed stock
quotes on a Web site, or you trac... (more)
In Part 1 of this two-part article (MXDJ, Vol. 2, issue 3) I showed how to
invoke a Web service for the purpose of validating user input. Part 2 will
delve a little deeper into the ColdFusion MX language structure specifically
designed to handle XML result sets such as those returned from a Web service.
The goal is to consume a Web service that will return headline news articles
for a us... (more)