dbTalk Databases Forums  

Designing a structure for a personal database

comp.databases comp.databases


Discuss Designing a structure for a personal database in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #71  
Old   
Arved Sandstrom
 
Posts: n/a

Default Re: Designing a structure for a personal database - 05-08-2008 , 07:13 AM






Marco wrote:

Quote:
On May 6, 4:22 pm, David Segall <da... (AT) address (DOT) invalid> wrote:

Thanks Arved. I agree that the application probably reduces to a
many-to-many relationship between persons and businesses in one table
and locations in another and that does lead to the difficult and
probably off-topic question of designing a GUI to represent that
relationship.

Not impossible to implement in a user-friendly way: on the edit form
of one person the user sees the list of addresses and the "+" button,
which leads to the address entry form. After the user clicks "OK" on
the latter, the application checks whether the address already exists
or not (even by applying some euristics, e.g.: "High St." is supposed
== to "High Street"), and proposes to select among possibly equivalent
addresses. New address is only added (and a record on the bridge table
with it) if no existing one exists or none is selected by the user.
Potentially some form of autocomplete might be worth considering, at least
for address. Nothing new - I believe GMail does it for addresses. Street
name is likely the most authoritative field; other fields are either not
selective enough (like unit number) or have different possibilities (like
municipality).

Something like what you suggest clearly has to be available for the general
case, or where autocomplete fails due to typos ("how the hell d'you spell
that anyway?").

[ SNIP ]
AHS
--
* change 'two' to '2' to email me


Reply With Quote
  #72  
Old   
Arved Sandstrom
 
Posts: n/a

Default Re: Designing a structure for a personal database - 05-08-2008 , 07:13 AM






Marco wrote:

Quote:
On May 6, 4:22 pm, David Segall <da... (AT) address (DOT) invalid> wrote:

Thanks Arved. I agree that the application probably reduces to a
many-to-many relationship between persons and businesses in one table
and locations in another and that does lead to the difficult and
probably off-topic question of designing a GUI to represent that
relationship.

Not impossible to implement in a user-friendly way: on the edit form
of one person the user sees the list of addresses and the "+" button,
which leads to the address entry form. After the user clicks "OK" on
the latter, the application checks whether the address already exists
or not (even by applying some euristics, e.g.: "High St." is supposed
== to "High Street"), and proposes to select among possibly equivalent
addresses. New address is only added (and a record on the bridge table
with it) if no existing one exists or none is selected by the user.
Potentially some form of autocomplete might be worth considering, at least
for address. Nothing new - I believe GMail does it for addresses. Street
name is likely the most authoritative field; other fields are either not
selective enough (like unit number) or have different possibilities (like
municipality).

Something like what you suggest clearly has to be available for the general
case, or where autocomplete fails due to typos ("how the hell d'you spell
that anyway?").

[ SNIP ]
AHS
--
* change 'two' to '2' to email me


Reply With Quote
  #73  
Old   
Arved Sandstrom
 
Posts: n/a

Default Re: Designing a structure for a personal database - 05-08-2008 , 07:13 AM



Marco wrote:

Quote:
On May 6, 4:22 pm, David Segall <da... (AT) address (DOT) invalid> wrote:

Thanks Arved. I agree that the application probably reduces to a
many-to-many relationship between persons and businesses in one table
and locations in another and that does lead to the difficult and
probably off-topic question of designing a GUI to represent that
relationship.

Not impossible to implement in a user-friendly way: on the edit form
of one person the user sees the list of addresses and the "+" button,
which leads to the address entry form. After the user clicks "OK" on
the latter, the application checks whether the address already exists
or not (even by applying some euristics, e.g.: "High St." is supposed
== to "High Street"), and proposes to select among possibly equivalent
addresses. New address is only added (and a record on the bridge table
with it) if no existing one exists or none is selected by the user.
Potentially some form of autocomplete might be worth considering, at least
for address. Nothing new - I believe GMail does it for addresses. Street
name is likely the most authoritative field; other fields are either not
selective enough (like unit number) or have different possibilities (like
municipality).

Something like what you suggest clearly has to be available for the general
case, or where autocomplete fails due to typos ("how the hell d'you spell
that anyway?").

[ SNIP ]
AHS
--
* change 'two' to '2' to email me


Reply With Quote
  #74  
Old   
Roedy Green
 
Posts: n/a

Default Re: Designing a structure for a personal database - 05-08-2008 , 02:25 PM



On Fri, 02 May 2008 15:06:55 GMT, David Segall <david (AT) address (DOT) invalid>
wrote, quoted or indirectly quoted someone who said :

Quote:
It provides an excellent way of modeling real world
data and the alternatives have not (yet) been seen as a serious
challenge.
There is the POD where you have complex connections. Basically it
lets you solve the problem as though you infinte RAM in a non-stop
computer.

see http://mindprod.com/jgloss/pod.html

You give up the ad hoc-queries.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


Reply With Quote
  #75  
Old   
Roedy Green
 
Posts: n/a

Default Re: Designing a structure for a personal database - 05-08-2008 , 02:25 PM



On Fri, 02 May 2008 15:06:55 GMT, David Segall <david (AT) address (DOT) invalid>
wrote, quoted or indirectly quoted someone who said :

Quote:
It provides an excellent way of modeling real world
data and the alternatives have not (yet) been seen as a serious
challenge.
There is the POD where you have complex connections. Basically it
lets you solve the problem as though you infinte RAM in a non-stop
computer.

see http://mindprod.com/jgloss/pod.html

You give up the ad hoc-queries.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


Reply With Quote
  #76  
Old   
Roedy Green
 
Posts: n/a

Default Re: Designing a structure for a personal database - 05-08-2008 , 02:25 PM



On Fri, 02 May 2008 15:06:55 GMT, David Segall <david (AT) address (DOT) invalid>
wrote, quoted or indirectly quoted someone who said :

Quote:
It provides an excellent way of modeling real world
data and the alternatives have not (yet) been seen as a serious
challenge.
There is the POD where you have complex connections. Basically it
lets you solve the problem as though you infinte RAM in a non-stop
computer.

see http://mindprod.com/jgloss/pod.html

You give up the ad hoc-queries.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


Reply With Quote
  #77  
Old   
David Segall
 
Posts: n/a

Default Re: Designing a structure for a personal database - 05-09-2008 , 03:36 AM



Lew <lew (AT) lewscanon (DOT) com> wrote:

Quote:
David Segall wrote:
We seem to have an irreconcilable disagreement that is based on
different views of "true and correct". I think that chocolate cake is
an important concept that we all share. You argue that real chocolate
cake does not exist because nobody has produced a cake that is
entirely chocolate and/or that there are zillions of different recipes
for chocolate cake and/or that there are sound reasons for not eating
chocolate cake. I can't refute any of those arguments. My view is that

Straw man. That is not my argument; you have misstated my points irrevocably.

the chocolate cake model is "true and correct" because everyone who
reads the desert menu knows what chocolate cake should be and because
chocolate cake has become an important part of the menu.

You can eat two different chocolate cakes and feel that they don't even
deserve the same name, they're so different. One can be white, the other
brown. One can have icing, the other not. One can be very sweet and moist,
the other rather dry and not so sweet. one can be made with tons of sugar,
the other without any sugar at all. One might not even have chocolate in it,
being made with carob and still billed as "chocolate" cake. I know, I've had
them.
We can never agree on this one. You see only the differences in the
model, I see only the commonality. The fact that you _can_ argue about
what makes a chocolate cake or a relational database makes me think
that both have a "truth" that exists outside any implementation.
Quote:
Once again, you cite an example that proves my point, despite your complete
misstatement of my point.

It seems that you agree that we have a common understanding of a
"relational database" or the "Alto user interface" [sic] because you can

that's the *Palo* Alto user interface. That's not even the name of the
interface; it's simply where it was developed, at the *Palo* Alto Research
Center in *Palo* Alto. I don't know how you came to think of that as the name
for the interface principles. They were developed in Palo Alto, not "Alto".
"Palo" is part of the name. Omitting the "Palo" is incorrect. The name of
the city is "Palo Alto". Do not forget the "Palo". Palo Alto.
http://en.wikipedia.org/wiki/Palo_Alto
The interface was named after the Alto computer
<http://en.wikipedia.org/wiki/Xerox_Alto> on which it was first
demonstrated. It was Xerox, not me, who chose to omit "Palo" from the
name. I prefer the term "Alto user interface" because it acknowledges
the origin but I agree that "graphical user interface" is much more
common and I will adopt it in future posts to avoid worrying the
reader.


Reply With Quote
  #78  
Old   
David Segall
 
Posts: n/a

Default Re: Designing a structure for a personal database - 05-09-2008 , 03:36 AM



Lew <lew (AT) lewscanon (DOT) com> wrote:

Quote:
David Segall wrote:
We seem to have an irreconcilable disagreement that is based on
different views of "true and correct". I think that chocolate cake is
an important concept that we all share. You argue that real chocolate
cake does not exist because nobody has produced a cake that is
entirely chocolate and/or that there are zillions of different recipes
for chocolate cake and/or that there are sound reasons for not eating
chocolate cake. I can't refute any of those arguments. My view is that

Straw man. That is not my argument; you have misstated my points irrevocably.

the chocolate cake model is "true and correct" because everyone who
reads the desert menu knows what chocolate cake should be and because
chocolate cake has become an important part of the menu.

You can eat two different chocolate cakes and feel that they don't even
deserve the same name, they're so different. One can be white, the other
brown. One can have icing, the other not. One can be very sweet and moist,
the other rather dry and not so sweet. one can be made with tons of sugar,
the other without any sugar at all. One might not even have chocolate in it,
being made with carob and still billed as "chocolate" cake. I know, I've had
them.
We can never agree on this one. You see only the differences in the
model, I see only the commonality. The fact that you _can_ argue about
what makes a chocolate cake or a relational database makes me think
that both have a "truth" that exists outside any implementation.
Quote:
Once again, you cite an example that proves my point, despite your complete
misstatement of my point.

It seems that you agree that we have a common understanding of a
"relational database" or the "Alto user interface" [sic] because you can

that's the *Palo* Alto user interface. That's not even the name of the
interface; it's simply where it was developed, at the *Palo* Alto Research
Center in *Palo* Alto. I don't know how you came to think of that as the name
for the interface principles. They were developed in Palo Alto, not "Alto".
"Palo" is part of the name. Omitting the "Palo" is incorrect. The name of
the city is "Palo Alto". Do not forget the "Palo". Palo Alto.
http://en.wikipedia.org/wiki/Palo_Alto
The interface was named after the Alto computer
<http://en.wikipedia.org/wiki/Xerox_Alto> on which it was first
demonstrated. It was Xerox, not me, who chose to omit "Palo" from the
name. I prefer the term "Alto user interface" because it acknowledges
the origin but I agree that "graphical user interface" is much more
common and I will adopt it in future posts to avoid worrying the
reader.


Reply With Quote
  #79  
Old   
David Segall
 
Posts: n/a

Default Re: Designing a structure for a personal database - 05-09-2008 , 03:36 AM



Lew <lew (AT) lewscanon (DOT) com> wrote:

Quote:
David Segall wrote:
We seem to have an irreconcilable disagreement that is based on
different views of "true and correct". I think that chocolate cake is
an important concept that we all share. You argue that real chocolate
cake does not exist because nobody has produced a cake that is
entirely chocolate and/or that there are zillions of different recipes
for chocolate cake and/or that there are sound reasons for not eating
chocolate cake. I can't refute any of those arguments. My view is that

Straw man. That is not my argument; you have misstated my points irrevocably.

the chocolate cake model is "true and correct" because everyone who
reads the desert menu knows what chocolate cake should be and because
chocolate cake has become an important part of the menu.

You can eat two different chocolate cakes and feel that they don't even
deserve the same name, they're so different. One can be white, the other
brown. One can have icing, the other not. One can be very sweet and moist,
the other rather dry and not so sweet. one can be made with tons of sugar,
the other without any sugar at all. One might not even have chocolate in it,
being made with carob and still billed as "chocolate" cake. I know, I've had
them.
We can never agree on this one. You see only the differences in the
model, I see only the commonality. The fact that you _can_ argue about
what makes a chocolate cake or a relational database makes me think
that both have a "truth" that exists outside any implementation.
Quote:
Once again, you cite an example that proves my point, despite your complete
misstatement of my point.

It seems that you agree that we have a common understanding of a
"relational database" or the "Alto user interface" [sic] because you can

that's the *Palo* Alto user interface. That's not even the name of the
interface; it's simply where it was developed, at the *Palo* Alto Research
Center in *Palo* Alto. I don't know how you came to think of that as the name
for the interface principles. They were developed in Palo Alto, not "Alto".
"Palo" is part of the name. Omitting the "Palo" is incorrect. The name of
the city is "Palo Alto". Do not forget the "Palo". Palo Alto.
http://en.wikipedia.org/wiki/Palo_Alto
The interface was named after the Alto computer
<http://en.wikipedia.org/wiki/Xerox_Alto> on which it was first
demonstrated. It was Xerox, not me, who chose to omit "Palo" from the
name. I prefer the term "Alto user interface" because it acknowledges
the origin but I agree that "graphical user interface" is much more
common and I will adopt it in future posts to avoid worrying the
reader.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.