[bt-devel] refactoring

Martin Gruner mg.pub at gmx.net
Thu Jul 15 23:48:46 MST 2010


Jaak,

the Sword integration code was mainly written by Joachim, and later I
worked on it.
So blame us. :D

mg

Am 16.07.10 00:31, schrieb Jaak Ristioja:
> On 16.07.2010 00:42, Troy A. Griffitts wrote:
> > On 07/15/2010 12:15 PM, Jaak Ristioja wrote:
> >> This is definitely something to consider. However, I fear that we also
> >> need to rebuild
> >> great parts of the backend. To make matters worse, the SWORD library
> >> is also very obscure
> >> to use.
> >>
>
> > :)  I, of course, object.
>
> > Please be specific about this and we will try to accommodate.  I
> > personally try to stay involved with at least one frontend project.
> > This makes me 'eat the food I cook' so I usually run into oddities
> > before other users of the library and fix.  Though I am somewhat at a
> > disadvantage because I have foreknowledge of how the engine is intended
> > to work and what to avoid.
>
> > Please let us know small, realistic pieces of useful feedback and we
> > will try to accommodate.
>
> So that we're clear about this: when I said "backend", I meant the
> src/backend of BibleTime.
>
> Regarding SWORD, personally, my main blocker is the lack of good
> examples/tutorials on how
> it is supposed to work. Here's a quick list of most important things I
> don't yet
> understand about SWORD, but need to understand to develop BibleTime:
>
>  * how to handle multiple install sources
>  * how to install/remove modules
>  * how to list installed/installable/upgradeable/downgradeable modules
>  * how to get module information (name, description, language(s),
> encryption, version etc)
>  * how to read encrypted modules
>  * which books/chapters/verses or parts are present in a module
>  * how do I read a specific verse/part of a module
>  * how do I read footnotes, Strong numbers, cross-references etc?
>
> I have searched but I haven't found any good documentation on this.
> This has been
> implemented in BibleTime before I joined the project. BibleTime and
> SWORD source code
> documentation is not enough. Simple examples and tutorials are needed.
>
> What I want to archive for BibleTime is a modular backend which (among
> other things)
>   1) were able to interact with SWORD as well as any other library
> capable of providing us
> input data and
>   2) would provide Qt-style models for modules, and for the data
> inside those modules
>
> Blessings! :)
> Jaak
>
> PS: Who wrote the part of BibleTime interacting with SWORD?
> PPS: Some more questions about SWORD:
> 1) Is it possible to install multiple versions of the same module at
> once? will it be
> possible in the future?
> 2) Is it possible to verify whether a decryption key works?
> 3) What about thread safety?
> 4) Is it possible to use SWORD without creating any classes that
> inherit from the SWORD
> classes?

_______________________________________________
bt-devel mailing list
bt-devel at crosswire.org
http://www.crosswire.org/mailman/listinfo/bt-devel





More information about the bt-devel mailing list