Viewing by month: September 2009

Watch MAX Keynotes Live!

Watch MAX keynotes, streamed live from Los Angeles-register now (go to http://max.adobe.com/online/ )

On October 5th and 6th, Adobe MAX Online will feature the keynotes, streamed live, highlighting the newest and most exciting developments in the world of technology. Join 10 minutes early and participate in the backstage behind the scenes action.

View the top three sessions from each day on demand

Check back each day by 8:00 PM PT, from October 5th to 7th, to see the top session of the day from each track: Design, Develop, and Envision. You’ll be able to view these sessions on demand on MAX Online and join the buzz by participating in the extended Twitter conversation.

View all of the session content on demand

Check back on Sunday, October 11th, for all of the sessions available on demand with the exception of labs or BYOL (Bring Your Own Laptop) labs.

MAX Session Guide: http://assets.max.adobe.com/pdfs/MAX_2009_EventGuide.pdf

0 comments | Posted by Daniel Short on Sep 29, 2009 at 11:05 AM | Categories: ColdFusion -

Everything you didn't know about cfdump

My tip this morning about the TOP attribute on the cfdump tag has been pretty popular, which makes me wonder what else people don't know about the cfdump tag. In ColdFusion 7 it was just a variable, a label, top, and whether the dump was expanded or not. ColdFusion 8 added the show, format, hide, keys, metainfo, output, and showUDFs attributes.

New ColdFusion 8 cfdump attributes

  • format: Use with the output attribute to specify whether to save the results of a cfdump to a file in text or HTML format.
  • hide: For a query, this is a column name or a comma-delimited list of column names. For a structure, this is a key or a comma-delimited list of keys.
  • keys: For a structure, the number of keys to display.
  • metainfo: For use with queries only. Includes information about the query in the cfdump results, including whether the query was cached, the execution time, and the SQL. You must specify metainfo="no" to exclude this information from the query result.
  • output: Where to send the results of cfdump. The following values are valid: browser, console, filename (the full file path of the file that should be written).
  • show: For a query, this is a column name or a comma-delimited list of column names. For a structure, this is a key or a comma-delimited list of keys.
  • showUDFs: "yes" includes UDFs, with the methods collapsed, "no" excludes UDFs.

I use the format, show, and showUDFs all the time. The LiveDocs are your friend. Read all of that and more at the cfdump page in the ColdFusion 8 LiveDocs.

3 comments | Posted by Daniel Short on Sep 23, 2009 at 10:10 AM | Categories: ColdFusion -

CF Tip of the day: Speed up dumps with TOP

I do a lot of cfdumps with queries, but always forget to use the top attribute introduced in ColdFusion 8. You can use the top attribute to dump just the top x number of records from your query. When dealing with a wide query 500 rows, dumping the first 10 will give me more than enough information to do what I need to do, without waiting for the browser to finish rendering a huge dump table.

3 comments | Posted by Daniel Short on Sep 23, 2009 at 8:33 AM | Categories: ColdFusion -