Community Member Profile
- Profile: /members/3103-Brian-Swartzfager.htm
- URL: http://www.thoughtdelimited.org/thoughts
- Comments: 20
- Points: 217
Recent Blog Comments By Brian Swartzfager
-
Branching Logic vs. Guard Logic When It Comes To Function Control Flow
Posted on May 17, 2011 at 2:30 PM
One of the places I find "Guard Logic" to be useful is in my Model-Glue apps. In Model-Glue, if a certain condition is met, you can issue a statement in your controller function to add a "result" to the event object. That result ends up acting like a return statement/interru... read more »
-
Atlas Shrugged, Part I - The Movie
Posted on Apr 22, 2011 at 10:04 AM
@Tim: Dammit, watching Ninja Assassin (on my DVR) was my fallback to seeing Atlas Shrugged. So if that also sucks, what am I supposed to watch this weekend?? :)... read more »
-
Atlas Shrugged, Part I - The Movie
Posted on Apr 22, 2011 at 9:56 AM
Sorry to hear that it sucked. Take some small solace from the fact that you have at least spared me from seeing it, because I was still considering it. I have a feeling that unless Part II has already been filmed, the failure of Part I dooms any chance of a Part II ever coming out (at leas... read more »
-
Exploring HTML5's localStorage - Persistent Client-Side Key-Value Pairs
Posted on Jan 27, 2011 at 5:10 PM
Hey, Ben, I just saw someone mention this on Twitter: http://the-m-project.net/ It uses HTML5 techniques (especially localStorage) and the jQuery Mobile framework to create mobile web apps with persistent data. Might be wort... read more »
-
Sunday Hackathon: ThingsIGive.com - A Digital Journal Of Your Awesome Self
Posted on Jan 24, 2011 at 11:05 AM
That's a pretty interesting idea, Ben. We rarely think about how taking the time to encourage people or share our input with them is an act of giving.... read more »
-
The Arbor Day Web Development Team Planted Me Some Trees
Posted on May 19, 2010 at 4:53 PM
Very cool.... read more »
-
Happy Holidays From Ben Nadel And BenNadel.com
Posted on Dec 24, 2009 at 10:30 AM
Happy holidays to you as well, Ben!... read more »
-
NYC + Snow + ColdFusion + jQuery = Winter Wonderland
Posted on Dec 20, 2009 at 11:32 AM
Who did you drag out there to take the final shot (or was that taken with a timer)? :)... read more »
-
Using $Variable In jQuery Code Is Just Hungarian Notation
Posted on Dec 10, 2009 at 9:14 AM
I do tend to use the "$" to prefix any variable that represents a jQuery object (as opposed to a string or numeric variable), but I also try to make the variable name descriptive. For example, if I wrote a click event handler for a hyperlink and I wanted to copy the clicked hyperlink to a variab... read more »
-
What Request Data Does ColdFusion Builder Post To Extension Handlers?
Posted on Nov 19, 2009 at 3:49 PM
I _think_ each extension also has an application scope you can use to store persistent data as you navigate from step to step (I could be mistaken; it's been awhile since I've played with extensions and I don't have my notes with me).... read more »
-
A Moment That Touched Me - The Fountainhead
Posted on Nov 3, 2009 at 2:19 PM
"I believe that part of her (Rand's) philosophy was that one could not pursue things that asked others to sacrifice themselves." Agreed. That's one of the important points people tend to overlook when they complain about the selfish/self-interested nature of Objectivism. Others should not p... read more »
-
A Moment That Touched Me - The Fountainhead
Posted on Nov 2, 2009 at 3:28 PM
That's definitely a significant moment in the book. It's one of the few times where Roark really gets angry: he never shows much anger with any of his opponents in the book because they're not worth his anger. That said, it's sometimes hard to practice what Roark says at the beginning of... read more »
-
Passing A Function To jQuery's Attr() Method For Implicit Iteration
Posted on Oct 7, 2009 at 11:13 AM
Interesting. Does the book say if this particular method is faster/more efficient than using an each() loop?... read more »
-
Viewing jQuery DOM Event Bindings With FireBug
Posted on Oct 5, 2009 at 11:21 AM
That's an interesting tidbit of information, Ben: thanks for sharing it.... read more »
-
ColdFusion Xml Nodes Have An XmlNodes Property
Posted on Aug 10, 2009 at 10:18 AM
Interesting that it also picked up the comment line within the XML. Guess it doesn't discern the comment syntax as being special/not meant to be data.... read more »
-
Why My Queries Hate Application Service Layers
Posted on Jun 18, 2009 at 10:41 AM
But, Ben, if your function or view needs data from more than one table, a well-written query with the proper joins gets you the needed data with one call to the database rather than two or three separate calls. Avoiding multi-table queries (which is what you seem to be contemplating here) is onl... read more »
-
ColdFusion Tag Parameters Can Be Included In Separate Files (Thanks Mark Drew!)
Posted on Jun 17, 2009 at 11:31 AM
One possible use that came to mind was building a query testing tool: you'd have a directory of include files with different SQL statements and just loop through them to make sure they worked properly. The oddness of it just really bothers me for some reason. The normal approach is to cre... read more »
-
ColdFusion Tag Parameters Can Be Included In Separate Files (Thanks Mark Drew!)
Posted on Jun 17, 2009 at 11:15 AM
Definitely an interesting technique, but I've been mulling it over for the past several minutes and I can't come up with a situation where you would want to do something like this. Can you see a use for this, Ben?... read more »
-
jQuery And Script Tags As Data Containers
Posted on Jun 5, 2009 at 2:25 PM
"This metadata() plugin seems pretty cool, so I looked it up to see how it worked (I like to dig into cool things)." Funny, I could have sworn Todd Raffery and I tweeted you about the metadata() plugin when you were trying out the data() function in jQuery many moons ago. Weren't you liste... read more »
-
Converting CSS Data To XPath Using ColdFusion
Posted on Mar 16, 2009 at 11:00 AM
Ah, I was wondering if your next move was going to be figuring out a way of feeding a standard block of CSS into your XHTML style system. Didn't occur to me that you could treat the CSS as a series of list elements delimited by the closing curly bracket: nice work!... read more »



