Best of Talk (1/31/03)

 
Apr 26, 2003
by Dina Hess

Title: CFCs - Property Access Best Practices
Date: 01/31/03      22 Posts
Summary: This is a "must-read" for anyone interested in learning more about CFCs. Discover why it's a "best practice" to use the unnamed scope for instance data and the set/get methods when creating CFC properties. There's also some discussion about implementing built-in set/get methods on properties, "chaining" method calls in CFSCRIPT, and using a DTO design pattern for CFC structures to reduce network traffic.
 
Title: CFQUERYPARAM and Unicode
Date: 01/31/03      11 Posts
Summary: You can use CFQUERYPARAM in CFMX to INSERT double byte information for Eastern Asia languages (i.e. Korean). There is a setting in CF Admin that lets you enable Unicode for your data sources.
 
Title: Deleting Session Variables
Date: 01/31/03      9 Posts
Summary: To delete the contents of a session variable, try:

  <cfscript>
     structdelete(session, "varName");
  </cfscript
There's also a light discussion here about the importance of scoping variables.
 
Title: OOP, Custom Tags..
Date: 01/31/03      22 Posts
Summary: A developer who recently upgraded from CF 4 to CF 5 is advised to read the online documentation to get up to speed. The world of CFSCRIPT and UDFs is explored along with the advantages of using CFCs over UDFs.
 
Title: SOT: Serv-U?
Date: 01/31/03      33 Posts
Summary: Serv-U gets a big "thumbs up" from shared hosts for easy-to-manage FTP service. IIS FTP, on the other hand, may be a "best choice" FTP solution to handle users with pre-existing Windows accounts. To provide these users with directory access based on their usernames, just give the FTP virtual directory the same name as the user's login account.
Related: SOT: Serv-U? on Win2K=great
SOT: Serv-U? TOTALLY AWESOME
 

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