[fpc-pascal]Writing a highly portable database...

Alexander Stohr AlexanderS at ati.com
Thu Jul 19 23:12:22 CEST 2001

> > For some nice reasons it is of high interest to have
> > an offline reader and an offline editor for the two
> > mentioned purposes.
> Does 'offline' mean that you will not be directly connected 
> to the MySQL server ?

Yes, i.e. some file that contains all data for download 
or as a base of automatic updates via the network.

> > I know FreePascal is portable to the desired targets.
> > But i am not that sure if i know about the right
> > collection of toolsets that let these clients
> > perform synchronisation with the servers over an
> > internet conncetion without coding any platform
> > differently. Maybe an E-Mail interface would serve
> > here or any other protocoll, maybe several of them.
> To answer your question, more information is needed; In principle
> what you ask can be done using Free Pascal, but the implementation
> of the synchronization is _not_ easy. This is difficult anyhow, and
> this difficulty is not tied to FPC, but more of a principal nature.

Okay, i went a bit too far into the application level.
Anyways i mentioned it for the case if someone does have a clue
on it here.

> In your case I would recommend always use a local mysql engine,
> (the memory footprint is low anyhow) and run a synchronization
> of the databases when going online. (but this may be a problem)

It depends. If all data fits onto a floppy its pretty okay.
If it means there is CD burning requires its possilby not so good.

> This should be no problem using GTK for the graphics mode.

Hmm, i must rethink how i can use GTK for grafics and something
else for textmode. Okay, still sounds most interesting.

> > The thing is i dont want to spent too much time but
> > want to rely on a good amount of tested and prooven
> > to be good code that finally just does what i want.
> Don't we all want that ? ;)
> Michael.

*ggg* Yes of course. The main point for me is the time.
The others were just meintioned.

Thanks for your reply, Michael.
Regards Alex.

More information about the fpc-pascal mailing list