|
From: Brandon K. <ki...@ca...> - 2003-08-26 00:42:06
|
Hi Diane,
I really like the idea of a C++ persitance layer. It has many
advantages over Python-to-OJB. It would provide one common API for all
of the projects to use. Currently with the need for both Java and Python
APIs, even if we get Python-to-OJB we would loose functionality on the
Java side as Pymerase developes. For example if we write XML Serilzation
Output Module (Required for MAGE project) in Python, then we would have
to write another version for Java if we want the same funcationality. If
we generated a C++ version and swig wrap it (or use something like
swig), we would maintain consistancy between all languages. I'm may be
just ranting but I think I'll post my thoughts any way. Uday, what do
you think?
-Brandon
Diane Trout wrote:
>Hi,
>
>I was looking at OJB (http://db.apache.org/ojb/) for one project and I
>was reminded that java, like all of the other interpreted languages
>doesn't play well with others. Making pymerase use OJB seems
>annoying. I briefly contemplated trying to compile OJB with GCJ but
>discovered that OJB requires a number of libraries from sun that can't
>be redistributed, which seems a rather irritating restriction if one
>wanted to distribute an application.
>
>The current python persistence system I wrote isn't efficient or even
>all that complete.
>
>Which keeps bringing me back to the idea of writing a persistence layer
>in C++ that can interface to python (and maybe other scripting
>languages).
>
>OJB does have a useful reference page on O/R mappings at
>http://db.apache.org/ojb/links.html#further readings on O/R mapping
>
>Also one of the main reference by scott ambler at
>http://www.ambysoft.com/persistenceLayer.html which lists several
>persistence layers. However the only C++ based on is corba
>dependent http://sourceforge.net/projects/open-orm/ and is pretty
>early in development.
>
>Writing a decent O/R mapping would be a large undertaking, but then
>nothing really seems to provide a decent system yet.
>
>thoughts anyone.
>
>diane
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: VM Ware
>With VMware you can run multiple operating systems on a single machine.
>WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
>at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
>_______________________________________________
>Pymerase-devel mailing list
>Pym...@li...
>https://lists.sourceforge.net/lists/listinfo/pymerase-devel
>
>
>.
>
>
>
|