Re: But a fool with a tool is still a fool
- From: "Kevin Frevert" <kevin@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 27 Feb 2006 10:25:32 -0600
"Jim Cooper" <jcooper@xxxxxxxxxxxxx> wrote in message
news:44030b10$1@xxxxxxxxxxxxxxxxxxxxxxxxx
If you think I prefer to use an OPF because it's cool, you're very
mistaken.
Not at all, but it is cool :). In re-designing our system for .Net, we need
a underlying mechanism to 'manage' the relationship between the business
processes. The design patterns used in OPF is ideal *and* cool. The only
troubling area I have is SQL code maintenance. Not necessarily by me, but
how creative other developers get in writing SQL in code (ex. the earlier
SQL sample I posted) and while 'it' works today, tomorrow, 6 months from now
something is going to blow up (in the example I posted, it did). From a
consultant point of view, code blowing up is great news (get to come in and
charge more $$$), but I'm too lazy for that. When I write the invoice
creation object for .Net, I never, ever want to get into that code to figure
out why sales tax isn't getting charged (I open up the stored proc, look at
the data, fix it on the server, I'm done).
I can't post the exact code here, but this kind of code is inside our
*international* web site..
if Country = 'US' and State = 'MO' then {yes, hard-coded US and Missouri for
an international web site }
begin
{code to calculate shipping restrictions}
end
else
begin
if Country = 'NA' and State <> 'MO' then
begin
{logic to calculate shipping restrictions for Norway and not in
Missouri, I have no idea why MO is in there}
end
else
begin
{snipped all the other 28 other countries in the nested
if..then..else}
end
If the developer had placed the business logic on the server (each country
has some specialized logic), we wouldn't have gotten into a legal mess (I
can't get into it on a public forum). Even though what and how he was doing
it was wrong, if the code was on the server, more than one set of eyes could
have discovered the problem and fixed it without the US government getting
involved (it wasn't until we were fined when the developer took the warnings
seriously). The 'I can't reproduce it on my machine' excuse only goes so
far.
krf
.
- Follow-Ups:
- Re: But a fool with a tool is still a fool
- From: Jim Cooper
- Re: But a fool with a tool is still a fool
- References:
- But a fool with a tool is still a fool
- From: I.P. Nichols
- Re: But a fool with a tool is still a fool
- From: Jim Cooper
- Re: But a fool with a tool is still a fool
- From: Captain Jake
- Re: But a fool with a tool is still a fool
- From: Kevin Frevert
- Re: But a fool with a tool is still a fool
- From: Jim Cooper
- Re: But a fool with a tool is still a fool
- From: Dave Nottage [TeamB]
- Re: But a fool with a tool is still a fool
- From: Eric Grange
- Re: But a fool with a tool is still a fool
- From: Dave Nottage [TeamB]
- Re: But a fool with a tool is still a fool
- From: Jim Cooper
- Re: But a fool with a tool is still a fool
- From: Craig Stuntz [TeamB]
- Re: But a fool with a tool is still a fool
- From: Jim Cooper
- Re: But a fool with a tool is still a fool
- From: Craig Stuntz [TeamB]
- Re: But a fool with a tool is still a fool
- From: Joanna Carter [TeamB]
- Re: But a fool with a tool is still a fool
- From: Craig Stuntz [TeamB]
- Re: But a fool with a tool is still a fool
- From: Jim Cooper
- Re: But a fool with a tool is still a fool
- From: Kevin Frevert
- Re: But a fool with a tool is still a fool
- From: Craig Stuntz [TeamB]
- Re: But a fool with a tool is still a fool
- From: Kevin Frevert
- Re: But a fool with a tool is still a fool
- From: Jim Cooper
- Re: But a fool with a tool is still a fool
- From: Kevin Frevert
- Re: But a fool with a tool is still a fool
- From: Jim Cooper
- Re: But a fool with a tool is still a fool
- From: Kevin Frevert
- Re: But a fool with a tool is still a fool
- From: Jim Cooper
- But a fool with a tool is still a fool
- Prev by Date: Re: Wake up! After couple of years Delphi is no more.
- Next by Date: Re: BDS 2006 - UDATE 2
- Previous by thread: Re: But a fool with a tool is still a fool
- Next by thread: Re: But a fool with a tool is still a fool
- Index(es):
Relevant Pages
|