Community Member Profile
- Profile: /members/176-David-Stamm.htm
- Comments: 10
- Points: 1
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... 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... 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 l... 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 bus... 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! Tak... 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 integr... read more »
-
Ask Ben: Streaming Binary Data From The Database (BLOB) To The User Using ColdFusion
Posted on Jun 30, 2008 at 10:15 AM
I second the motion - great screencasts. It looks like you're using the Jing software to create them. How are you liking it? Getting back to the topic of streaming binary files... if your HTTP server uses mod_rewrite or isapi_rewrite, you can use URL rewriting to pretty up the URL in the... 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 pres... 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 wo... read more »



