Best of Talk (Weekend, 5/17/03 - 5/18/03)

 
May 09, 2003
by Dina Hess

Title: Okay, Now I *Know* I Saw This Code on Here...
Date: 05/17/03      13 Posts
Summary: Here is a code snippet you can use to highlight your search text:

   ReplaceNoCase(theString,URL.Searchtext, 
      "<span style='background:yellow'>
      #URL.Searchtext#</span>","ALL")

 
Title: Insert to DB or to File?
Date: 05/18/03      9 Posts
Summary: Which is better when implementing a file upload/download system - storing the actual file in the database or storing a reference to the file in the database? Although storing files in the database may seem like an elegant solution, there are several compelling reasons why this solution may be not be the best, like increased backup and recovery time, database fragmentation, and the need for version management. At any rate, many developers simply store a link to the file in the database and use Verity for text searching.
 
Title: Using xmlSearch() to Update XML
Date: 05/18/03      3 Posts
Summary: It is not possible to use xmlSearch() to change the original XML document, but you can use the results of xmlSearch() to build a new XML document.
 

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