Archive for April, 2003

CF_Europe 2003

Who’s going? I was just looking through the list of speakers, and I’m impressed. Too bad it’s only two days! You can find details here:

http://www.cf-europe.org/

Here’s the important stuff:

Continue reading…

Christian Cantrell’s Perspective Has a New Look

I guess it’s pretty obvious that I have a new weblog (unless this is your first time here). I decided to switch from my own solution which was combination of ColdFusion, XML, shell scripts and Makefiles to Movable Type and ColdFusion. For anyone thinking about starting a weblog, this is a great combination. Basically I use Movable Type purely for content management, and ColdFusion for things like includes, and other types of dynamic content. We have Movable Type working with Postgresql, so we can even query the database directly using ColdFusion.

So far, I’m very impressed with Movable Type. It’s extremely versatile and well written. Importing my posts wasn’t as easy as I’d hoped, though. It took me the better part of day to write a ColdFusion script to package up all my old posts and put them into a format that Movable Type could read. It was actually an interesting use of ColdFusion. When I was trying to figure out how to do the conversion, I considered using Perl, a shell script, Java or ColdFusion. My mission was to parse an XML file with all my old titles, summaries, categories and authors, read all my old entries from their individual files on disk, derive dates and times from the last modified dates of each file as reported by the operating system, and combine all this information into a single file formatted for Movable Type’s import feature. Odd that a language like ColdFusion was so good for this, but it has everything I needed. As I said, it took the better part of a day to get it exactly right and to edit the entries by hand that didn’t import properly, but I think it came out pretty well. Unfortunately, I wasn’t able to save comments, so everyone will just have to start leaving new ones.

New ColdFusion DevNet Content

Macromedia just published tons of new DevNet content with a lot of emphasis on ColdFusion:

Logged In: Databases and ColdFusion
Debbie Dickerson
http://www.macromedia.com/devnet/logged_in/ddickerson_databases.html

Connecting to a Database in ColdFusion
Jon Quint
http://www.macromedia.com/devnet/mx/coldfusion/articles/connecting_database.html

Building Advanced Queries in ColdFusion MX
Sue Hove
http://www.macromedia.com/devnet/mx/coldfusion/articles/adv_queries.html

Learning Stored Procedure Basics in ColdFusion MX
Sam Neff
http://www.macromedia.com/devnet/mx/coldfusion/articles/stored_procs.html

Bicycle Parts Catalog: Macromedia Flash and Databases
Matt Boles
http://www.macromedia.com/devnet/mx/flash/articles/ria_databases.html

Using Parameters with Includes
Murray Summers and Brad Halstead
http://www.macromedia.com/devnet/mx/dreamweaver/articles/ssi_templates.html

Also, as an aside, Macromedia has extended a special welcome to Safari users who have updated to beta 2:
http://www.macromedia.com/special/safari/?promoid=pu3_homepage_safari_041603

Coming Soon: DevNet Resource Kit Volume 3

Just wanted to mention that DRK Volume 3 will be out very soon. The first two DRKs didn’t contain much ColdFusion content, however volume 3 contains a lot of very cool stuff for CF developers. Unfortunatly, I can’t be specific, but here is a vague description of what is coming:

  • Custom tags
  • Advanced Data Manipulation Components
  • Complete Sample Applications
  • Data Aggregation and Management Tools

More information is available here:
http://www.macromedia.com/software/drk/productinfo/product_overview/volume3/

CFMX for J2EE License Transfer Program Extended

Anyone interested in going from ColdFusion Server to CFMX for J2EE should check this out. From Macromedia’s website:

“For a limited time, Macromedia ColdFusion Server Enterprise customers can transfer their licenses to ColdFusion MX for J2EE and receive up to a 30% discount through the Macromedia Volume License Program (MVLP).

Now, ColdFusion Server 4.5 (and later) Enterprise Edition (English version) customers can begin developing, deploying, and migrating their ColdFusion applications on their preferred J2EE application server at a significant savings.”

Offer good through 6/31/2003. Details here:
http://www.macromedia.com/software/coldfusion/j2ee/special/license_transfer/

Macromedia Merchandise Available This Week

Macromedia is going to start selling a limited quantity of merchandise on their online store this week. Looks like hats and tee-shirts, at least to start out with. I especially like the long sleeve tee-shirt. Too bad nobody sent me one to beta test!

Three New TechNotes

Macromedia released three new TechNotes today:

Troubleshooting data sources and database connectivity for Unix platforms
http://www.macromedia.com/support/coldfusion/ts/documents/tn17262.htm

Troubleshooting data sources and database connectivity for Windows platforms
http://www.macromedia.com/support/coldfusion/ts/documents/tn17115.htm

ColdFusion MX: Trailing space in Driver Class field causes data source verification failure
http://www.macromedia.com/support/coldfusion/ts/documents/driver_class_space.htm

Macromedia Announces MAX 2003

Macromedia announced the MAX 2003 conference yesterday which is to be held in November, in Salt Lake City. MAX is a new conference which combines DevCon and UCON. From Macromedia’s webiste:

“MAX is your opportunity to get hands-on technical training, gain new skills, hear breaking news from Macromedia, network with peers and industry leaders, and ultimately become more successful developing and delivering applications using Macromedia products. Nowhere else can you find the volume and quality of information that will be available under one roof at MAX 2003.”

Get more information, or submit a session proposal, here:
http://www.macromedia.com/macromedia/conference/

No More OutOfMemory Errors

Some of you may have noticed that our weblog server was occasionally down last month. Traffic to our weblogs really started picking up at the end of February and in early March, and we were finding that we were having to restart the server occasionally due to OutOfMemroyErrors. I was surprised when bumping up the JVM’s memory allocation to 512MB didn’t seem to have any effect at all. After doing a little research, I discovered that the problem was the server’s permanent memory size. A Macromedia TechNote describes permanent memory like this:

“The permanent generation is the area of the heap where the JVM stores its internal information, such as information about loaded Java classes. This memory is involved in the garbage collection of persistent objects. Because ColdFusion MX loads a large number of classes over time, the default size may be too small. Most application server vendors suggest increasing this parameter when encountering an out of memory condition.”

The default allocation is only 64MB, which often isn’t enough to run large-scale applications like CFMX (along with several smaller, high-traffic applications like our weblogs). I bumped the permanent memory size up to 192MB (128MB would probably have been fine) and the server has been running beautifully ever since. I made the change about a month ago, and haven’t touched the server since, even as traffic continues to increase. Check out the TechNote here:

http://www.macromedia.com/support/coldfusion/ts/documents/java_lang_outofmemory.htm

Three New ColdFusion TechNotes

Enabling access from Macromedia Flash to web services using the Flash Gateway in ColdFusion MX Updater 3
http://www.macromedia.com/support/coldfusion/ts/documents/enable_flash_webservices.htm

Known ColdFusion MX Issues
http://www.macromedia.com/support/coldfusion/ts/documents/tn18325.htm

Proxy settings ignored in ColdFusion MX
http://www.macromedia.com/support/coldfusion/ts/documents/cfmx_proxy_setting.htm