House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

ASP Code within ColdFusion Code? WAS (RE: retreiving datatypes)

  << Previous Post |  RSS |  Subscribe to this Group Next >> 

ASP Code within CF Code? WAS (RE: retreiving datatypes)

   Yes it looks a lot like ASP b/c it's using an ADO (ActiveX Data Raymond B. 01/22/2001 05:32 AM

01/22/2001 05:32 AM
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
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference