Tom K
Member since Dec 11, 2008
- Profile: /members/229-tom-k.htm
- Comments: 8
Recent Blog Comments By Tom K
-
Installing FusionReactor APM Showed Me A Huge Oversight In My ColdFusion Queries
Posted on Feb 24, 2022 at 8:39 PM
I really dislike the whole "index.cfm" thing, so use your cfc to set it dependent on route, i.e javaAgentHelper.transactionSetName( req.routeName ) - that way I know which actual path is slow, rather than it just defaulting to index.cfm. Makes for some colourful graphs too.. ... read more »
-
Why I've Been Merging Microservices Back Into The Monolith At InVision
Posted on Dec 21, 2020 at 2:39 PM
Great insight Ben, thank you :)... read more »
-
Experimenting With Virtual Indexed Columns In MySQL 5.7.32 And Lucee CFML 5.3.7.47
Posted on Dec 9, 2020 at 9:51 AM
I'd be interested to see what your current solution is for INNODB table scans when it comes to using COUNT().... any tips?... read more »
-
ColdFusion Performance Experiment: Caching Per-Application Settings In Lucee CFML 5.3.3.62
Posted on Nov 13, 2019 at 10:10 AM
@Ben, Ah gotcha. Guess I'd never thought much about the this scope being re-evaluated etc!... read more »
-
ColdFusion Performance Experiment: Caching Per-Application Settings In Lucee CFML 5.3.3.62
Posted on Nov 13, 2019 at 9:24 AM
I must have completely misunderstood the application scope then - I thought the whole point of the application scope was that it wasn't re-evaluated on every request, and only on an application reload or timeout (triggered differently depending on framework).... read more »
-
How Do You Populate Shared Views In A Complex Layout Using MVC?
Posted on Jul 12, 2012 at 11:11 AM
@Ben, Yes, but you have the option of doing it once in the master controller.cfc (which all other controllers extend) and using super.init() OR, using it in each controller's own init(). With filters you can specific 'except' or 'only' if you only want to specify a subset of views.... read more »
-
How Do You Populate Shared Views In A Complex Layout Using MVC?
Posted on Jul 12, 2012 at 11:02 AM
In cfWheels, I'd use a filter() in the controller's init() function, which gets the data required for the sub sections. i.e getSidebar() Then use includePartial() to include the sidebar; the joy of this is this can be cached seperately to the main content in cfwheels :)... read more »
-
Preventing Spam Bot Form Submissions With ColdFusion (Revisited)
Posted on Aug 28, 2007 at 4:57 AM
You're forgetting accessibility - what if I have images turned off? what if I'm using a Braille reader (which may not bother with loading images)? :)... read more »