Previous Issue Current Issue Main page Next Issue
Fusion Authority Fusion Authority
The House of Fusion Technical Magazine
Issue: 117

November 21, 2002
December 13, 2002
This is an opt-in magazine. To join, leave or change subscription mode, please visit the signup page. All content of this magazine is copyright Fusion Authority, Inc. It may not be reproduced without permission.

Specials
SPECIAL REPORT: SAMCFUG Flashcom Broadcast, November 21, 2002
 
Community
EasyCFM Tutorial Contest
 
News
Macromedia Contribute Now Available
Macromedia Releases Director MX
Macromedia Announces Director MX for Mac OS X
Fast Search Engine the first to Allow Searching of Flash Web Applications
Yahoo Adopts Macromedia Streaming Video Solution
 
Tech and Tags
What's New in the Tag Gallery?
What's New at CFLib.org?
 
Reviews
Application Servers - Flash Communication Server MX
Collaboration Made Flexible
Review -- Macromedia Contribute
 
Best of ColdFusion Talk
Best of Talk (10/28/02)
Best of Talk (10/29/02)
Best of Talk (10/31/02)
Best of Talk (11/01/02)
Best of Talk (Weekend, 11/02/02 - 11/03/02)
 

Specials

SPECIAL REPORT: SAMCFUG Flashcom Broadcast, November 21, 2002

By Doug White, SAMCFUG
with Michael and Judith Dinowitz, NYCFUG

In order to expand its membership (virtually), the San Antonio Macromedia and ColdFusion User Group conducted a broadcast of its November meeting through the Flash Communications Server. The topic of the meeting was a overview of Contribute, the new desktop application that was just announced by Macromedia. This was the second CFUG Flashcom broadcast conducted in the space of a month (see our writeup of the broadcast by NYCFUG). The cumulative knowledge of the two broadcasts provided a number of good ideas on how to best serve the viewers of Flashcom broadcasts with a quality experience. We hope that this article, together with the previous one, will help other CFUGs conduct their own Flashcom broadcasts successfully.

There were 28 people physically attending the meeting, with another 20 or so virtually. The attendees at the meeting were very positive about Flashcom as a technology and very enthusiastic. To break the ice, the CFUG managers had some of the participants introduce themselves to those watching over Flashcom. The introductions got everyone in a light-hearted mood, which really helped the atmosphere of the meeting in general.

There were some minor technical issues with the broadcast, which no one seemed too bothered by, and there was an unexpected high level of excitement about the product. Three of the more experienced Flash folks at SAMCFUG were interested enough to want to get other components working in order to provide more features for future meetings.

The Broadcast: Technical Issues

The equipment used for the presentation was a Dell Latitude 8000 Laptop, 1.8 GHz and 512 MB RAM with a maestro sound system, running Windows 2000 Server. The browser used was IE 6 with all the latest updates. The camera was a Logitech Quickcam Traveler connected via the USB port on the laptop ($69.95 at Circuit City). The connectivity was a T-3 connection to the Internet backbone, through the College's network. The microphone and speakers were the ones built into the laptop; external versions would have helped a lot.

One of the issues that we found was a problem with excess noise. The microphone was near the computer and all the sounds of the computer, such as hard drive clicks and the fan movement, could be heard. About 2/3 of the way through the meeting, one of the attendees found his wired microphone (a real cheapo at that) and we were able to extend the mike about 6 feet away from the speakers. That instantly stopped the excess noise problem.

An additional problem, solved by the external mike, was the issue of echo and feedback. This comes up when other people are broadcasting as well, and their speakers and microphone are close together. The sound from one microphone comes out of another person's speakers. Because that second person's microphone is close to his speakers, it picks up the sound and rebroadcasts it. The original person gets that sound out of his speakers, which then, again, goes into his microphone. Due to amplification, this circuit of sound gets louder and louder, and eventually turns into a piercing scream. There is a setting on the Flashcom client to mute some of this echo and avoid some of the feedback, but it is not 100% effective. Having the speakers and the microphone a distance apart avoids much of this problem.

