Subject:
|
Re: Pseudo-streaming live news (was: Re: Monitor Page)
|
Newsgroups:
|
lugnet.admin.general
|
Date:
|
Tue, 21 Mar 2000 21:03:31 GMT
|
Highlighted:
|
(details)
|
Viewed:
|
1661 times
|
| |
| |
In lugnet.admin.general, Jeremy H. Sproat writes:
> My client is fairly modular and extensable. I'm using a callback interface
> for the consumer of news items, so that changes to the client engine are
> minimal. This would allow many types of GUI interfaces; e.g. an applet
> using AWT for the majority of Java-enabled browsers, an application using
> Swing for the really cool whiz-bang interface, etc. I intend to have either
> GUI being capable of loading a message into an HTML window when the user
> clicks on it. It should be Way Cool. :-,
Great! Neat-o!
One suggestion: Separate the producer into a separate, totally encapsulated
daemon which just sits there running 24x7 and slurps new articles whenever
they appear and spools them into some directory on the local drive. That way,
it can run while you sleep, even if you've exited the main user interface
program. Write that first, and get it working 100%, and it won't ever need
to change. Then allow (via API) any number of consumers to read, filter, and
display the articles. That way, you can fire up multiple filter/viewer combos,
either as separate processes or separate threads within a single process. And
if you shut down the last viewer, the spooler dameon continues to run in the
background so that when you return, all of the stuff is already fetched.
--Todd
|
|
Message has 3 Replies:
Message is in Reply To:
66 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|