For Programmers: Free Programming Magazines  


Home > Archive > Java Help > December 2004 > XML: Looking for simple address-book program









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author XML: Looking for simple address-book program
Timothy Murphy

2004-12-22, 9:14 pm

I'm looking for a simple program to input and edit an address-book.
I guess I could write one, but it seems to me
that this must have been done a million times,
so I'd prefer not to re-invent the wheel.

What I would like to get is a "frame"
with "windows" for entering Name, Address, Phone number, etc.
The entry would be saved in an XML file with a simple DTD.

It should be possible to query the XML file
to output any entry already there, eg by giving the name,
or perhaps listing names beginning with "A", "B", etc.

Any suggestions or advice (or programs!) gratefully received.


--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Andrew Thompson

2004-12-22, 9:14 pm

On Wed, 22 Dec 2004 14:27:32 +0000, Timothy Murphy wrote:

> ..The entry would be saved in an XML file with a simple DTD.


Just out of curiosity, if I told you there was a freeware plug-in
that did exactly what you needed, but wrote to plain text, would
you be interested?

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Timothy Murphy

2004-12-23, 9:04 am

<posted & mailed>

>
> Just out of curiosity, if I told you there was a freeware plug-in
> that did exactly what you needed, but wrote to plain text, would
> you be interested?


I would be interested, yes.
Particularly if the application came with source.

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Andrew Thompson

2004-12-23, 9:04 pm

On Thu, 23 Dec 2004 12:38:10 +0000, Timothy Murphy wrote:

> <posted & mailed>


...& mailed? To who?

>
> I would be interested, yes.
> Particularly if the application came with source.


I don't. I simply wanted to check the veracity of your very
constrained specification. Perhaps if you open up the problem
and invite any approaches that fill the requirement, you might
have more luck.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Timothy Murphy

2004-12-24, 3:57 pm

Andrew Thompson wrote:

> On Thu, 23 Dec 2004 12:38:10 +0000, Timothy Murphy wrote:
>
>
> ..& mailed? To who?


This was the default on my mailer.
I didn't notice your address was invalid.

>
>
> I don't. I simply wanted to check the veracity of your very
> constrained specification. Perhaps if you open up the problem
> and invite any approaches that fill the requirement, you might
> have more luck.


I'm baffled by your responses.

Why reply if you have nothing to contribute?

I think what I said was perfectly clear,
and I received a number of responses to it.
To ask for output in XML does not seem to me a major "constraint".
Are you allergic to XML?
I would have thought it would be the standard way
to store data such as an address-book.


--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Andrew Thompson

2004-12-25, 3:56 am

On Fri, 24 Dec 2004 13:04:29 +0000, Timothy Murphy wrote:
....
> To ask for output in XML does not seem to me a major "constraint".
> Are you allergic to XML?
> I would have thought it would be the standard way
> to store data such as an address-book.


XML reading/writing was introduced to the core Java API in version 1.4.

An XML based Java solution would generally be Java 1.4+,
which would exclude most of the code developed for Java's
1.1, 1.2 and 1.3.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com