Michael Sharman
Member since Dec 11, 2008
- Profile: /members/139-michael-sharman.htm
- URL: http://www.chapter31.com/
- Comments: 17
Recent Blog Comments By Michael Sharman
-
Random Thought: The Database Bottleneck And Elegance
Posted on Nov 29, 2008 at 6:01 PM
@Rick >The 2-tab index is almost useless. (And, in some cases, can actually make your query run slower.) I thought that a higher "selectivity" of a value in a column will mean that the query optimiser will ignore and given index (on that column) because there are too many values to be unique en... read more »
-
OOPhoto: VARIABLES vs. VARIABLES.Instance - When And Why?
Posted on Sep 15, 2008 at 8:25 AM
@Justin - Not sure what you mean there, could you elaborate? 1. Performance hit for a simple 1 level struct? Would this even be a blip on the radar even under heavy load? 2. Part of the benefits of having this 2nd level "key" under variables includes encapsulating specifics of your object, things l... read more »
-
OOPhoto: VARIABLES vs. VARIABLES.Instance - When And Why?
Posted on Sep 14, 2008 at 6:03 AM
I'm in agreement with Henry and Barry (as they mentioned briefly), variables.instance is a great way to have a separate "namespace" for your internal class variables. This can be handy for several reasons including; - a dump() to easily see your entire class "state" - separate your class variabl... read more »
-
Subversion - Cleanup Failed To Process The Following Paths
Posted on Aug 20, 2008 at 5:10 PM
@macbuoy - the good thing about a hosted service is that you never need to worry about installation or maintenance or security patches etc. That's the job of the service! The other thing is of course piece of mind. If your machine dies you know your code is nice and safe in a fully redundant enviro... read more »
-
Multi-Step Form Demo In ColdFusion
Posted on Jun 17, 2008 at 7:59 AM
Hi Ben, Wondering why you use Duplicate() for the URL vars: <cfset REQUEST.Attributes = Duplicate( URL ) /> Won't the URL struct be a single layer only, so no need to get a "deep" copy? Nice tutorial.... read more »
-
HostMySite.com Has The Best ColdFusion Hosting
Posted on May 12, 2008 at 5:07 PM
@Ben - Glad everything is going great for you. Unfortunately I experienced extremely poor stability on their shared plans (to be clear this was shared...NOT a VPS). http://www.chapter31.com/2007/08/22/hostmysite-not-quite-as-stable-as-id-like/ The shared JRun instance seemed to be restarted an a... read more »
-
CFModule Works With Non-CFM Files
Posted on Feb 26, 2008 at 4:45 PM
I suppose that's because everything is already running (and being parsed) by the CF engine. You could use any file extension and it'll probably work. Of course everything operates as a 'custom tag' would, including doubling the output if you close the cfmodule etc... read more »
-
CFSaveContent And THISTAG.GeneratedContent Tip
Posted on Feb 19, 2008 at 2:14 AM
Another good tip Ben, thanks... read more »
-
What Does It Mean To Be A CSS Class?
Posted on Feb 11, 2008 at 4:49 PM
@Ben I agree with you re: @Britt's statement. It is more than likely a lot better performance to simply check the DOM for an 'id', but searching/traversing for 'class' can be invaluable.... read more »
-
ColdFusion CFQueryParam List / Null Attributes Do Not Require YesNoFormat() (Thanks Elliott Sprehn!)
Posted on Jul 17, 2007 at 6:47 PM
Nice one Ben, for more reading: http://www.chapter31.com/2007/02/04/cfqueryparam-and-conditional-handling-of-nulls/... read more »
-
ColdFusion Insert() - How Did I Miss This Function?
Posted on Jul 16, 2007 at 6:39 PM
Ha Charlie! I KNEW I'd seen this post before!... read more »
-
Regular Expression Quote Makes Finding Literals Easy In ColdFusion Search
Posted on Jun 21, 2007 at 7:42 PM
That's it Ben, I'm getting you a Maria Bello calendar for christmas :)... read more »
-
Learning ColdFusion 8: CFZip Part I - Zipping Files And Directories With CFZip
Posted on Jun 21, 2007 at 7:13 PM
Fantastic post Ben, very thorough! The new functionality in CF8 is truly exciting, a huge release indeed.... read more »
-
Boyan Kostadinov's Totally Sweet CFQuickDocs Bookmarklet
Posted on Jan 16, 2007 at 4:44 PM
Agreed Ben, CFQuickDocs is super quick and super sweet. Livedocs can take forever!... read more »
-
2007 New Years Resolutions
Posted on Jan 1, 2007 at 8:54 PM
Nice one Ben, it's good to be aware of your environment and focus on what makes you happy always...not just in January of every year! Definitely keep blogging, your posts are well thought out and insightful. I for one get a lot out of them :) Take care and watch more movies (one of my favourite pa... read more »
-
CFSilent vs. CFContent Reset = True
Posted on Oct 26, 2006 at 7:21 PM
Hi Ben, Just curious, I've used cfsetting a lot for this so I was wondering on what your thoughts were for: <cfsetting enableCFoutputOnly = "true"> ... [ColdFusion logic only, no output] ... <cfoutput><!DOCTYPE html PUBLIC... ... [HTML output] ... </cfoutput> <cfse... read more »