Tom Jenkins
Member since Aug 26, 2009
- Profile: /members/4176-tom-jenkins.htm
- URL: http://www.orangecactus.co.uk
- Comments: 14
Recent Blog Comments By Tom Jenkins
-
CreateObject() In ColdFusion 9 No Longer Requires The Type Parameter
Posted on Jul 2, 2010 at 4:57 AM
@Ben Would not giving the type in createObject be the same as not providing a scope for a scoped variable? and have the same problems attached? or does it just assume that if no type is provided then it will be a component?... read more »
-
The Tick On ColdFusion
Posted on May 17, 2010 at 8:41 AM
Haha my boss just needed an urgent explanation for a client who wants to know why we still use CF ... I emailed him the above image :D Perfect timing :D... read more »
-
Sending Mail And Monitoring Bounce Backs With ColdFusion And Postmark
Posted on Apr 15, 2010 at 4:24 AM
@Ben I had a look at this yesterday afetr you mentioned in your last article; it is indeed very powerful and pretty easy to use. I also found this a pretty nice CFC that a guy named Jonathan Lane has created to integrate into there API: http://github.com/wildbit/postmark-coldfusion :)... read more »
-
GMail Seems To Ignore The Return-Path Header Defined By The CFMail FailTo Attribute
Posted on Apr 14, 2010 at 9:30 AM
@James Without sounding stupid what to those extra mail params actually do? i.e. what benefit if any do they provide? We use the code below to retrieve the bounced email which seems to to work pretty well but, admittedly, isn't perfect by any stretch: <cfset myIndex = REFindNoCase("([a-zA-Z_0... read more »
-
GMail Seems To Ignore The Return-Path Header Defined By The CFMail FailTo Attribute
Posted on Apr 14, 2010 at 4:15 AM
Completely agree Ben on your point it depends on the recipients SMTP server. I've developed a CF mass mailer over the last year or so and in testing and doing lareg email sends, we have found that most servers do use the failTo address but some use the replyTo to send their bounces to. It's annoyin... read more »
-
Using Base64 Canvas Data In jQuery To Create ColdFusion Images
Posted on Mar 12, 2010 at 4:15 AM
Just seen a very similar concept here: http://mrdoob.com/projects/harmony/ Which they say: "As it works on webkit, he made sure it worked on the mobile Android and iPhone browsers. No multi-touch as yet, but the touch UI still makes a nice input mechanism." Very cool stuff ... just need to fin... read more »
-
jQuery 1.4 Released - Hella Sweeeet!
Posted on Jan 15, 2010 at 6:06 AM
Looks sweet! Just loaded it into a couple of intranet developments we're doing and the pages with heavy jQuery ... loading times have sped up 10 fold! Damn I love jQuery :D... read more »
-
ColdFusion vs. XYZ - It Finally Got Physical
Posted on Oct 5, 2009 at 5:28 AM
@Ben hehe noticed you're sporting the war wound on the CF site today http://www.adobe.com/products/coldfusion/ > community feedback (centre right) > your video :D... read more »
-
jQuery's Passes Itself As An Argument To The "Ready" Event Callback
Posted on Sep 27, 2009 at 6:23 AM
@Ben That is awesome! I run into that problem all of the time as a lot of our older applications run the Prototype library which uses $. I always end up replacing $ to "jQuery" using the noConflict method ... not now though :) Good tip!... read more »
-
Ask Ben: Displaying A Blog Teaser (Showing The First N Words)
Posted on Sep 23, 2009 at 12:24 PM
@John, Nice thinking, I hadn't taken into account the length of text could be huge and that working "backwards" would be quicker. Also changed it to arrays as I find them easier to manipulate. Here's a quick knock up of my solution ... just for fun (and I'm bored at work :P) <cfset arr=ListToAr... read more »
-
Ask Ben: Displaying A Blog Teaser (Showing The First N Words)
Posted on Sep 23, 2009 at 11:22 AM
@Ben you're like this regular expression master :P It's funny though how peoples minds works in different ways; for me the first thing that came into my head to solve this problem was to simply use ListLen with a delimiter of " ". That would give the word count. Then loop through anything above yo... read more »
-
Ask Ben: Creating ColdFusion Templates On The Fly
Posted on Sep 21, 2009 at 10:16 AM
@Ben a method I've found for doing a similar thing is to Evaluate and then immediately DE the content. So for example: <cfset name = "Tricia" /> <cfset templateCode=Evaluate(DE('<cfset name = "#name#" /> <cfinclude template="./display.cfm" />'))> <cfset fileWrite("#uploa... read more »
-
Ask Ben: Getting The Domain Name From The Referer URL
Posted on Aug 26, 2009 at 9:53 AM
Some nice methods there Ben; I certainly didn't know about the JAVA method. For a similar thing, I've gone down the following route: <cfset referer = " http://www.shemuscle.com/category/anonymous/ " /> <Cfset a=ListToArray(referer,"/")> <cfdump var="#a[2]#"> This is obviously ass... read more »