The meeting facility was equipped with two outlets for CAT-5 cable connections, and the plan was to use one laptop for the Flashcom operation and the other for the Contribute Demo. However, the CFUG managers discovered that one of the Cat-5 outlets was dead, and they tried to do the Contribute presentation on the Dell laptop by opening a second instance of Internet Explorer. This worked great on their end for the physical audience. However, the audience on the Flashcom saw only a bright white screen (one person described it as "watching a TV in the window of an electronics store from across the street." At SAMCFUG's January meeting, they are planning to include a small network hub, which will allow more than one computer and camera to be hooked up. One can be panning the audience and the other can be dedicated to the speaker, who will have a lapel (wired) microphone.

Another technical glitch was the configuration of the camera, in that the auto white balance had not been turned on, thus giving very dark images, even though the room was well-lit. The camera is capable of producing a much better picture than was seen during the broadcast. The video and audio received from Michael Dinowitz and others that were logged in could not have been better, and the presentation suffered no reported choppiness, either with video or audio.

There are two things that people forget to do when they log on that can make all of the difference. The first is to choose their bandwidth setting in the Flashcom application. The default setting is modem, but DSL is probably the best option if you have the bandwidth.

The second thing people forget is to select the settings they're broadcasting with. When broadcasting, you should right click on the movie box, go to settings and the microphone icon. There you should check the option for reduced echo. This will not completely kill the echo, but it will greatly reduce it.

Suggestions that were heard at the meeting:

For the future, there needs to be more intuitive audio control by the broadcaster, and of course, many are asking "When will this be available for the Solaris/Unix/Linux platform?" This question is because most web servers in SAMCFUG's area (San Antonio, Texas) are not on Windows.

Flashcom, the Community Builder

Doug has already been asked to do another demo for the Distance Learning and English Department faculties of the Alamo Community College District, as well as the faculty of the University of Texas at San Antonio. The representatives of several potential commercial users seem to be reserving comment until they can see a little more.

But beyond the educational and business potential, Flashcom has shown itself to have many applications in the field of community building, and in the production and sharing of content over the Internet. There was a lively chat going on among the Flashcom audience during the presentation. At certain points, Michael and Judith had their children present. Now everyone wants to know how Michael and Judith managed to have such beautiful kids! This helped bring more of a community aspect out during a technical lecture, as people were able to see others (in this case the Dinowitz's) in their "normal" setting.

All of SAMCFUG wishes to express their gratitude to Jochem Van Dieten, Michael Dinowitz, Judith Dinowitz, and the many others who logged in and patiently sat through all the glitches and enjoyed the presentation. Both SAMCFUG and NYCFUG are doing additional Flashcom broadcasts in the next two months. NYCFUG will be broadcasting on December 10, 2002, and SAMCFUG will be broadcasting on January 16, 2003. Please visit our respective websites (http://www.samcfug.org and http://www.nycfug.org) for more information. We hope to see you again, on the Flashcom or at the meetings themselves!

[Top]


Community

EasyCFM Tutorial Contest

EasyCFM.Com is currently running ColdFusion tutorial sweepstakes!

Visitors can post a ColdFusion tutorial that they've authored and be eligible to win $200.00.

The winner will be selected by EasyCFM.Com visitors by voting for the best ColdFusion tutorial from December 25th, 2002 until January 10th, 2003.

The winning author will receive $200.00 via check, money order or PayPal [Author's Choice] in January of 2003.

To enter the sweepstakes, submit your ColdFusion tutorial at the following URL:

http://www.easycfm.com/addtutorial/

[Top]


News

Macromedia Contribute Now Available

December 3 -- Macromedia announced the immediate availability of Contribute, their new desktop application that enables anyone to easily update, add, and publish web content to existing websites without needing to learn HTML. In only three weeks since it was first announced, the technology preview of Macromedia Contribute was downloaded by tens of thousands of web professionals and non-technical business users. Macromedia Contribute is available today for Windows at an introductory price of $99 from the Macromedia Online Store at www.macromedia.com/go/buycontribute/.

Macromedia Contribute Now Available

[Top]

Macromedia Releases Director MX

November 25, 2002 -- Macromedia announced Macromedia Director MX, a multimedia authoring environment for building high-end, rich, interactive content and applications deployed on CD/DVD-ROM, kiosks, and the web via Macromedia Shockwave Player. Macromedia Director has led the industry for more than 14 years and, with this major new version, Macromedia is delivering an authoring tool that incorporates a range of new capabilities to meet the evolving needs of today’s multimedia developer while retaining all the power of its core features.

For more information, see the article below.

Macromedia Introduces Director MX

[Top]

Macromedia Announces Director MX for Mac OS X

November 25, 2002—Macromedia announced Director MX for Mac OS X. Expected to ship in December, Director MX is the most powerful multimedia authoring environment for building high-end, rich, interactive content and applications deployed on CD/DVD-ROM, kiosks, and the web via Macromedia Shockwave Player. This is the first version of Director for Apple's operating system and it takes full advantage of Mac OS X's power and stability.

For more information, see http://www.macromedia.com/macromedia/proom/pr/2002/director_mx_osx.html.

[Top]

Fast Search Engine the first to Allow Searching of Flash Web Applications

Just found out that Fast Search & Transfer™ (FAST), which runs the showcase site AlltheWeb.com™ (www.alltheweb.com), allows for searching of Macromedia Flash™ content and applications on both its site and by its worldwide portal partners who utilize FAST Web Search™ index to provide search results to over 100 million users per month. Another search engine site to check out.

The second article here, on Pandia.com, notes that Atomz has also added Flash file searchiing to its repertoire. Is this the beginning of a trend? We can only hope.

FAST Unveils Macromedia Flash Searching Capability on Alltheweb and to its Portal Customers (Fast, September 12, 2002)

AlltheWeb Includes Macromedia Flash Files in Search Engine Index (Pandia.com)

FastSearch Website

Alltheweb.com Search Engine

[Top]

Yahoo Adopts Macromedia Streaming Video Solution

Yahoo has integrated Macromedia Flash Communications Server into its SBC Yahoo DSL service "to deliver streaming video news and movie trailers on-demand." A nice use of Flashcom.

Yahoo Adopts Macromedia Streaming Video Solution (ITWeb, November 27, 2002)

[Top]


Tech and Tags

What's New in the Tag Gallery?

CF Address Book
This is a free address book. Keep track of your contacts with this little application. Includes the ability to add a note for each contact. Just unzip the archive and create a datasource name called 'cflab' that points to the included MS Access database.
 
CF_ImageMachine v1.0
Call your images through TrueSpectra Image Server by having this Custom Tag create a thumbnail and a larger image from files you put in any directory. Set image features such as size, dropshadow, zoom, text over and others without any coding.
 
!FOUNDATION CODE for business website
This web application makes it easier for you to implement a scalable, updatable website for your clients very easily and professionally. COMPLETELY OPEN SOURCE CF CODE !! I am selling the code for an entire website with everything included, as well as an admin section in which you can give your users access to and they can update their own site.
 
CF_PowerTOOLS #1
CFPowerTOOL-PAK contains several of the most popular CFPowerTOOLS from SmartSurf Technologies at a greatly discounted CFPowerTOOL-PAK price.
 
CF_password
This simple tag will generate a random password of a specified length. The password will not conatin any duplicate characters.
 
DonOmite Membership Module
Use this module to have a "members' only" area of your website. You control what information is collected when the visitor signs up as a member. You can add fields, change the order they are displayed, and change if they are req'd or optional. All this is done by just adding a few CF tags to your own template pages.
 
zTrackPro 1.0
A complete project task/issue tracking system with built in security and user access control, reporting etc. Take the live demo for great look and feel and user customization. Designed for Access/SQL 7.0 database which are delivered with the product. Source code included.
 
CF_StoreHours
This tag will allow you to receive a value of open or closed depending on the hours of the store. Very easy to use.
 
CF_ImageMachine
This Custom Tag MUST be used with TrueSpectra... It will take ALL pictures in a directory and stick them on your page as clickable thumbnails. By clicking the thumbnail you can opt to see the image in a zoomable flash module, a standard image, or even an image with text overlay. Many variables can be set.
 
SentraCommerce 2 for ColdFusion MX
SentraCommerce is an e-commerce server. It is built to reduce your development time when building a commerce site for clients. A single SentraCommerce installation can serve hundreds of e-commerce site. System requirements: MS Windows 2000, Macromedia ColdFusion MX, MS SQL Server 7/2000.
 
AHP Shopping Cart
A shopping cart solution made to help those without a money tree to get into the e-commerce market. $500 gets you the complete open source code to use as many times on 1 server as you like. A demo is available of version 4.1 for download here. If you are looking for an E-commerce solution this is a great way to go. Works great just as is but is also a great starting block for those of you looking to customize and build on to it for your own needs.
 
cfx_freezip V 0.8
need a free ZIP extension for CF? Get cfx_freezip.

 
eChat Real-Time Chatting Application
FusionSoft eChat is your complete online real-time chatting solution built with ColdFusion technology! eChat is a simple and easy to use chatting software solution. eChat offers many useful features to our user, such as invisible mode and changeable statuses. eChat offers an infinite amount of chatting rooms depending upon how the software is set-up. eChat comes with a complete back-end adminstration console to add admin. user, statuses, chatrooms, and to kill user sessions. Comes complete with a MS SQL Server and MS Access Database. An encrypted and unencrypted version are both available depending upon your needs.
 
CF_Shape
Need to create images from your data? Dont need to know XML to create .svg files easy on the fly from your data. Simple use and customization of graphic tools and options. View the online demo for more details. Easily create cross platform and cross browser XML based images. View images in Image tools that support the .svg format.
 
CF_Flashlogin
Is a customizeable flash login form. With fading in and out text boxes when the text boxes have focus.
 
DonOmite Membership Module
This is an "all in one" membership system. It allows visitors to join your website, edit their information, and remove themselves. The big difference with this one is that the administrator can change what information is collected during sign up. You can add fields, change the order they are displayed in, change if they are required or optional.
 
$$$ ON THE NET(tm) (dated 9/5/2002)
cf_Shift4OTN -- Custom tag to ease the process of integrating Shift4's $$$ ON THE NET(tm) functionality into ColdFusion applications. Shift4's $$$ ON THE NET leverages the powerful transaction processing platform of $$$ IN THE BANK(tm) to provide a real-time e-payment authorization gateway to businesses across the globe. This powerful solution is further enhanced by a browser-based transaction management application, which allows merchants to audit their transaction batches prior to settlement, run reports and access archived batches for charge back defense - all via the internet using only a web browser. $$$ ON THE NET by Shift4 is truly empowering e-business with real-business payment technology.
 
CSV2Query
Converts a CSV (comma delimited file) to a query that can be manipulated and easily managed.
 
CFX_FileReadLn
CFX_FileReadLn was built to overcome the problems related to CFFILE when reading text files. As stated in the Cold Fusion Documentation, CFFILE has the following pitfalls: It reads the entire file into a single CF variable and it may crash the CF Server when reading very huge files. CFX_FileReadLn reads any textual files line-by-line and puts lines into a CF query object. It works with files of any size without performance or stability problems. It is also is incredibly fast: less than 45 milliseconds to process a 1 Mb. file (22.2 MBytes/sec.)
 
Simple In/Out Board
The Simple In/Out Board is a web-based version of the classic magnetic wall-mounted in/out board to keep track of staff comings and goings. It can handle multiple departments/groups with any number of users. Users can quickly update their in/out status.
 
Navigation Manager MX
Control a complete dhtml menu via a Flash movie. All the CF code has been rewritten to be CFMX compatible.
 
Hourly Timekeeping System (HoTS)
HoTS is a complete web-based timesheet application and intranet portal. It allows employees to update their timesheets, access project information and interact with other users and clients from anywhere using a web browser. Supervisors can easily access time and project data to create customized reports for easy billing.
 
RAK_CommaValue V2.0
CF_RAK_CommaValueV2 is a custom tag that allows a user to extract values from a comma-delimited string by simply defining its position. The delimiter can also be customized to be a character other then a comma. Functionality is nearly identical to listgetat. However, this tag can also handle null values!
 
CF_Calculate
This tag creates a Calculator popUp and creates a form input field associated. Browser Support: Works on IE 5.5+ and Netscape 6+; Requires DHTML and JavaScript; this tag can be installed in the CustomTags folder. To Enable any page(s) to use the CF_Calculate tag, use this AT THE BOTTOM - best location is before the </body> tag on the same page, or if Fusebox method is used, place this in the root- main index.cfm page(bottom), to be used by all pages.
 
CFX_LiveCAB
CFX_LiveCAB gives you the power to work with CAB files in a very flexible way, directly from within your ColdFusion scripts. It supports archiving, extraction and listing of archive contents. Can use both LZX and MSZIP compression methods.
 
Simple E-mail Application
A simple email Application. Easy to modify.
 
ProWorkflow - Job Manager
ProWorkflow: The online job management solution for creative professionals! ProWorkflow is a job book, task and time management solution. The basic idea is that ProWorkflow would make administration of job processes much more simple.
 
Resume Center
Resume Center is a service that allows job seekers to create resumes, write cover letters and search and apply for jobs. Employers can create profiles, add jobs and search for candidates.
 
ColdBookmarks (Version 1.11)
ColdBookmarks is a ColdFusion application for storing bookmarks (or favourites) in a database for searching. The advantage in using ColdBookmarks is that your bookmarks are available at anytime from any browser with Internet access. It was developed using the Fusebox methodology and has been tested under CFMX but should work under CF5 also.
 
DataForm V3.5
This DataForm tag works by creating a definition of your database, and dynamically generating a form based on that definition. Of course there are endless possibilities you can take advantage of, such as Upload Fields, Radio Groups, Select Fields, and now even Rich Text Fields! All of these features, plus more are included with the DataForm tag and are dynamically handled by the included Form Handler. This means no more tedious form building in HTML, and no more mind-numbing SQL statements for each form! Simply tell DataForm what table to look at and a few required attributes later you have a fully functional form.
 
CF_Little Address Book
This is a free address book. Keep track of your contacts with this little application. Includes the ability to add a note for each contact. Just unzip the archive and create a datasource name called 'cflab' that points to the included MS Access database.
 
cf_SimplePassword
This tag is designed to give very simple "password only" security to the calling page. This tag should not be used for highly sensitive data. You must have session variables enabled to use it. The tag should be placed in the top very of the calling page that requires security. Due to the use of session variables, you will only have to submit a password once to access any of the pages with this tag at the top, as long as the session remains active.
 
DirScan
The DirScan Custom Tag is designed to return the size (in bytes) of any directory you give to it. This includes the size of all files and folders underneith the directory you give it. The size of the directory tree is returned in a cookie.
 
DocuTrak Center
DocuTrak CenterT allows you to successfully manage the flow of electronic information such as documents, forms, images, faxes, and data. By managing valuable information in a structured environment, you can improve productivity and customer service, while decreasing costs.
 
CF_XEditor
Online HTML Editor

[Top]

What's New at CFLib.org?

This is what's new at CFLib.org, from September 2 through November 25, 2002. All UDF's are assumed to be in CF5 syntax unless otherwise noted.
CssCompactFormat
Replaces all unnecessary characters from a section of CSS code.
 
HtmlCompressFormat
Replaces a huge amount of unnecessary whitespace from your HTML code.
 
AgeSinceDOB
Given the date of birth, returns age.
 
Convert2Number
Converts any numeric string (even ones with currency symbols to a number).
 
FileCanRead
Checks if a file can be read. (Version: CFMX)
 
FileCanWrite
Checks to see if a file can be written to. (Version: CFMX)
 
FileIsHidden
Returns if a file is hidden or not. (Version: CFMX)
 
FileLastModified
Returns the date the file was last modified. (Version: CFMX)
 
FileSetReadOnly
Makes a file ReadOnly. (Version: CFMX)
 
Get
Examine the contents of a BINARY file. (Version: CFMX)
 
GetDSNs
Gets a list of DSNs. (Version: CFMX)
 
GetPercentile
Function which gets the value corresponding to a certain percentile from a list of numeric values.
 
IsListInList
Checks whether all elements of list X are found in list Y.(Version: CFMX)
 
PhoneFormat
Allows you to specify the mask you want added to your phone number.
 
QueryToXML
Generates an XMLDoc object from a basic CF Query. (Version: CFMX)
 
RandString
Returns a random string of the specified length of either alpha, numeric or mixed-alpha-numeric characters.
 
XMLUnFormat
UN-escapes the five forbidden characters in XML data.
 
BRCurrencyFormat
Works like the built-in function lsCurrencyFormat, but does it right for Brazilian Currency (R$ - Real). (Version: CFMX)
 
DayAsString
Returns a string for a day value.
 
DownLoadTime56k
Returns estimated download time for a 56k modem given the file size.
 
MDYAsString
Returns a date in long text format.
 
StripAnchors
A function that will strip out all anchors in text that has been passed as an argument.
 
VerityClean
Creates a verity "safe" search string.
 
YearAsString
Returns a string value for a numeric year.
 
Include
Mimics the CFINCLUDE tag. (Version: CFMX)
 
Abort
Mimics the CFABORT tag. (Version: CFMX)
 
CFChartDateFormat
Formats a date/time value for use on the y-axis in CFCHART.
 
DirectoryCreate
Mimics the CFDIRECTORY, action="create" command. (Version: CFMX)
 
DirectoryDelete
Mimics the CFDIRECTORY tag, action="delete" command. (Version: CFMX)
 
DirectoryList
Mimics the CFDIRECTORY, action="list" command. (Version: CFMX)
 
DirectoryRename
Mimics the CFDIRECTORY, action="rename" command. (Version: CFMX)
 
Dump
Mimics the CFDUMP tag. (Version: CFMX)
 
Execute
Mimics the CFEXECUTE tag. (Version: CFMX)
 
FileAppend
Mimics the CFFILE, action="append" command. (Version: CFMX)
 
FileCopy
Mimics the CFFILE, action="copy" command. (Version: CFMX)
 
FileDelete
Mimics the CFFILE, action="delete" command. (Version: CFMX)
 
FileInfo
Returns information about a file. (Version: CFMX)
 
FileMove
Mimics the CFFILE, action="move" command. (Version: CFMX)
 
FileNamesLowerCase
Makes all files in a directory lower case. (Version: CFMX)
 
FileWrite
Mimics the CFFILE, action="write" command. (Version: CFMX)
 
HTMLHead
Mimics the CFHTMLHEAD tag.(Version: CFMX)
 
IsCFC
Returns a boolean for whether a CF variable is a CFC instance. (Version: CFMX)
 
IsScheduledTask
Returns true if the specified task name exists as a scheduled task in the CF Administrator. (Version: CFMX)
 
Location
Mimics the CFLOCATION tag. (Version: CFMX)
 
QueryGetSQL
Returns the SQL statement used to generate the specified query. (Version: CFMX)
 
QuerySort
Sorts a query using Query of Query. (Version: CFMX)
 
Throw
Mimics the CFTHROW tag. (Version: CFMX)
 
WDDXDeserialize
Allows for deserialization of WDDX data. (Version: CFMX)
 
WDDXFileRead
Reads a file containing WDDX and returns the CF variable. (Version: CFMX)
 
WDDXFileWrite
Write a flat file containing a WDDX packet of any CF variable. (Version: CFMX)
 
WDDXSerialize
Allows for serialization to WDDX. (Version: CFMX)
 
WriteFileAndDirectories
Automatically creates any missing directories before writing to the specified file. (Version: CFMX)
 
ZipFileNew
Create a zip file of a directory or just a file. (Version: CFMX)
 
ActivateURL
This function takes URLs in a text string and turns them into links.
 
ArraySort2D
Sorts a two dimensional array by the specified column in the second dimension.
 
Byline
Generates a byline from a list of names.
 
CountDown
Counts down to a date.
 
FileReadCom
Reads a text file, and returns content as a string.
 
GetLoadTime
Measures the elapsed time (load time) from when the single function was first called to the time it was last called.
 
ListDiffDup
Compares two lists and returns the elements that are unique for each list.
 
ListNext
Given the current list item, returns the next item within a list of unique values.
 
NextN
Enables next 'n' browsing of a record set.
 
QueryDeDupe
Removes duplicate rows from a query based on a key column.
 
URLDecrypt
Add security by encrypting and decrypting URL variables. See URLEncrypt.
 
URLEncrypt
Add security by encrypting and decrypting URL variables.
 
DaysTilChristmas
Returns an integer of the days left before Christmas.
 
GetContainer
Gets the next text container (placeholder, tag, etc.) from a string as designated by starting and ending identifiers.
 
GetEnv
Returns environment information. (Windows only!)(Version: CFMX)
 
GetRootPath
Determines the root path of the application without hard-coding.
 
IsMSSQLGUID
Returns true if the string is a MS SQL GUID.
 
OrderListByList
Reorders a list to the order of another, placing elements from the complete list not found in the second at the end of the reordered list.
 
StructToXML
Converts a simple structure to a valid XML document.
 
SymRound
Symmetrically rounds any number to a specific decimal point, preventing a common "rounding bias" from skewing results.
 
HighlightFromTo
Applies a simple highlight from and to a given position in a string.
 
IPAddress2IPDottedDecimal
Converts an IP address to a 32-bit dotted decimal IP number.
 
IPDottedDecimal2IPAddress
Converts a 32-bit dotted decimal IP number to an IP address.
 
IsValidPhone
Simple Validation for Phone Number syntax.
 
ListSplit
A split function for lists, splitting the original list into lists of n array elements.
 
LocalTime
Function that returns adjusted local server time. (Version: CFMX)
 
ParsePOPSubject
Parses subjects returned by CFPOP.
 
Secure
This function validates user permissions against required permissions using Bit, List or custom validation.
 
SecureMX
This function validates user permissions against required permissions using either Bit, List or custom validation. (Version: CFMX)
 
TrailingZeroes
Restores significant trailing zeroes which may have been omitted during calculations.
 
DeMoronize
Fixes text using Microsoft Latin-1 "Extentions", namely ASCII characters 128-160.
 
DollarFormat2
Works like the built-in function DollarFormat, but does no rounding.
 
FncFileSize
Will take a number returned from a File.Filesize, calculate the number in terms of Bytes/Kilobytes/Megabytes and return the result.
 
GetTagContent
Returns the content enclosed in a tag pair.
 
HideLink
Disguise a link using JavaScript's window.status attribute.
 
HTTPHeader
Mimics the CFHEADER tag. (Version: CFMX)
 
NullColumn
Useful in constructing SQL statements that must handle empty strings as NULLs.
 
SpaceCap
Returns a string with a space before each capital letter.
 
VarToScript
Reverses a CF variable into CFScript.
 
ArrayFindSorted
Locate a value in an already-sorted array.
 
ArrayFind
Like listFind(), except with an array.
 
ArrayFindNoCase
Like listFindNoCase(), but for arrays.
 
GuidToString
Accepts a numeric GUID stored in a Byte Array and converts it to a string in the normal convention. (Version: CFMX)
 
IsScientific
Returns true if passed value is formatted in "baseEexp" scientific notation.
 
NumbersOnly
Strips all non-numeric characters from a string.
 
QueryStringChangeVar
Changes a var in a query string.
 
AsciiToDec
Convert ASCII characters into a decimal number.
 
BracketNumberFormat
Returns a negative number in brackets.
 
CommaFormat
Adds commas after every third non-ending digit to the left of the decimal point.
 

[Top]


Reviews

Application Servers - Flash Communication Server MX

Serverwatch did a nice overview of Flash Communications Server MX back in August. Especially with the recent experiments with Flash Communications Server happening in several of our CFUGs, I thought it worthwhile to include this review.

Application Servers - Flash Communication Server MX

[Top]

Collaboration Made Flexible

In this review from eWeek, Jim Rapoza touts the Flash Communications Server as a great way to create collaboration software. Where most often businesses would rely on third-company products, with Flashcom, they can create their own, in-house applications, and possibly for a fraction of the cost: "Anyone who has ever built a Flash application should have no problem creating collaboration applications that leverage Communication Server MX. And with the increased usability of Flash MX, even beginners should be up and running quickly."

Collaboration Made Flexible (eWeek, September 2, 2002)

[Top]

Review -- Macromedia Contribute

In this article from Sitepoint, Nikos Liokalos gives Macromedia Contribute 4.5 stars as a tool for creating, editing and publishing the content of static websites. Among the strong points he lists are the products compatibility with Dreamweaver MX and its integration of Word and Excel documents, simplifying the tools you'll need to correct that silly spelling mistake on your site. Among the weak points, he notes his inability to find a way to prevent a user from publishing a page he or she has created while waiting for that approval email from the site administrator. He concludes that "Macromedia Contribute is a very interesting tool that can save you lots of time in updates to your site, and provides advanced features like page versioning and team collaboration."

Review -- Macromedia Contribute (Webmasterbase.com, November 26, 2002)

[Top]


Best of ColdFusion Talk

Best of Talk (10/28/02)

By Dina Hess

Thread Title: Application Framework problem
End Date: 10/28/02      9 Posts
Summary: Should Application.cfm and OnRequestEnd.cfm be used to display headers and footers? Here are some differing opinions and a tip or two about how to best resolve a table display problem.
 
Thread Title: Arrays vs. Lists
End Date: 10/28/02      10 Posts
Summary: Is it true that arrays are processed faster than lists? Depends on the operation and the size of the list. For long lists, ListFind() is usually faster than looping over an array, but ArrayToList(ArrayDeletAt(ListToArray(list),1)) is much faster than ListDeleteAt(list,1).
 
Thread Title: CFHEADER - explanation
End Date: 10/28/02      2 Posts
Summary: This one's worth repeating...use CFHEADER instead of CFLOCATION when setting a cookie:

<cfcookie ...>
<cfheader name="Location" value="urlpath/to/file.cfm">
<cfheader statuscode="302" statustext="Document moved">

 
Thread Title: Date - Weekly Format?
End Date: 10/28/02      5 Posts
Summary: If you need to populate a select with Sunday through Monday weekly ranges, this thread provides an efficient code snippet that will help you do just that!
 
Thread Title: Query Problem
End Date: 10/28/02      14 Posts
Summary: Use CFQUERYPARAM to effectively code for null updates. Try:

null="#IIf(Trim(myvariable) EQ '', DE("Yes"), DE("No"))#"

or, better yet,

null="#yesnoformat(not len(trim(myvariable)))#".

 
Thread Title: SQL OT: Selecting Bottom Most 10 Records
End Date: 10/28/02      8 Posts
Summary: Need to select just the bottom 10 records? Simple. Use SQL's TOP function and ORDER BY DESC.
 

[Top]

Best of Talk (10/29/02)

By Dina Hess

Thread Title: CFXML Question
End Date: 10/29/02      8 Posts
Summary: Have you tried XML in CFMX? If you are acessing a well-formed XML doc, use the CFXML method and output using dot notation; preface with XMLParse() for non-XML docs.
 
Thread Title: DSN-less Connection to a CSV File?
End Date: 10/29/02      14 Posts
Summary: Here's "a real find"...sample code to query a CSV file directly using a DSN-less connection. Check this out...
Related Threads: The Solution: DSN-less Connection to a CSV File?
 
Thread Title: Locking and Clustered Servers
End Date: 10/29/02      11 Posts
Summary: If you need to INSERT a record and immediately access its ID, use CFTRANSACTION ISOLATION="serializable" or, better yet, write a stored procedure. SQL Server users can refer to the SP code included in this thread.
 
Thread Title: Replacement for CFX_fMAKETREE
End Date: 10/29/02      10 Posts
Summary: Need a custom tag to replace CFX_fMAKETREE? Try CF_MAKETREE at http://www.houseoffusion.com/_library/. (Use this syntax when implementing: QUERY=#myquery#.)
 

[Top]

Best of Talk (10/31/02)

By Dina Hess

Thread Title: Basic Question - Testing for No Results From Query
End Date: 10/31/02      17 Posts
Summary: Use <cfif queryname.recordcount eq 0> to test for an empty recordset. Note that although <cfif queryname.recordset gt 0> and <cfif queryname.recordcount> both evaluate to true, the former syntax is actually correct since the value is numeric, not boolean. This is a good hedge against the possibility that CFML will evolve into a typed language.
 
Thread Title: CF MX Query of Query Lower() Function
End Date: 10/31/02      12 Posts
Summary: The Lower() function throws an exception when handling nulls in CFMX Query of Queries. As a workaround, try applying the Lower() function in the original query to format your data for use with Query of Queries.
 
Thread Title: CFLoop Query Problem
End Date: 10/31/02      9 Posts
Summary: Need a sum of the values returned in a query column? Try this elegant and efficient solution:

<cfscript>   aPrices=arrayNew(1);
  aPrices=ListToArray(valueList(mQry.ItemPrice));
</cfscript>
<cfoutput> #arraySum(aPrices)# </cfoutput>

 
Thread Title: OT JS Value Validation
End Date: 10/31/02      7 Posts
Summary: Since HTML forms return string values by default, we need to cast numeric values, using either parseInt or parseFloat, before comparing them in Javascript.
 
Thread Title: Relative Path for FileExists() Inside Custom Tag
End Date: 10/31/02      3 Posts
Summary: If you need to use the FileExists() function, note that its argument is a path that resolves relative to the base template. To resolve the path relative to the current template, try <cfif fileexists("#ExpandPath(myrelativepath)#")>.
 

[Top]

Best of Talk (11/01/02)

By Dina Hess

Thread Title: Auto Resize Images? (Plus Some list Rants/Suggestion)
End Date: 11/01/02      5 Posts
Summary: You can use CFX_Image to resize images on the fly. CFMX developers may opt to manipulate images with the Java Advanced Imaging API (see URL to related article).
 
Thread Title: Client vs. Session
End Date: 11/01/02      4 Posts
Summary: This is an excellent comparison of session and client management ... concise and complete.
 
Thread Title: Hidden Frame in Frameset
End Date: 11/01/02      14 Posts
Summary: Need to create a hidden frame or expand/collapse frames? Here's a mini-lesson complete with code examples.
 
Thread Title: Multi-Lingual Translations
End Date: 11/01/02      9 Posts
Summary: Language translation presents a serious challenge to web developers. Here we offer a few URLs, a cost estimate, and an admonition to seek out a multi-lingual user to review translations.
 
Thread Title: OT: Uploading More Than One File at a Time?
End Date: 11/01/02      8 Posts
Summary: This thread includes some useful code and a custom tag recommendation for multiple file uploads. We also discuss a problem with Internet Explorer for MAC when using <input type="file"> to pass in multiple files.
 
Thread Title: Performance Tweaking - Friday Morning Brain Fart
End Date: 11/01/02      13 Posts
Summary: Need an efficient way to reuse a dropdown menu throughout your site? Try CFSAVECONTENT to save the dropdown code to a variable, CFFILE to write the variable to a file, and CFINCLUDE to render the dropdown in your templates.
 

[Top]

Best of Talk (Weekend, 11/02/02 - 11/03/02)

By Dina Hess

Thread Title: *CFMX* Variable Creation - Is This Normal Behavior? or a Bug?
End Date: 11/02/02      9 Posts
Summary: CFMX does not require explicit variable declarations; instead it can create and type variables based on first usage. But we get an error if we attempt to overwrite a scalar variable with a new, complex variable. Is this an MX bug?
 
Thread Title: HELP!! SQL Weirdness and the Client's Coming Tomorrow!!!
End Date: 11/03/02      6 Posts
Summary: If PreserveSingleQuotes() is used within a SQL statement, it will prevent ColdFusion from automatically escaping single quotes in a string variable. We also learn that CFQUERYPARAM may help to prevent errors by identifying the data type and the value of parameters passed to the DBMS.
Related Threads: <CFQUERYPARAM> and preservesinglequotes() was RE: HELP!! SQL Weirdness ERROR Message

<CFQUERYPARAM> and preservesinglequotes() was RE: HELP!! SQL Weirdness ERROR Message

Return of the SQL Weirdness ERROR Message

 
Thread Title: MSXML Alternative for Linux?
End Date: 11/02/02      9 Posts
Summary: CF-Talk is at its best as developers team up to perfect a CFMX solution for passing XML to the UPS website.
Related Threads: MSXML Alternative for Linux? (SOLVED!)
 
Thread Title: Understanding Locking In CFMX
End Date: 11/02/02      31 Posts
Summary: Confused about CFMX locking? Here's an in-depth discussion among some of ColdFusion's top gurus. Give this a look .... Well worth the read.
 
Thread Title: Using CF to Interface IIS and Microsoft DNS
End Date: 11/02/02      11 Posts
Summary: Use CFEXECUTE with DnsCmd.exe to get IIS to automatically create a website entry and register DNS information with Windows DNS.
 

[Top]


This is an opt-in magazine. To join, leave or change subscription mode, please visit the signup page. All content of this magazine is copyright Fusion Authority, Inc. It may not be reproduced without permission.