Community Member Profile

Tim Leach
Member since Feb 11, 2009

Recent Blog Comments By Tim Leach

  • Enable And Disable jQuery Event Handlers (Rather Than Bind And Unbind)

    Posted on Dec 5, 2009 at 11:16 PM

    I'm not sure I totally agree with you on this. Though maybe it's just the specific example. In the example above, I think it make more logical sense to make the callback smart enough to not hide an invisible element, and not have a proxy that needs to add in an extra step to figure out if i... read more »

  • jQuery Powered Mine Sweeper Game

    Posted on Oct 28, 2009 at 2:04 PM

    ..or are we completely missing the forest by getting stuck on the actual first click logic of minesweeper, and forgetting the awesomeness of the fact that Ben did a really snazzy job at emulating this game.... read more »

  • jQuery Powered Mine Sweeper Game

    Posted on Oct 28, 2009 at 2:00 PM

    I was wrong about the corner, but this says it's true: http://www.techuser.net/mineclick.html... read more »

  • jQuery Powered Mine Sweeper Game

    Posted on Oct 28, 2009 at 8:55 AM

    That is very cool. Only one feature is missing. (If you care to add it). I heard that the original MineSweeper has logic built in to always leave the bottom right corner free, and if the first click is on a mine, it moves the mine to that corner. Thus preventing any one click losses. Though... read more »

  • ColdFusion vs. XYZ - It Finally Got Physical

    Posted on Aug 10, 2009 at 11:31 AM

    Just more proof he's living in the dark ages where violence is the only way to resolve conflict. We should pity him for not having been enlightened on the "True way" of CF.... read more »

  • Learning ColdFusion 9: Using CFQuery In CFScript Can Enable SQL Injection Attacks

    Posted on Aug 7, 2009 at 6:28 PM

    @Adam, I had looked at transfer, and actually already build a much more simplified DB handler before I'd heard of it. I was just commenting on how for complex queries in a past project this would have been a perfect fit, and may still be for those who don't want to wrap their head around so... read more »

  • Learning ColdFusion 9: Using CFQuery In CFScript Can Enable SQL Injection Attacks

    Posted on Aug 7, 2009 at 3:12 PM

    It just dawned on me the power that could be used by keeping you SQL, and your params separate.. (Partially cause I ran into this recently.) Having params like :Varname, mean you can have a central store for your SQL (either Object-wide, Application-wide, or.. dare I say, DB server specific... read more »

  • Learning ColdFusion 9: Using CFQuery In CFScript Can Enable SQL Injection Attacks

    Posted on Aug 7, 2009 at 2:54 PM

    @Matt, No Problem, I realized after you challenged my answer that I should have been more clear on what problem I was solving. Because it's not a stretch to assuming I was speaking generally, and your response was absolutely correct. Next time I'll be sure to make better reference to... read more »

  • Learning ColdFusion 9: Using CFQuery In CFScript Can Enable SQL Injection Attacks

    Posted on Aug 7, 2009 at 1:48 PM

    @Matt I"m not saying not to use cfqueryparam, in fact I think that is the best option, I was jut addressing Ben's Comment where he was saying: Quote:: Perhaps, something that might be possible would be to add a boolean flag to the execute method: execute( ignoreMaliciousSQL... read more »

  • Learning ColdFusion 9: Using CFQuery In CFScript Can Enable SQL Injection Attacks

    Posted on Aug 7, 2009 at 12:26 PM

    Two comments: 1. I don't agree with this statement: "As you can see in the output, ColdFusion auto-magically escapes single quotes contained within variables evaluated inside of a CFQuery tag. This is ColdFusion's way of preventing you from opening yourself up to a SQL injection attack... read more »

  • Attaching ColdFusion Error Reports To Avoid GMail Spam

    Posted on Jul 16, 2009 at 3:14 PM

    I do the same thing, but the biggest issue I have, is web bots crawling the site, and causing errors by mixing and matching url strings. This will be less of an issue on newer applications that are more robust, but do you have any method for filtering out web bots that throw errors, from a real h... read more »

  • How To Move XML Data Into A Database Using ColdFusion

    Posted on Jul 10, 2009 at 10:02 AM

    @Josh Yes, anything is possible. That even falls within "reasonable". Though I don't know how practical. You can pull the names of the final XML leaves, and write a create table from them. Though I'd want to have very well structures XML, and a well defined structure before attempting... read more »

  • Adobe Announces That HomeSite Is Officially Dead

    Posted on Jul 3, 2009 at 12:42 PM

    Noooooooooooooo!! I mean... Shoot. I still haven't been moved from Homesite+ 5.5. I didn't like Dreamweaver, and I missed too much when I was using Eclipse. I always knew in the back of my mind it was dead, but I still love it so. I really, really hope Bolt is all it's cracked up to b... read more »

  • Contextual CSS Is Good When You Know Everything About Your Content

    Posted on May 27, 2009 at 8:22 PM

    Maybe this is a no no, but for me, when I want more intelligence in my CSS, I use some jQuery helpers. Obviously I have a base style sheet that covers 90% of what I'm after. (Maybe more like 99%.) But for that 1% where I need something specific, and I don't want to hope it works cross browser I:<... read more »

  • CFM Templates And Remote CFCs - They're All Just ColdFusion Page Requests

    Posted on May 19, 2009 at 4:03 PM

    @Ben, The "Pain" for me was MVC. ColdBox kinda forces me to code that way. That and layout management, coming from FuseBox my apps feel naked without layout wrappers like I'm used to.... read more »

  • CFM Templates And Remote CFCs - They're All Just ColdFusion Page Requests

    Posted on May 19, 2009 at 3:08 PM

    @Ben, Let me first say, I appreciate what you are doing. I really think it's great how you'd like to code "All natural". I'm a big fan of keeping as much control as possible, and letting the language do what it was designed to do. (Rather then pump everything through a framework.) But... read more »

  • CFM Templates And Remote CFCs - They're All Just ColdFusion Page Requests

    Posted on May 19, 2009 at 2:42 PM

    I moved to ColdBox for my framework, and never looked back.... read more »

  • jQuery Comments() Plug-in To Access HTML Comments For DOM Templating

    Posted on Apr 15, 2009 at 10:21 AM

    I would think that over all, the jQuery.data() would be the best way to store something like JSON. I'm still really liking the idea of having my html snippet templates in comments rather then a hidden element someplace. Though maybe another thought, this would also be a great way for... read more »

  • Performing ColdFusion Processing After A CFLocation Tag

    Posted on Apr 1, 2009 at 2:42 PM

    Reminds me of the old CF_location tag that was kicking around especially in the FuseBox circles, that did the same thing, which helped solve an earlier bug of Cookies not being set on a cflocation'ed page. One thing that I wonder about though, is in many frameworks the content is saved as a... read more »

  • ColdFusion Bug: Arrays, ArrayLen(), And Implicit Structs

    Posted on Mar 26, 2009 at 3:45 PM

    Here's something weird: <cfset arrData[ ArrayLen( arrData ) + 1 ] = ""> Does work for me, it's only when passing an implied structure that throws it off. For me I use a simple function to get around this which also works as seen here: <cffunction name="Echo" access... read more »

Member Account Kinky Solutions Shop