By Dina Hess
| Title: | Stock Quotes, Free |
| Date: | 05/04/04 (22 Posts) |
| Summary: | Trying to locate a free-to-cheap web service that provides the latest stock quotes? This thread points to resources offering quotes with a 20-minute delay. You'll also find an interesting discussion about legal issues with screen scraping. |
| Related: | Is Scraping Legal, WAS: Stock Quotes, Free |
| Title: | Web Service Woes |
| Date: | 05/04/04 (15 Posts) |
| Summary: | Need to return a query (array of structures) via a web service? Be sure to apply Macromedia's web service hotfix first. To pass queries from ColdFusion to JavaScript, try WDDX, a thin array, or Rob Rohan's Neuromancer. |
| Title: | CFCs That Perform INSERT...Yikes... |
| Date: | 05/04/04 (19 Posts) |
| Summary: | Looking for a CFC example of a database INSERT? Find it here along with a critique covering use of CFOUTPUT and CFTRANSACTION within the CFC. |
| Title: | Custom Tag Bug? |
| Date: | 05/04/04 (18 Posts) |
| Summary: | A developer's struggle to find out why a custom tag runs twice when the call is formatted as <cf_hello/> gives rise to a discussion about the dubious practice of applying XML syntax to ColdFusion tags. |
| Title: | Eye Candy While Long Page Loads |
| Date: | 05/04/04 (4 Posts) |
| Summary: | Need to add a "page is loading" image or prompt that utilizes CFFLUSH? Try this: |
|
<div id="loading">
Please wait, loading... </div> <cfflush> <script> obj=document.getElementById('loading'); if (obj) {obj.style.display='none';} else {document.getElementById('loading').style.display='none';} </script> |
|
| Title: | CFTRANSACTION Action = Rollback? |
| Date: | 05/04/04 (9 Posts) |
| Summary: | Queries contained within a CFTRANSACTION block are automatically rolled back or committed; so unless you need partial commits or rollbacks within a complex transaction, you will not need to invoke actions for COMMIT and ROLLBACK. To handle database errors occurring within a CFTRANSACTION block, wrap with CFTRY/CFCATCH or use CFERROR with TYPE="exception" and EXCEPTION="database." |