[bt-devel] The design of the BackEnd

Joachim Ansorg bt-devel@crosswire.org
Mon, 17 Jan 2000 18:44:59 +0000


Hi!
Hope I undestood noe the most of your ideas.

>> Is HTML a text converted to HTML or an external HTML text?
>> If it's a converted one we should use the different presenters (bible presenter,
>> commentary presenter and lexikon presenter).
>
>An internal text stream. I don't want the GUI to see where the data comes from 
>nor to know how to retrieve it. I also thought it might good the differ between
>normal text, bible, comment and dict but couldn' think of a real need for this.
>But maybe it will come later. Anyway I will give you information about what type of
>module text you get. You can now display everything in one presenter and make later
>sub classes that you can specialy use.

Let me see if I undestood it: You send a HTML text to a module presenter (type
is here not important) and with it information about the type.
Each presenter get's only HTML and should work with the HTML text.
Right?

But one problem I see is that e.g. a dictionary presenter needs special things
like a list of the dictionary entries? How could we realize this?

>Speaking of class structure. I would like you to create a Container class that handles requests
>to and from the backend (for instance) and gives information to it's registered widgets (presenters,
>list view, etc.) and not to register each window. That way we can keep the data flow between
>backend and frontend clean and easier to change.

???

First you wrote we should register each widget and later "and not to register
each window.".

I think something is confusing here the last time.

-- Joachim
BibleTime - the bible study program for KDE
http://www.bibletime.de/
info@bibletime.de