[ANN] New Pharo Glorp version and Book chapter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] New Pharo Glorp version and Book chapter

Esteban A. Maringolo
Hello all,

During the first part of the year, and sponsored by the Pharo
Consortium, I started a new port of Glorp, the Object-Relational
mapper, based on the latest version available in VW 8.0.1.

This latest port was done from scratch in Pharo and brings features
and bugfixes that were accumulated in the VW port during more than 5
years (previous Pharo port) and weren't available until now; and it
uses the Garage database drivers (but not limited to them).

During the last couple of months, and also by request of the
Consortium, I wrote a chapter for one of the Pharo books describing
Glorp as much as possible, with tutorials and key concepts. The
chapter ended up being the longest in text and pages of all written;
the domain is so broad and deep that I'm considering taking it to a
whole book, who knows...

The book is available at
<https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book-result/Glorp/Glorp.pdf>,
and I will welcome suggestions and corrections as pull requests to
<https://github.com/SquareBracketAssociates/PharoInProgress>

The Glorp repository is the same as the previous one
(http://www.smalltalkhub.com/#!/~DBXTalk/Glorp), and the current
Metacello configs will load the previous version for Pharo 4 and the
new version for Pharo 5. For the foreseeable future I'll continue
maintaining Glorp, but the code is MIT and I'm open to contributions
(I'll set up a Github repo in the next days).

Also I've been running production software based on Glorp for a few
years now, so my experience with it cover most of its features and
usage patterns, so if you have particular questions not covered by the
book chapter or any other material feel free to ask me, this mailing
list or to the Glorp mailing list at <[hidden email]>.

Best regards!

Esteban A. Maringolo

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pharo Glorp version and Book chapter

pdigonzelli1


Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA
25 de Mayo 521
San Miguel de Tucumán
Email: [hidden email]
[hidden email]
Cel: 5493815982714

----- Mensaje original -----
De: "Esteban A. Maringolo" <[hidden email]>
Para: "Pharo users" <[hidden email]>, "GLORP Mailing List" <[hidden email]>
Enviados: Domingo, 29 de Mayo 2016 15:27:17
Asunto: [ANN] New Pharo Glorp version and Book chapter
Excellent, thanks a lot!!!!




Hello all,

During the first part of the year, and sponsored by the Pharo
Consortium, I started a new port of Glorp, the Object-Relational
mapper, based on the latest version available in VW 8.0.1.

This latest port was done from scratch in Pharo and brings features
and bugfixes that were accumulated in the VW port during more than 5
years (previous Pharo port) and weren't available until now; and it
uses the Garage database drivers (but not limited to them).

During the last couple of months, and also by request of the
Consortium, I wrote a chapter for one of the Pharo books describing
Glorp as much as possible, with tutorials and key concepts. The
chapter ended up being the longest in text and pages of all written;
the domain is so broad and deep that I'm considering taking it to a
whole book, who knows...

The book is available at
<https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book-result/Glorp/Glorp.pdf>,
and I will welcome suggestions and corrections as pull requests to
<https://github.com/SquareBracketAssociates/PharoInProgress>

The Glorp repository is the same as the previous one
(http://www.smalltalkhub.com/#!/~DBXTalk/Glorp), and the current
Metacello configs will load the previous version for Pharo 4 and the
new version for Pharo 5. For the foreseeable future I'll continue
maintaining Glorp, but the code is MIT and I'm open to contributions
(I'll set up a Github repo in the next days).

Also I've been running production software based on Glorp for a few
years now, so my experience with it cover most of its features and
usage patterns, so if you have particular questions not covered by the
book chapter or any other material feel free to ask me, this mailing
list or to the Glorp mailing list at <[hidden email]>.

Best regards!

Esteban A. Maringolo

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/glorp-group.
For more options, visit https://groups.google.com/d/optout.

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pharo Glorp version and Book chapter

pdigonzelli1
In reply to this post by Esteban A. Maringolo
Excellent Esteban.
Thanks a lot !!!!



Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Dividato SA
25 de Mayo 521
San Miguel de Tucumán
Email: [hidden email]
[hidden email]
Cel: 5493815982714

----- Mensaje original -----
De: "Esteban A. Maringolo" <[hidden email]>
Para: "Pharo users" <[hidden email]>, "GLORP Mailing List" <[hidden email]>
Enviados: Domingo, 29 de Mayo 2016 15:27:17
Asunto: [ANN] New Pharo Glorp version and Book chapter

Hello all,

During the first part of the year, and sponsored by the Pharo
Consortium, I started a new port of Glorp, the Object-Relational
mapper, based on the latest version available in VW 8.0.1.

This latest port was done from scratch in Pharo and brings features
and bugfixes that were accumulated in the VW port during more than 5
years (previous Pharo port) and weren't available until now; and it
uses the Garage database drivers (but not limited to them).

During the last couple of months, and also by request of the
Consortium, I wrote a chapter for one of the Pharo books describing
Glorp as much as possible, with tutorials and key concepts. The
chapter ended up being the longest in text and pages of all written;
the domain is so broad and deep that I'm considering taking it to a
whole book, who knows...

The book is available at
<https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book-result/Glorp/Glorp.pdf>,
and I will welcome suggestions and corrections as pull requests to
<https://github.com/SquareBracketAssociates/PharoInProgress>

The Glorp repository is the same as the previous one
(http://www.smalltalkhub.com/#!/~DBXTalk/Glorp), and the current
Metacello configs will load the previous version for Pharo 4 and the
new version for Pharo 5. For the foreseeable future I'll continue
maintaining Glorp, but the code is MIT and I'm open to contributions
(I'll set up a Github repo in the next days).

Also I've been running production software based on Glorp for a few
years now, so my experience with it cover most of its features and
usage patterns, so if you have particular questions not covered by the
book chapter or any other material feel free to ask me, this mailing
list or to the Glorp mailing list at <[hidden email]>.

Best regards!

Esteban A. Maringolo

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/glorp-group.
For more options, visit https://groups.google.com/d/optout.

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pharo Glorp version and Book chapter

philippeback
In reply to this post by Esteban A. Maringolo
Esteban,

Thanks a lot for this, it really is a great (and much needed) resource!

Phil

On Sun, May 29, 2016 at 8:27 PM, Esteban A. Maringolo <[hidden email]> wrote:
Hello all,

During the first part of the year, and sponsored by the Pharo
Consortium, I started a new port of Glorp, the Object-Relational
mapper, based on the latest version available in VW 8.0.1.

This latest port was done from scratch in Pharo and brings features
and bugfixes that were accumulated in the VW port during more than 5
years (previous Pharo port) and weren't available until now; and it
uses the Garage database drivers (but not limited to them).

During the last couple of months, and also by request of the
Consortium, I wrote a chapter for one of the Pharo books describing
Glorp as much as possible, with tutorials and key concepts. The
chapter ended up being the longest in text and pages of all written;
the domain is so broad and deep that I'm considering taking it to a
whole book, who knows...

The book is available at
<https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book-result/Glorp/Glorp.pdf>,
and I will welcome suggestions and corrections as pull requests to
<https://github.com/SquareBracketAssociates/PharoInProgress>

The Glorp repository is the same as the previous one
(http://www.smalltalkhub.com/#!/~DBXTalk/Glorp), and the current
Metacello configs will load the previous version for Pharo 4 and the
new version for Pharo 5. For the foreseeable future I'll continue
maintaining Glorp, but the code is MIT and I'm open to contributions
(I'll set up a Github repo in the next days).

Also I've been running production software based on Glorp for a few
years now, so my experience with it cover most of its features and
usage patterns, so if you have particular questions not covered by the
book chapter or any other material feel free to ask me, this mailing
list or to the Glorp mailing list at <[hidden email]>.

Best regards!

Esteban A. Maringolo



Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pharo Glorp version and Book chapter

Sven Van Caekenberghe-2
In reply to this post by Esteban A. Maringolo
Great work and well done, Esteban, much appreciated. Thank you !

> On 29 May 2016, at 20:27, Esteban A. Maringolo <[hidden email]> wrote:
>
> Hello all,
>
> During the first part of the year, and sponsored by the Pharo
> Consortium, I started a new port of Glorp, the Object-Relational
> mapper, based on the latest version available in VW 8.0.1.
>
> This latest port was done from scratch in Pharo and brings features
> and bugfixes that were accumulated in the VW port during more than 5
> years (previous Pharo port) and weren't available until now; and it
> uses the Garage database drivers (but not limited to them).
>
> During the last couple of months, and also by request of the
> Consortium, I wrote a chapter for one of the Pharo books describing
> Glorp as much as possible, with tutorials and key concepts. The
> chapter ended up being the longest in text and pages of all written;
> the domain is so broad and deep that I'm considering taking it to a
> whole book, who knows...
>
> The book is available at
> <https://ci.inria.fr/pharo-contribution/job/PharoBookWorkInProgress/lastSuccessfulBuild/artifact/book-result/Glorp/Glorp.pdf>,
> and I will welcome suggestions and corrections as pull requests to
> <https://github.com/SquareBracketAssociates/PharoInProgress>
>
> The Glorp repository is the same as the previous one
> (http://www.smalltalkhub.com/#!/~DBXTalk/Glorp), and the current
> Metacello configs will load the previous version for Pharo 4 and the
> new version for Pharo 5. For the foreseeable future I'll continue
> maintaining Glorp, but the code is MIT and I'm open to contributions
> (I'll set up a Github repo in the next days).
>
> Also I've been running production software based on Glorp for a few
> years now, so my experience with it cover most of its features and
> usage patterns, so if you have particular questions not covered by the
> book chapter or any other material feel free to ask me, this mailing
> list or to the Glorp mailing list at <[hidden email]>.
>
> Best regards!
>
> Esteban A. Maringolo
>


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pharo Glorp version and Book chapter

Esteban A. Maringolo
In reply to this post by Esteban A. Maringolo
Thanks all. There were several people that helped me along this
endeavor and I thank again the Pharo Consortium for pushing this.

2016-05-30 5:04 GMT-03:00 Denis Kudriashov <[hidden email]>:
> Good job, Esteban.
> Now we need good Garage drivers for databases which not lock image. Does
> anyone plan to work on Oracle and SQLServer backends?

The Garage drivers got hurt by the changes in the FFI API (UFFI), but
there are some people working on getting them back for Pharo 5. This
is really important, and for those RDBMS you mention in particular,
according to a survey [1] I did at the end of last year. We'll get
there.

Those willing to discuss issues or collaborate on these topics can
always use this mailing list, but there is an active community of
developers in the Pharo Project Slack team, we have one channel
dedicated to database discussion [2].

Also, I copied the latest commit from the SmalltalkHub repo to GitHub
in order to use its issue tracker [3] for bug reporting.

Regards!

[1] https://medium.com/@emaringolo/pharo-rdbms-support-survey-results-9c8f640878db
[2] https://pharoproject.slack.com/messages/databases/
[3] https://github.com/DBXTalk/Glorp/issues

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pharo Glorp version and Book chapter

Guillermo Polito
Cool!

Do you know which are the changes that got harvested with the new port?
I mean, the issues fixed or the features added. An approximated
changelog would do...

-------- Original Message --------

> Thanks all. There were several people that helped me along this
> endeavor and I thank again the Pharo Consortium for pushing this.
>
> 2016-05-30 5:04 GMT-03:00 Denis Kudriashov <[hidden email]>:
>> Good job, Esteban.
>> Now we need good Garage drivers for databases which not lock image. Does
>> anyone plan to work on Oracle and SQLServer backends?
> The Garage drivers got hurt by the changes in the FFI API (UFFI), but
> there are some people working on getting them back for Pharo 5. This
> is really important, and for those RDBMS you mention in particular,
> according to a survey [1] I did at the end of last year. We'll get
> there.
That's strange. Mysql, Postgresql and Sqlite are working both for
windows and linux, pharo 4 and 5.

The only one that is not yet working is opendbx.

Is there something I'm not aware of?
>
> Those willing to discuss issues or collaborate on these topics can
> always use this mailing list, but there is an active community of
> developers in the Pharo Project Slack team, we have one channel
> dedicated to database discussion [2].
>
> Also, I copied the latest commit from the SmalltalkHub repo to GitHub
> in order to use its issue tracker [3] for bug reporting.
Nice!
Soon we will have git support by default in Pharo :)
>
> Regards!
>
> [1] https://medium.com/@emaringolo/pharo-rdbms-support-survey-results-9c8f640878db
> [2] https://pharoproject.slack.com/messages/databases/
> [3] https://github.com/DBXTalk/Glorp/issues
>


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pharo Glorp version and Book chapter

Esteban A. Maringolo
2016-05-30 12:49 GMT-03:00 Guille Polito <[hidden email]>:
> Cool!
>
> Do you know which are the changes that got harvested with the new port? I
> mean, the issues fixed or the features added. An approximated changelog
> would do...

I don't know, I could collect them from the Cincom Repository, I just
took a look and there are over 100 commits of the Glorp bundle between
2012 and 2015. I'll perform a few queries, in Glorp, to retrieve them
and summarize it wherever possible.

I can easily recall changes in the Query API and features like
supporting SQL's IN operator, as well as others, and support for newer
versions of the platforms.

One important step, is that we know which version we forked from, in
the past in the Glorp mailing list happened many times they told me
"use this or that" and it wasn't supported, and we didn't know how to
compare feature support.

Glorp lacks a good versioning strategy and just follows VW release
numbers, for Pharo I decided this port will be 2.0 and use semantic
versioning for future releases.


> -------- Original Message --------
>>
>> Thanks all. There were several people that helped me along this
>> endeavor and I thank again the Pharo Consortium for pushing this.

>> The Garage drivers got hurt by the changes in the FFI API (UFFI), but
>> there are some people working on getting them back for Pharo 5. This
>> is really important, and for those RDBMS you mention in particular,
>> according to a survey [1] I did at the end of last year. We'll get
>> there.
>
> That's strange. Mysql, Postgresql and Sqlite are working both for windows
> and linux, pharo 4 and 5.
>
> The only one that is not yet working is opendbx.
>
> Is there something I'm not aware of?

Pharo 4 is out of the question because it uses the old FFI. PostgreSQL
and MySQL are native, so they weren't affected by FFI. But for the
latest version the Garage SQLite3 driver passes its own tests (Garage
ones), but when the Glorp Test suite is run with it as its driver,
lots of tests fail, related with basic things of SQLite, not Glorp. I
raised this concern at the beginning of this month in the #databases
channel in Slack. I was delaying the release because of SQLite3
support, but couldn't wait more. However Pierce Ng (maintainer of the
SQLite3 FFI driver) is working on it, but not as part of Garage AFAIU.

>> Also, I copied the latest commit from the SmalltalkHub repo to GitHub
>> in order to use its issue tracker [3] for bug reporting.
>
> Nice!
> Soon we will have git support by default in Pharo :)

I heard about it, I look forward to see it in action :)

Regards!

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] New Pharo Glorp version and Book chapter

Guillermo Polito


-------- Original Message --------

> 2016-05-30 12:49 GMT-03:00 Guille Polito <[hidden email]>:
>> Cool!
>>
>> Do you know which are the changes that got harvested with the new port? I
>> mean, the issues fixed or the features added. An approximated changelog
>> would do...
> I don't know, I could collect them from the Cincom Repository, I just
> took a look and there are over 100 commits of the Glorp bundle between
> 2012 and 2015. I'll perform a few queries, in Glorp, to retrieve them
> and summarize it wherever possible.
>
> I can easily recall changes in the Query API and features like
> supporting SQL's IN operator, as well as others, and support for newer
> versions of the platforms.
>
> One important step, is that we know which version we forked from, in
> the past in the Glorp mailing list happened many times they told me
> "use this or that" and it wasn't supported, and we didn't know how to
> compare feature support.
>
> Glorp lacks a good versioning strategy and just follows VW release
> numbers, for Pharo I decided this port will be 2.0 and use semantic
> versioning for future releases.
>
>
>> -------- Original Message --------
>>> Thanks all. There were several people that helped me along this
>>> endeavor and I thank again the Pharo Consortium for pushing this.
>>> The Garage drivers got hurt by the changes in the FFI API (UFFI), but
>>> there are some people working on getting them back for Pharo 5. This
>>> is really important, and for those RDBMS you mention in particular,
>>> according to a survey [1] I did at the end of last year. We'll get
>>> there.
>> That's strange. Mysql, Postgresql and Sqlite are working both for windows
>> and linux, pharo 4 and 5.
>>
>> The only one that is not yet working is opendbx.
>>
>> Is there something I'm not aware of?
> Pharo 4 is out of the question because it uses the old FFI. PostgreSQL
> and MySQL are native, so they weren't affected by FFI. But for the
> latest version the Garage SQLite3 driver passes its own tests (Garage
> ones), but when the Glorp Test suite is run with it as its driver,
> lots of tests fail, related with basic things of SQLite, not Glorp.
Maybe we need to enhance Garage's test suite?
Can you point me to the exact cases?
>   I
> raised this concern at the beginning of this month in the #databases
> channel in Slack.
I'm not always reading slack, and sometimes I forget to open it. My
linux machine does not remember opened apps as well as my old mac did :)

> I was delaying the release because of SQLite3
> support, but couldn't wait more. However Pierce Ng (maintainer of the
> SQLite3 FFI driver) is working on it, but not as part of Garage AFAIU.
>
>>> Also, I copied the latest commit from the SmalltalkHub repo to GitHub
>>> in order to use its issue tracker [3] for bug reporting.
>> Nice!
>> Soon we will have git support by default in Pharo :)
> I heard about it, I look forward to see it in action :)
>
> Regards!
>