|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
ASP Code within ColdFusion Code? WAS (RE: retreiving datatypes)
Author: Raymond B.
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:103#281
Yes it looks a lot like ASP b/c it's using an ADO (ActiveX Data Object? - I
never remember that TLA... it's a COM object by another name) which is what ASP
commonly uses. So you are using the same object, and the syntax looks
superficially similar... but it is very much CF: You could do the same tag based
if you desired (though it would be much harder to read IMO). Bear in mind though
that accessing dbs in this way is much slower in both dev time and execution
time (in almost all cases) than using CFs native functions such as CFQUERY,
CFSTOREDPROC, etc.
I very rarely use M$ Access so if you have a better solution for retrieving
field design info from that dbms (I use the term loosely) then I'm all ears
(well... eyes). ;)
So while it looks a lot like ASP, it is actually CFSCRIPT code.
P.S. I'd also like to ask: When using an OLEDB connection to Access instead of
ODBC there are certain functions you can perform b/c of the interface? I'm not
much into the NT environ but, I've heard that Access dbs perform much better
under an OLEDB connection and that there is a command set that's part of the
interface?
Cc: raymond@lucentstudios.com
Subject: ASP Code within CF Code? WAS (RE: retreiving datatypes)
That looks an awful lot like ASP code. Are you saying it's possible to run
ASP-like code within CF templates?
---mark
--------------------------------------------------------------
Mark Warrick
Phone: (714) 547-5386
Fax: (714) 972-2181
Personal Email: mark@warrick.net
Personal URL: http://www.warrick.net
Business Email: mark@fusioneers.com
Business URL: http://www.fusioneers.com
ICQ: 346566
--------------------------------------------------------------
----- Excess quoted text cut - see Original Post for more -----
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||