Bob Silverberg
Member since Dec 11, 2008
- Profile: /members/2086-bob-silverberg.htm
- URL: http://www.silverwareconsulting.com
- Comments: 29
Recent Blog Comments By Bob Silverberg
-
Accepting PCI-Compliant Payments Without A Merchant Account Using Stripe And ColdFusion
Posted on Nov 15, 2011 at 12:31 PM
This is very cool, Ben. There, did I totally make your day?... read more »
-
Call For Lightning Talk Speakers At cf.Objective() 2011
Posted on Apr 6, 2011 at 10:11 AM
Your talk was one of the highlights last year, Ben, so I'm hoping to see you up there again this year!... read more »
-
Way Of The Warrior: The Poison Of Sarcasm
Posted on Apr 12, 2010 at 8:10 PM
This is an interesting point, and makes me think of something that I feel is related, at least for me personally. Both my wife and I tend to create "humour" out of making fun of people. Of course we do it behind their backs, and this is generally strangers, not people we know. You know what I mean... read more »
-
Way Of The Warrior: What Is A Warrior?
Posted on Apr 8, 2010 at 10:05 PM
I am looking forward to this!... read more »
-
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="myException" {} does not work (throws an err... 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: transaction { var ... 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 of the ... 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 about t... 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 solely ... 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 somethin... 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 approaches,... 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 everything only being defin... 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 name="Name" type="string" ... 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 base init... 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 create an add... read more »