Skip to main content

David Stamm

Member since Dec 11, 2008

Recent Blog Comments By David Stamm

  • Ask Ben: Optimizing Form Inputs For Numeric Keypad Usage

    Posted on Sep 25, 2008 at 3:46 PM

    @Dan, Interesting - I've not encountered that issue. And I definitely didn't encounter that issue when testing this code on IE6. Could this be an issue that was only addressed in a recent build of jQuery? One other thing: putting "e.which == 13" without commenting what 13 stands for is just aski... read more »

  • Ask Ben: Optimizing Form Inputs For Numeric Keypad Usage

    Posted on Sep 25, 2008 at 2:50 PM

    @DB, Your code results in an error when you try to "tab" (with the enter key) from the next-to-last input to the last. You still need to check to see if you're at the end of the list. Also, you don't need to fire e.preventDefault(). You only need to return false, and jQuery handles the rest. @B... read more »

  • Ask Ben: Optimizing Form Inputs For Numeric Keypad Usage

    Posted on Sep 25, 2008 at 11:53 AM

    If you haven't tried it, I highly recommend checking out the jQuery Hotkeys plugin: http://code.google.com/p/js-hotkeys/ This developer has done a lot of the legwork in capturing keyboard events across browsers. The live demo is quite impressive.... read more »

  • OOPhoto - A Painful Transition To Object-Based Controllers

    Posted on Jul 24, 2008 at 10:23 AM

    I'm confused about something. I thought the model-view-controller pattern prescribed a *single* controller for an application. The details vary widely, but the controller basically enforces low coupling by translating all requests from the view into method calls in the model. Lots of business ob... read more »

  • OOPhoto - Modeling The Domain In Steps (Round IV)

    Posted on Jul 15, 2008 at 12:41 PM

    I think this particular problem can be managed by separating the model from the implementation. Looking at the model, all you're doing is creating objects (photos and comments) and associating them with other objects. As far as business logic is concerned, that's all you need to know! Take the us... read more »

  • OOPhoto - Domain Modeling By Persona (Round III)

    Posted on Jul 14, 2008 at 2:00 PM

    It seems to me you are making serious progress here, Ben. Rock on! I can see that you are getting frustrated with this. I would recommend that you narrow your focus temporarily. You are attempting simultaneously to wrap your head around domain modelling, persistance, transactional integrity, and... read more »

  • Tracking Data Audits In ColdFusion

    Posted on Jun 25, 2008 at 12:00 PM

    @Ben, Ain't no thang, maestro. :) I learned much through our trials!... read more »

  • Tracking Data Audits In ColdFusion

    Posted on Jun 25, 2008 at 11:53 AM

    @Tom, I agree that it's not immediately obvious what's going on when the error says that check constraint CHK_13245 has been violated. :) But I do appreciate the lack of ambiguity - there is only one constraint with that particular unhelpful name. @Ben, I am not trying to prescribing the best a... read more »

  • Tracking Data Audits In ColdFusion

    Posted on Jun 25, 2008 at 11:22 AM

    "I believe this to be part of the business logic, not the persistence logic." You raise an interesting design question, Ben. Separating business logic from persistence is clearly a winning strategy, but does that necessarily imply that the database should be a dumb container? I've worked on a few... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel