Community Member Profile

Bob Silverberg
Member since Dec 11, 2008

Recent Blog Comments By Bob Silverberg

  • ColdFusion 9 CFScript Comments Handle Name-Spaces... And Just About Anything

    Posted on Jan 26, 2010 at 10:00 AM

    @Ben and Dan, We'll just have to agree to disagree about that one, boys ;-) I understand that they might not look appealing, but I personally abhor the idea of putting code that affects execution into what appears to be a comment. Perhaps I'll come around one day.... read more »

  • ColdFusion 9 CFScript Comments Handle Name-Spaces... And Just About Anything

    Posted on Jan 26, 2010 at 9:41 AM

    These all work in annotation-sytle attributes, but some don't work in script-only inline attributes. For example, /** * @mxunit:expectedException "myException" */ function anMXUnitTest() {} works, but function anMXUnitTest() mxunit:expectedException="myExcep... read more »

  • NYC + Snow + ColdFusion + jQuery = Winter Wonderland

    Posted on Dec 22, 2009 at 3:36 PM

    Give it a bit of time, man. The itchiness only lasts a short time.... read more »

  • NYC + Snow + ColdFusion + jQuery = Winter Wonderland

    Posted on Dec 22, 2009 at 9:25 AM

    Awesome! http://whiskerino.org/2009/beards/elegantchaos/archive/... read more »

  • NYC + Snow + ColdFusion + jQuery = Winter Wonderland

    Posted on Dec 21, 2009 at 8:58 PM

    Awesome beard dude! Keep it up. Plus, it's hard to believe that everyone else has so much snow and we (in Canada) have none.... read more »

  • My BFusion / BFLEX Keynote Address

    Posted on Oct 24, 2009 at 2:47 PM

    Amazing Ben! I wish I had been there to hear it from you.... read more »

  • How Much Should Our ColdFusion Applications Actually Know About ORM?

    Posted on Sep 9, 2009 at 9:19 AM

    @Ben, Maybe I'm missing something, but I'm not sure what you mean about the transaction issue. I don't see whether you encapsulate ORM access or not having anything to do with how you choose to control transactions. In a service, for example, you could still do something like:... read more »

  • How Much Should Our ColdFusion Applications Actually Know About ORM?

    Posted on Sep 9, 2009 at 7:48 AM

    @Justice, I can only speak from experience, and perhaps it's a result of Transfer being very similar to Hibernate in terms of how it's utilized, but I have found that I can quite easily swap out Transfer and replace it with Hibernate with very little affect on my application, including most... read more »

  • How Much Should Our ColdFusion Applications Actually Know About ORM?

    Posted on Sep 9, 2009 at 12:57 AM

    I'm late to the party and are a lot of interesting stuff has already been said. Here are some of my thoughts: I do not agree with Justice that "your application should know all about the ORM and all about your objects". Yes it should know about your objects, but no, it doesn't need to know... read more »

  • Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()

    Posted on Aug 26, 2009 at 11:36 PM

    There are a couple of reasons that I like the EntityNew() function. As Rupesh describes above, it allows one to create an entity without having to know the full path to the cfc. This allows for better encapsulation. It is also consistent with EntityLoad() in that an object can be created sole... read more »

  • Learning ColdFusion 9: When Does An ORM-Enabled Object Get Persisted

    Posted on Aug 3, 2009 at 9:03 AM

    Whoa, this is actually a big deal when considering validation approaches. I had played around with CF9's ORM capabilities awhile ago and did not notice this behaviour. Do you know, is there a way to change this behaviour, so that an object is only saved when EntitySave() is called? Perhaps somet... read more »

  • Creating An Abstract Base Class In ColdFusion

    Posted on Mar 11, 2009 at 3:00 PM

    Honestly, I've only ever used this approach to do things that don't require arguments. The example I posted earlier, using the argumentCollection was an invention of mine to make it fit Ben's use case. Thinking about it more, it seems like one could possibly do a combination of the two app... read more »

  • Creating An Abstract Base Class In ColdFusion

    Posted on Mar 11, 2009 at 2:39 PM

    That's one of the issues - in order to see the "Init" of a sub-class, you have to look at both the configure() method of the subclass and the init() method of the superclass. Which some people may not like. I'm prepared to live with it in order to reap the benefits of everythin... read more »

  • Creating An Abstract Base Class In ColdFusion

    Posted on Mar 11, 2009 at 2:23 PM

    Sorry Ben, I guess I wasn't clear about how it works. Taking your example, and integrating it with the configure() idea would yield something like this (slimmed down): Base class: <code> <cffunction name="Init" access="public" returntype="any"> <cfargument nam... read more »

  • Creating An Abstract Base Class In ColdFusion

    Posted on Mar 11, 2009 at 11:58 AM

    It's true that it's possible that each sub-classed object might have a completely different Init() method signature, but in my mind that's far less likely than there being some duplication required. Let's look at your example in the post for the duplication that I'm talking about. In the b... read more »

  • Creating An Abstract Base Class In ColdFusion

    Posted on Mar 11, 2009 at 11:36 AM

    Interesting approach. I do it a bit differently. The one thing I don't like about the approach that you are describing is that you end up repeating the arguments for the base init() method in each of the sub-classes' init methods. To me that feels like I'm repeating myself. Instead I creat... read more »

  • Subversion - Cleanup Failed To Process The Following Paths

    Posted on Feb 9, 2009 at 1:04 PM

    It's just a workflow that I found works for me when using Tortoise SVN for deleting and renaming. It took me awhile to figure out what was causing so many problems for me with those types of operations, and then I started doing that sequence: Tortoise SVN delete/rename -> Update -> Commit,... read more »

  • Subversion - Cleanup Failed To Process The Following Paths

    Posted on Feb 9, 2009 at 11:53 AM

    I actually found that doing an Update, followed by a Commit after doing things like renames, did the trick.... read more »

  • Random Thought: The Database Bottleneck And Elegance

    Posted on Nov 29, 2008 at 11:18 PM

    Although I would never argue against doing one's best to ensure that appropriate indexes are in place, I would suggest that in many cases ensuring that you've implemented an appropriate caching strategy for your data is equally important. I would even go as far as suggesting that in many cases p... read more »

  • Comprehensive ColdFusion Component OnMissingMethod() Testing

    Posted on Nov 19, 2008 at 5:24 PM

    Funny, I was just today lamenting the fact that I could not use onMM for internal calls, and then, a couple of hours later I see your post. I'm going to have to go back into my component and see if i can get it working. Thanks for the tip!... read more »

Member Account Kinky Solutions Shop