Path: dp-news.maxwell.syr.edu!spool.maxwell.syr.edu!drn.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 06 Jun 2005 08:35:55 -0500
Message-Id: <d3sdn2-tnl.ln1@pluto.downsfam.net>
From: Kenneth Downs <knode.wants.this@see.sigblock>
Subject: Re: theory and practice: ying and yang
Newsgroups: comp.databases.theory
Date: Mon, 06 Jun 2005 08:25:31 -0400
References: <2yWke.449$BR4.271@news-server.bigpond.net.au> <sfj89150l0t58h9vsi359ur958cj348jtl@4ax.com> <8c_ke.776$BR4.625@news-server.bigpond.net.au> <3n09919j97bfe936nrqm8embca3ch4fg0o@4ax.com> <J3gle.1629$BR4.201@news-server.bigpond.net.au> <lqkb9117dori68k572asfmamkfrd9t3rd9@4ax.com> <F3tle.2210$BR4.835@news-server.bigpond.net.au> <jatd9113t5nvs404pe63npqpoqs4qg5ptu@4ax.com> <PBRle.3855$BR4.3767@news-server.bigpond.net.au> <42986b62$0$93748$ed2619ec@ptn-nntp-reader01.plus.net> <Kmhme.6076$BR4.5780@news-server.bigpond.net.au> <429aedb5$0$578$ed2619ec@ptn-nntp-reader03.plus.net> <xoNme.7531$BR4.442@news-server.bigpond.net.au> <429bad41$0$2349$ed2619ec@ptn-nntp-reader02.plus.net> <0DRme.7755$BR4.3085@news-server.bigpond.net.au> <r611n2-nsu.ln1@pluto.downsfam.net> <DkVne.1404$F7.389@news-server.bigpond.net.au> <7vu5n2-g92.ln1@pluto.downsfam.net> <5R6oe.1964$F7.1270@news-server.bigpond.net.au> <krbbn2-l65.ln1@pluto.downsfam.net> <EjMoe.3692$F7.2127@news-server.bigpond.net.au>
Organization: Secure Data Software, Inc.
User-Agent: KNode/0.8.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Lines: 73
X-Trace: sv3-60k9NdIN66gxgc86nehMQ7ZKGhZzGUHHrpROBhcYqji7Vo+fqVwhja4YTqNr42nyHtWNfsMXHHGji27!f/6CRL6CPJK04xi7HLM60mU9gA6OMTSknKfrpPz4z7QsyYvyTNftfREPWyU=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
Xref: dp-news.maxwell.syr.edu comp.databases.theory:31241

mountain man wrote:

> "Kenneth Downs" <knode.wants.this@see.sigblock> wrote in message
> news:krbbn2-l65.ln1@pluto.downsfam.net...
>> mountain man wrote:
>>
>>>
>>> If the application layer can be bound within the DB,
>>> and the DB now services this role, there will *not* be
>>> the need for any further layers.
>>>
>>
>> Do you mean putting HTML generation in there?
>> Or storing compiled binaries for desktop apps?
> 
> Let's talk simple reporting, rather than update routines]
> to start off with.  In the DB we have the data and we have
> the reports in the form of stored procedures. (NB: These
> reports can be multi-dimensional [summary, detail, etc]
> because stored proces can be chained together).
> 
> External to the database we have a tool, that has code
> of course, but no code related to the organisation specifically.
> It is code to provide services to present data sets (ie: reports)
> that have been generated by the sprocs on the data, and to
> allow the user to sort, filter and export these data sets. The
> same tool is used for any and every industry.
> 
> So what I mean is that these is no code which is specific to
> that organisation's database application that is external to
> the DB, it has been 100% contained within the DB, by
> the above method and arrangment.

OK, I see.

But when the external code writes a report, how does it know what the column
titles should be?  How wide the columns are?  It  must somehow consult the
database to find out?  It was in answering this question that we finalized
our relationship between the tiers and settled the code generation
question.  We decided that at upgrade time the builder would supply the
external client with a copy of the dictionary in the native format of the
client.  This then became the sole and complete touch point between the
layers on the what the nature of the running system was.

Also, alas, to make a rich human interface, you have to have the ability to
provide *additional* UI elements.  I say additional because the table-like
system you already have is in fact very important, you want to add to it,
not replace it.

> 
> You made a point at some earlier time which I did not
> then respond to, about the flavorless appearance of this
> tool, in that _all_ it appears as is a grid to hold data, and
> the natural desire of business owners to have pretty pictures,
> and specialised interface "forms" --- in the long run.
> 
> This is a valid point, and we have plans to address this
> issue at some stage, in order to meets such "cosmetic"
> needs, by means of holding such parameters within the
> database.
> 

At a very early stage of my current project, I considered having a data
dictionary that was "pure" in the sense that it contained no information
about the UI.  This idea I rapidly dropped.  You have to put info into the
dictionary to guide the UI, such as column ordering information at very
least, and simple captions.
 

-- 
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)
