Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting Dictionary

Status
Not open for further replies.

KilShon

Programmer
Nov 12, 2002
1
US
Hi,

I am new to the board, and new to Cold Fusion, but I am experienced in writing ASP, VB, and COM.

Question
Are there any threads on using "Scripting Dictionary" with Cold Fusion?

What I am trying to do:
While back, my friend and I coded a rather simple ASP code to "scrape" the webpage for all the fields and values, and store them in the Microsoft "Scripting Dictionary". Once stored, we use the scripting dictionary to pass the information to and from the COM objects. We did this to encapsulate the data fields and values.

Though, this was extra step, it made the coding lot easier to read, and maintainable.

Any thoughts?

thanks
-Kil


 
When you say "scrape the webpage for all the fields and values"... do you mean FORM fields and values, or ASP fields and values??

Either way, you could undoubtedly do the same thing with ColdFusion. For a mock-up, just translate the ASP code directly to CFM... with a little practice, it's not terribly difficult. Or post code snippets here and I'm sure a lot of people would love to help.

I've never used it, but it looks like a Scripting Dictionary object is very much like a ColdFusion structure (just an associative array). Probably relatively easy to replicate it's behavior/functionality. Hope it helps,
-Carl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top