Entries Tagged as “General”

Migration - Tips and Tricks

Posted By: Yashas R R No Comments February 10, 2012

Can Migration be Performed even after skipping the Migration Wizard Screen ??  Yes

 

Lets say you have CF8 server and want to migrate to CF9 but accidentally you skipped the migration wizard . Actually during installation , installer places the CF8 settings files under CF9/lib as cf8settings folder . So in migration wizard if you go ahead with the migration process , these settings gets applied on CF9 Server . Now you have missed this process , but don't worry you can just set the fields runmigrationwizard and migratecf8 to "true" in  adminconfig.xml which is under CF9/lib and re-start the server . Boom migration wizard appears again !! For other tips and tricks Please follow the blog , will post them soon :)

Regards ,
YASHAS R R
ADOBE CF TEAM

Respond Now

ColdFusion Zeus POTW - Extra edition...

Posted By: Ray Camden No Comments December 21, 2011

Ok, I know I did a Zeus POTW earlier this week, but I had to share this little gem. This is another small thing - a simple function - and something that's been possible via a CFLib UDF for years. That being said - when I saw this show up in the latest Zeus build today, I had to share.

If you've ever needed to format a date and a time, you know that it requires two calls, ala:

<cfoutput>
#dateFormat(now())# #timeFormat(now())#
</cfoutput>

Zeus adds dateTimeFormat to combine this into one call:

<cfoutput>
#dateTimeFormat(now())#<br />
</cfoutput>

For formatting, the mask is slightly different than before. Masks are based on SimpleDateFormat from Java. So for example:

<cfoutput>
#dateTimeFormat(now(), "MMMM d, yyyy h:mm a")#<br />
</cfoutput>

Yeah, ok, not Earth-shattering, but this was one of a few new functions released in the latest Zeus build that were things I've seen requested for years.

 

Respond Now

Initiative to improve ColdFusion docs

Posted By: Hemant Khandelwal No Comments June 29, 2011

Ray has blogged about the initiative that CF team is taking to improve docs. Check - http://www.coldfusionjedi.com/index.cfm/2011/6/28/Initiative-to-improve-ColdFusion-docs

Respond Now

CFCache does not ignore directory attribute

Posted By: Chandan Kumar No Comments May 17, 2011

ColdFusion 9 came with a reincarnated version of CFCache. It has much better performance, more flexibility of defining caches and with added functionality. It however has some points to consider especially for apps using cfcache and migrating to CF9 and in this blog post I wish to cover one of them. CFCache ignores directory attribute! Many people ask this question. While itâ??s not exactly the case, you will find that after running your templates there is no generated cache file present in the directory mentioned.To understand this letâ??s look at the difference in the implementation. Earlier CFCache was a custom ColdFusion tag with no end tag. So it would reside on a template, wait for it to get processed and then cache the output html as txt file in the directory users specified (or to the default directory if not specified). For all later calls to this template, cfcache would fetch the result from this file without processing the template. New CFCache avatar is a pure java solution based on EHCACHE. It would almost do same thing but with a small difference. Its architecture makes memory as the primary store for all the caches. Disk is mostly used as a second level store.  The following would be a simplified diagram depicting its flow.

cache flow

  Now lets look at how to configure your cache to mostly go to disk store. You can do this either by CacheSetProperties or by changing in ehcache.xml (cfusion/lib).   To specify which directory the disk store would point to you can do either of the following: p.s. You cannot have more than one directory for one application and you cannot change the directory once the cache has been initialized Also note that there wonâ??t be individual files for each caches stored on disk but one file with all the caches. To know more go to Adobe docs. Also there are many amazing articles written by fellow CFers that can help.

Respond Now

Excellent week @DC

Posted By: Hemant Khandelwal No Comments February 25, 2011

I had an excellent time this week on road with Tridib (Sr Director of products, ColdFusion), Adam & Alison. We met quite a few customers, community leaders and field guys @Adobe office. Thanks everyone for sharing your thoughts, suggestions and time with us. I am very confident that we are going to make CF X a rocking release!

Respond Now

Blue Mango Theme Design By Mark Aplet

Super Powered by Mango Blog