Best of Talk (12/23/02)

 
Feb 24, 2003
by Dina Hess

Title: Brief Introduction
Date: 12/23/02      8 Posts
Summary: After announcing his selection as Macromedia's new ColdFusion Community Manager, Christian Cantrell solicits ideas for useful additions to the MX Developer Resource Kit. (See Fusion Authority's profile on Cantrell in Issue 118.)
 
Title: Page Breaks for Printing
Date: 12/23/02      9 Posts
Summary: Looking for a way to generate page breaks for printing? You can use the page break style elements available in CSS2, like this:
<p STYLE="page-break-before: always">, or generate PDFs
on-the-fly.
 
Title: Random SQL Statement
Date: 12/23/02      9 Posts
Summary: Does SQL have a random function or should CF be used to pull a random record from the query recordset? Here are several suggestions, links to relevant articles, and code for a stored procedure.
 
Title: Randomization of a CFQUERY
Date: 12/23/02      9 Posts
Summary: Here's a UDF that returns a randomized query recordset. There's also a light debate about the extra overhead involved in writing code for modularity and reusability.
 
Title: Regular Expression Question
Date: 12/23/02      10 Posts
Summary: How would you return an email string that REFind matches? Try this:

   <cfset emailAddress=REReplaceNoCase(BlockOfText,
      "(|.*[^'\._a-z0-9-]+)(['\._a-z0-9-]+@[a-z0-9-]+
      (\.[a-z0-9-]+)*\.(([a-z]{2,3})|
      (aero|coop|info|museum|name))).*","\2")>
 

Privacy | FAQ | Site Map | About | Guidelines | Contact | Advertising | What is ColdFusion?
House of Fusion | ColdFusion Jobs | Blog of Fusion | AHP Hosting