The things I learned today

Sunday, August 11, 2002

Going through Cold Fusion MX now...

Scope variables - useful read
D:\CFusionMX\wwwroot\cfdocs\CFML_Reference\contents.htm


CF Tags

cfimport

What's CFID and CFTOKEN for?

cfparameter
cfassociate - not sure what this is for, used for custom tag.

cflock
cfcache*
cffunction, cfargument, cfreturn
cfproperty - used by CFC web services. Look into this more.
cfinvoke - called a CFC function or web service.
cfinvokeargument - used inside cfinvoke
cflogin* - how to authenticate against a data source?
cfloginuser*
cflogout*
cfobject - cool, you can use this to create java object or web service proxy. Not sure when to use this yet.
cfobjectcache - Flushes the query cache. Nothing to do with the function above. Doesn't seem very useful.
cfproperty - used with web services, not sure how to use this yet.
cfsetting* - seems useful.
cftry, cfcatch, cfthrow
cftrace* - useful, similar to trace in actionscript
cfdump* - useful
cfxml - this will come in handy for generating xml


cfscript - javascript code in CF pages!

Query tags
Some new tags for stored procedure - check them out later
cfqueryparam* - this one is useful, can use this to check param in cfquery
cfquery - dbtype: this is useful for executing query on a query result set
- cachedWithin, cachedAfter: useful for using cached query results

Resultset.recordCount, Resultset.currentRow, Resultset.columnList, Resultset.executionTime

cfheader - generate custom HTTP header, will be useful for caching
cfhtmlhead
cfsilent
cfflush - useful for page that is slow in generating data

cflog - log to a file, useful!
cfprocessingdirective (suppressWhiteSpace) - could be useful at times

cffile - cool, you can read, readBinary (for image), write, append now.

cfexecute - Same as regular system() command. Never use this before, but should be very useful.

cfmailparam - very useful for mail attachment.

cfsavecontent - this looks nifty, save generated output up in a variable and further process it.

Custom tag stuff
cfmodule, cfassociate

cfschedule - now this can be handy too, for scheduled maintenance stuff


Functions
GetAuthUser()
IsUserInRole("admin")

IsArray

0 Comments:

Post a Comment

<< Home