[CFCDev] Static methods and attributes

2006-03-05 Thread Peter Bell
Title: Message I can see that sometimes you could have a class with valid instance specific methods that could also have certain methods that do not depend on the value of the attributes of a given instance. I'm guessing I'd probably just end up sticking them into an instanceService or

Re: [CFCDev] Static methods and attributes

2006-03-05 Thread Mark Mandel
Peter - there is no way currently to implement static methods on a CFC.You are correct in that you could create a singleton instead, and it is pretty much the best option for dealing with this scenario.For static attributes, the only option you really have is to have public variables, with a