[gnome-db] Progress update on my branch



Dear friends.

As I mentioned before, I am working on my personal fork here https://gi
tlab.gnome.org/pavlosun/libgda

I have already added some patches people submitted to Bugzilla and
added some additional functionality. For now, all programs from ./tools
as well as  gda-browser can be compiled. and they work. Also, clipper
support was broken and now it is fixed. gdaui module can be compiled
and used via glade or without. It contains a lot of obsolete code that
will be cleaned. It is on the list TODO.

Meanwhile, I have started a very optimistic project. I realized, that
the code doesn't allow effectively manage databases. For example,
create DB objects from user provided data, e.g. xml. Actually, there is
a way to do so, but it is not flexible and it is understandable only by
people who familiar with the code. My goal here is to develop a
infrastructure to generate database from xml and retrieve database
information to xml. I decided to do this via DDL API. A new object
GdaDdlCreator will be introduced which will be responsible for parsing
input xml file. Other additional objects, e.g. GdaDdlTable, GdaDdlView,
GdaDdlPkey, etc. will be used and generated from the user provided xml
file. Also, I am planning to allow object initialization using
xmlNodePtr. It will allow generation of single object from multiple xml
files. Having these objects, we can create them using a new API, e.g.
gda_server_operation_prepare_create_ddl_table. After all this work ,
database should be generated/updated from simple xml without any code
modification. It will also provide a convenient relationship between DB
object and user data. Technically a parser may be written to generate
such code from the xml file. 

I haven't pushed this work to git server yet.

The reason I explained all this it to keep people in the loop about
work I have been doing. Let me know what you think. 

Sincerely, 

-- 
- Pavlo Solntsev
---------------------------------------------
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Sent from Evolution on GNU/Debian <www.debian.org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]