|
|
|
|
|
|
|
Views: 559 | 1-11-2010, 08:58 | Category : Other |
|
|
I was ordering a pizza online today from Papa John's, mistyped a digit in a credit card number, and was informed that the "Credit Card number cannot be used for this reason: FAILED LUHN/MOD10 CHECK." Well, that's fine and dandy, but only because I know what it means. Not all that helpful to an end user.
|
|
|
|
|
|
|
|
|
This is a rather long post that walks through creating a ColdFusion service CFC and a Flex class to communicate with it using test-driven development tools.
Test-driven development: at first, it seemed like a lot of overhead. However, now that I've been doing it for a year and on multiple projects, I can't get enough. Believe it or not, you will get things done faster. Even better, I'm now more confident in my code, and I think it's made me an overall better developer.
However, I haven't been all that good about TDD on the Flex side of things. I'm stopping that now, and I'm going to use CFCUnit + FlexUnit to test everything from my lowest level DAO in ColdFusion to my client-side classes in AS3.
|
|
|
|
|
|
Vote
Hire Desk
»
|