On Fri, Aug 14, 2009 at 6:14 PM, Esteban A. Maringolo
<[email protected]>wrote:

> My prototype is getting less proto, and I found out it doesn't have
> complex relations, and the system is going to perform faster if I have
> tables for most of it.
>
> What are the choices I have for doing ORM in Pharo?
>
> ¿Does GLORP work? ¿Any other options?


Yes. Glorp does work and with the 100% (850) of the tests green. I am who
did the port from Squeak to Pharo. I created a GlorpPharoLoader but
unfortunately it doesn't work right now because some packages were added
that cause problems ( I am waiting the admin remove them).

However, there are 2 things to take into consideration:

1) The Squeak/Pharo port of Glorp is VERY olde (years old). Diógenes Moreira
is doing a new port but it is yet in process.
2) Glorp, as it is now, in Squeak/Pharo only works for the PostgreSQL native
driver.

However, ESUG (http://www.esug.org/Promotion/SummerTalk) soponsor us
(SqueakDBX team) again this year to do an SqueakDBX / Glorp integration.
This has 2 parts:

1) Refactor Glorp so that the SqueakDatabaseAccessor has nothing hardcoded
to a particular driver but to a unified API. Then, you can implement the
drivers you want. We already did this refactor and we also did the native
postgresql driver (with the stuff we removed from SqueakDatabaseAccesor) and
an SqueakDBX driver (that only works for PostgreSQL right now).
This step is almost finished.

2) Complete the SqueakDBX Glorp driver so that it can used for all backends.
We are now focusing in Oracle and MySQL. And also with the new port of
Diogenes.


Of course there are others options:

- Magritte-RDB
- SqueakSave: very very interesting project. See:
http://www.hpi.uni-potsdam.de/hirschfeld/projects/sqsave/index.html
- Moe


Best,

Mariano



>
> I don't have a strong preference for the RDBMS engine, it can be
> anything (free), being it MySQL, PostgreSQL or Sql Server Express.
>
> Best regards,
>
> Esteban A. Maringolo
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to