Re: changes; modularization

David Calinski <[email protected]> Thu, 16 Oct 2003 13:41:55 +0200
Newsgroups gmane.comp.tools.memaid.devel
Message-ID <[email protected]>
On Thu, 16 Oct 2003 11:11:26 +0200
Peter Bienstman <[email protected]> wrote:

> I think a well-designed, clean and simple core with a good NN would be
> a good thing,
> 
> There is a possibility of incompatible clients and file-formats
> though, but that's perhaps not the end of the world.

Yes. If every front-end would use own format - other programmers working
on other front-ends could choose the best solution (just copy it from
the best file-format implementer.)

 
> Personally, I'm going to add a category label to each question. I'm
> not interested in turning categories on and off, but before I throw
> all my databases in one big file, I want to make sure I can untangle
> them in the future if I want to. 

As for merging databases: current code on CVS can read "merged"
databases from elements.txt (items in elements.txt don't have to be
sorted by time_to_repeat anymore).

> For that, I'll probably go the way of an XML fileformat and converter
> scripts. This means I'll have to give up KMemaid's nice GUI to edit
> items, but that's the price I'll have to pay ;-)

Why would you have to resign from KMemaid?

> PS: Perhaps If you really want to make a simple core, you should rip
> out all the item loading and saving code out of the core too, and
> leave it to the front-end how to store it. That way you have a nicely
> separated core which is independent of the storage method and of the
> UI, which is good thing from a software engineering point of view.

Right. But I think that existing routines to store data in a file should
also be offered - if not in core, then in a module. Someone later can
make module to store data in XML format, etc. - what one wants. I don't
want to block any such ideas (implementing XML format, or many other
features that don't have to be useful for everyone in every front-end),
but in the core I want to focus on repetitions scheduling routines...
(I am not saying here about modules on CVS, by module I mean here "a
separate file" that could be linked to have its features.)

Dave 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php