ColdFusion Muse - cfobjectivehttps://www.coldfusionmuse.com/index.cfm
Musings and Other Things from CF Guru Mark Krugeren-usMon, 19 Mar 2018 11:39:51 -0500Tue, 22 May 2012 10:56:00 -0500BlogCFChttp://blogs.law.harvard.edu/tech/rssmkruger@cfwebtools.commkruger@cfwebtools.commkruger@cfwebtools.comColdFusion Musehttps://www.coldfusionmuse.com/index.cfm
noMuse Review: Exploring CouchDB With Matt Woodwardhttps://www.coldfusionmuse.com/index.cfm/2012/5/22/Muse-Review-Exploring-CouchDB-With-Matt-Woodward
<p>
On Saturday I sat in on ColdFusion genius <a href="http://blog.mattwoodward.com/">Matt Woodward's</a> session on practical couchDB. I have experience with both Memcached and MongoDB so I thought I was prepared for the general sense of what you could do with CouchDB (which I had never explored). I assumed it was just another "no SQL" database. But Matt demonstrated some things that were new to me and I am intrigued enough to experiment with them - hopefully engendering a few more "CouchDB" blog posts. Here's a couple pros and cons gleaned from the presentation.
</p> [More]
cfobjectiveTue, 22 May 2012 10:56:00 -0500https://www.coldfusionmuse.com/index.cfm/2012/5/22/Muse-Review-Exploring-CouchDB-With-Matt-WoodwardMuse Reviews: Charlie Arehart on ColdFusion 10 Server Options at Cfobjectivehttps://www.coldfusionmuse.com/index.cfm/2012/5/18/Muse-Reviews-Charlie-Arehart-on-ColdFusion-10-Server-Options-at-Cfobjective
<p>
I'm sitting in on Charlie Areharts workshop regarding how ColdFusion 10 and Tomcat live together and how to configure it. It's obvious that a good deal of my specialized JRUN knowledge will be less than useful in a couple years but I'm really excited about the change. Charlie does a good job of identifying:
<ul>
<li>Where everything is at - log files and config files live in new locations now.</li>
<li>What <em>should</em> you watch for - lots of new files and folders that may or may not be useful to fool with. </li>
<li>What you should <em>not</em> be paying attention to. Tomcat is an app server that can do far more than just serve up jsp (or cfm) files. Charlie spent some time helping us understand what to ignore.</li>
</ul>
</p>
<h4>Of Note...</h4>
<p>
Charlie identified a Tomcat filter (valve) called CralwerSessionManager that can truncate a session for an indexing bot to be very short-lived. That could be <em>very</em> useful for high traffic sites as those of you who have written extensive bot checking code to shorten the session timeout can attest. This would handle that automatically (if I understand what he's saying) at the server app level. He also identified some "listeners" that look interesting. I'm really looking forward to understanding more about Tomcat.
</p>
<p>
One of the new features is to save sessions after a restart. to do this you have to modify context.xml by uncommenting a node and adding a path. The Muse will try to write this up in his own style at some point. The gotchas are that it has to be a graceful shutdown (not a crash) and it can be a lengthy process which may negate the purpose on a busy server with a great many sessions. Still, under certain circumstances it would be a real plus I think. Another option is to use the built in Tomcat Persistent Session Manager which is able to save to a database or individual files.
</p>
<h4>Resources</h4>
<p>
As usual Charlie's presentation is replete with tons of URL resources so I'm going to point you to his site <a href="http://www.carehart.org/presentations/#cf10tomcat">Carehart.org</a>.
</p>
cfobjectiveFri, 18 May 2012 14:35:00 -0500https://www.coldfusionmuse.com/index.cfm/2012/5/18/Muse-Reviews-Charlie-Arehart-on-ColdFusion-10-Server-Options-at-CfobjectiveMuse Review - Code Reviews With Jim Priest at Cfobjectivehttps://www.coldfusionmuse.com/index.cfm/2012/5/17/Muse-Review--Code-Reviews-With-Jim-Priest-at-Cfobjective
<p>
Great workshop on Code Review by Jim Priest (<a href="http://thecrumb.com/">The Crumb</a>). Jim demoed a product called <a href="http://reviewboard.org">Review Board</a> a product that integrates with Git or SVN and provides a mechanism and workflow for reviewing code in a team. Like coding standards it is probably more important that you do review code than exactly <em>how</em> you review it. Spending some time looking at what you and your team is doing with an eye toward improvement and consistency. Great Seminar Jim - I learned a lot.
</p>
<p>
Addendum - Jim also mentioned <a href="http://www.smartbear.com">Smart Bear</a> as a good resource for code reviews.
</p>
cfobjectiveThu, 17 May 2012 16:35:00 -0500https://www.coldfusionmuse.com/index.cfm/2012/5/17/Muse-Review--Code-Reviews-With-Jim-Priest-at-CfobjectiveMuse Review - Intro to HTML 5 With Ray Camden at Cfobjectivehttps://www.coldfusionmuse.com/index.cfm/2012/5/17/Muse-Review--Intro-to-HTML-5-With-Ray-Camden-at-Cfobjective
<p>
Sitting in on the first third of Ray's HTML 5 intro. He has a "buttload" of code (his word - one wonders about the capacity but I digress) and with his usual efficiency he has posted all his sample code on github <a href="https://github.com/cfjedimaster/HTML-Code-demos">here</a>. Great quote from Ray.<br>
<br>
<em>"Whenever I hear descriptions of HTML 5 it reminds me of a drug commercial. It's one sentence of benefits followed by 2 minutes of horrible side effects."</em><br>
<br>
Instead of focusing on esoteric things like canvas, Ray's preso spends a lot of times on form features. This is one of <em>the best</em> things about HTML 5. There are simple and straightforward ways to make forms more usable. A great example is the autocomplete implemented entirely on the client side and entirely without Javascript.
<code>
<input type="text" name="foo" list="gurus">
<datalist id="gurus">
<option>Ray</option>
<option>Ben (the elder)</option>
<option>Ben (the younger)</option>
<option>Sean</option>
<option>Muse</option>
<option>
</datalist>
</code><br><br>
The really cool thing is that datalist is ignored by older browsers and picked up by more modern browsers. It sures beats having to gin up some Ajaxian bindings (not that there's anything wrong with that). There's still be times when you need use Ajax for autocomplete when you have a query to run or a huge dataset. But it sure makes those simple select fields easier and provides a great user experience. Remember you have to have that Doctype added so your browser knows to try to render in HTML 5.
</p>
<p>
As usual <a href="http://www.raymondcamden.com/">Ray</a> teases out some of the most practical and useful tidbits - things that can be used immediately. Make sure and check out the excellent samples at github. Ray also recommends <a href="http://www.caniuse.com">Can I Use</a> - a great site to test your HTML version code.
</p>
cfobjectiveThu, 17 May 2012 12:49:00 -0500https://www.coldfusionmuse.com/index.cfm/2012/5/17/Muse-Review--Intro-to-HTML-5-With-Ray-Camden-at-CfobjectiveMuse Reviews - Key Note, Day One at Cfobjectivehttps://www.coldfusionmuse.com/index.cfm/2012/5/17/Muse-Reviews--Key-Note-Day-One-at-Cfobjective
<h4></h4>
<p>
Rakshith Naresh and Hemant Khandelwal from Adobe did an outstanding job at the keynote. They are not the most compelling speakers but like a lot of engineers their eyes light up when they engage on the topic of their favorite technology (in this case ColdFusion 10). I was impressed by the litany of efforts and initiatives they have underway - and the general direction of the platform. Key notes (some of this old news):
<ul>
<li>Extensive HTML 5 support (video, sockets, canvas, charts)</li>
<li>Major security enhancements</li>
<li>Better update and upgrade paths with automatic install and rollback from within the admin.</li>
<li>More thought and effort toward expanding the number of developers through extending Java skills as well as supporting the community through events like CF Objective.</li>
</ul>
I'll have more to say throughout the week as I visit some workshops. Best quote was from Ben Forta (via video) who said "ColdFusion supports HTML 4, HTML 5,...every version of HTML. ColdFusion supports HTML 6 and it's not even been invented yet".
</p>
<p>
The big news or announcement was that ColdFusion 10 will be available on the AWS cloud as an AMI in the near future in both medium and large instances with a price point of 60-80 dollars per month. The Muse thinks this will make a VPS deployment within reach of some folks who currently suffer through shared CF hosting nightmares.
</p>
cfobjectiveThu, 17 May 2012 12:11:00 -0500https://www.coldfusionmuse.com/index.cfm/2012/5/17/Muse-Reviews--Key-Note-Day-One-at-CfobjectiveCfobjective - the Socialhttps://www.coldfusionmuse.com/index.cfm/2012/5/17/Cfobjective--the-Social
<h4>Cf.Ojective - the Social</h4>
<p>
Last night was the reception for Cfobjective. I met some old friends as well as some fantastic new folks. CF Webtools standouts Ed Bartram, Jason Durham and Denny Springle were all there schmoozing with the geek crowd. Dan Skaggs spoke with me about an interesting new product that I'll have to keep an eye on. I met a fellow named Steve who was originally from Ireland but his brogue was slightly disappointing (come on Steve - don't assimilate!). I spent some time With Jordan and Mike the guys from the outstanding <a href="https://www.viviotech.net/">Vivio Tech</a> (check them out if you don't already know who they are - they have a booth). I caught up with Dan Vega. I met Steve Withington (again) and finally ended up the night hob-knobbing with <a href="http://www.carehart.org/">Charlie Arehart</a>, Scott Strutz (or Nathan Strozz... something with a single syllable "st" sound) and (a new frend) Darren Pywell who brought us <a href="http://www.fusion-reactor.com/fr/">Fusion Reactor</a>.
</p>
<p>
Like most geek crowds we are a largely male audience, but this year's conference features a lot more women than I remember. Actually that could be my imagination but it's helped along by the fact that virtually all of them sat at the same table. That's one single table (if that gives the rest of you an idea of volume). The rest of the room gave them about 10 foot of padding and I saw many a male developer circling carefully. The Muse - who's lack of inhibition is exceeded only by a lack of modesty (and who's old enough to have fathered most of the folks here)- sauntered up and chatted with them for a while. By the time I left the reception they had at least one non-estrogen dominant member (I'm going on looks here) so perhaps they were making progress... or perhaps he was an unwelcome intruder (ticks are bad in MN). I couldn't tell.
</p>
<p>
In any case it's shaping up to be a fantastic conference and CF 10 is all the buzz. I'll be checking in throughout the day so keep an eye out for new tidbits. Remember, I'm wandering around in a Red shirt trying my best to be gregarious. Make sure and say hello!
</p>
cfobjectiveThu, 17 May 2012 10:36:00 -0500https://www.coldfusionmuse.com/index.cfm/2012/5/17/Cfobjective--the-Social