× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
An additional layer?  I thought that la rage de jour was 3 layers: bottom
= data, middle =business rules. top=user interface(s)?  Is there a 4th
layer being proposed Joe?

------------------------------------------
Booth Martin
Booth@MartinVT.com
http://www.MartinVT.com
------------------------------------------

midrange-l-admin@midrange.com wrote on 11/25/2002 10:54:05 PM:

> > From: jpcarr@tredegar.com
> >
> > CREATE VIEW clearview
> > As Select
> > Ordno,
> > CASE  Status
> > When 'O'  Then 'Open'
> > When 'C'  Then 'Closed'
> > End
> > AS Status
>
> I'll put my piece in once, then get out of it.
>
> Unless you're prepared to go whole-hog and redeploy all of your business
> rules in SQL, I would caution against doing something like this.  Why?
> Well, because it isn't very flexible.  This particular example fares
very
> poorly in a multi-lingual environment.  You'd want to get the values
from a
> message file or some other reference object, and HLL programs are better
at
> that than SQL.  As to advanced arithmetic operations, except for the
more
> trivial issues like sum and average, such operations are more than
likely
> going to require parameters from other files.  And once the rules get
too
> complex for a simple SQL statement, now you have to go back and
reengineer
> your code.
>
> The more I see this sort of issue arise, the more I'm convinced that a
new
> layer needs to be added to the traditional model.  This layer separates
the
> traditional database tier into a business attribute tier and a data
> deployment tier.
>
> But as I said, I just wanted to comment on this particular example.  It
> would not work well for many packages, though it might be fine for a
company
> that never intends to do any international business.
>
> Joe


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.