[Pharo-project] [ANN] Z39.50 FFI Client (ZOOM binding)
This is a binding of the ZOOM Yaz client for Squeak and Pharo [1]. To install: 1) Download the compiled library (DLL or SO) from http://www.indexdata.dk/yaz/ and copy the yaz3.dll (or equivalent in Unix) to your Squeak directory. 2) Make sure you have installed FFI package in your image: 3) If you have Installer in your image doIt this: Installer ss project: 'Z3950'; install: 'Z3950'; install: 'Z3950Tests'. To use: Right now you must know the infamous PQF/PQN query syntax (I'm working on it). Connect to a Z39.50 server and make a query for records with author Foucault : Z3950Client new server: #Alameda; query: '@attr 1=1003 foucault'. or using a random server for Kant Z3950Client new query: '@attr 1=1003 kant'. Best regards Hernán [1] SqueakSource page link : http://www.squeaksource.com/Z3950.html
YAZ C toolkit for development of Z39.50 applications. So what is it? On May 4, 2009, at 1:40 AM, Hernán Morales Durand wrote:
This is a binding of the ZOOM Yaz client for Squeak and Pharo [1].
To install:
1) Download the compiled library (DLL or SO) from http://www.indexdata.dk/yaz/ and copy the yaz3.dll (or equivalent in Unix) to your Squeak directory. 2) Make sure you have installed FFI package in your image: 3) If you have Installer in your image doIt this:
Installer ss project: 'Z3950'; install: 'Z3950'; install: 'Z3950Tests'.
To use:
Right now you must know the infamous PQF/PQN query syntax (I'm working on it). Connect to a Z39.50 server and make a query for records with author Foucault :
Z3950Client new server: #Alameda; query: '@attr 1=1003 foucault'.
or using a random server for Kant
Z3950Client new query: '@attr 1=1003 kant'.
Best regards
Hernán
[1] SqueakSource page link : http://www.squeaksource.com/Z3950.html
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
ZOOM is an acronym for 'Z39.50 Object-Orientation Model' Looks like for doing databasing. Alexandre On 4 May 2009, at 08:59, Stéphane Ducasse wrote:
YAZ C toolkit for development of Z39.50 applications.
So what is it?
On May 4, 2009, at 1:40 AM, Hernán Morales Durand wrote:
This is a binding of the ZOOM Yaz client for Squeak and Pharo [1].
To install:
1) Download the compiled library (DLL or SO) from http://www.indexdata.dk/yaz/ and copy the yaz3.dll (or equivalent in Unix) to your Squeak directory. 2) Make sure you have installed FFI package in your image: 3) If you have Installer in your image doIt this:
Installer ss project: 'Z3950'; install: 'Z3950'; install: 'Z3950Tests'.
To use:
Right now you must know the infamous PQF/PQN query syntax (I'm working on it). Connect to a Z39.50 server and make a query for records with author Foucault :
Z3950Client new server: #Alameda; query: '@attr 1=1003 foucault'.
or using a random server for Kant
Z3950Client new query: '@attr 1=1003 kant'.
Best regards
Hernán
[1] SqueakSource page link : http://www.squeaksource.com/Z3950.html
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On May 4, 2009, at 9:10 AM, Alexandre Bergel wrote:
ZOOM is an acronym for 'Z39.50 Object-Orientation Model'
yes but this is not really clear either. I read the manual but this should be so obvious that they never said a word about what is a z39.50 OOM
Looks like for doing databasing.
Alexandre
On 4 May 2009, at 08:59, Stéphane Ducasse wrote:
YAZ C toolkit for development of Z39.50 applications.
So what is it?
On May 4, 2009, at 1:40 AM, Hernán Morales Durand wrote:
This is a binding of the ZOOM Yaz client for Squeak and Pharo [1].
To install:
1) Download the compiled library (DLL or SO) from http://www.indexdata.dk/yaz/ and copy the yaz3.dll (or equivalent in Unix) to your Squeak directory. 2) Make sure you have installed FFI package in your image: 3) If you have Installer in your image doIt this:
Installer ss project: 'Z3950'; install: 'Z3950'; install: 'Z3950Tests'.
To use:
Right now you must know the infamous PQF/PQN query syntax (I'm working on it). Connect to a Z39.50 server and make a query for records with author Foucault :
Z3950Client new server: #Alameda; query: '@attr 1=1003 foucault'.
or using a random server for Kant
Z3950Client new query: '@attr 1=1003 kant'.
Best regards
Hernán
[1] SqueakSource page link : http://www.squeaksource.com/Z3950.html
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Z39.50 is a protocol for data retrieval (mostly used in library metadata exchange). On Mon, May 4, 2009 at 11:20, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
On May 4, 2009, at 9:10 AM, Alexandre Bergel wrote:
ZOOM is an acronym for 'Z39.50 Object-Orientation Model'
yes but this is not really clear either. I read the manual but this should be so obvious that they never said a word about what is a z39.50 OOM
Looks like for doing databasing.
Alexandre
On 4 May 2009, at 08:59, Stéphane Ducasse wrote:
YAZ C toolkit for development of Z39.50 applications.
So what is it?
On May 4, 2009, at 1:40 AM, Hernán Morales Durand wrote:
This is a binding of the ZOOM Yaz client for Squeak and Pharo [1].
To install:
1) Download the compiled library (DLL or SO) from http://www.indexdata.dk/yaz/ and copy the yaz3.dll (or equivalent in Unix) to your Squeak directory. 2) Make sure you have installed FFI package in your image: 3) If you have Installer in your image doIt this:
Installer ss project: 'Z3950'; install: 'Z3950'; install: 'Z3950Tests'.
To use:
Right now you must know the infamous PQF/PQN query syntax (I'm working on it). Connect to a Z39.50 server and make a query for records with author Foucault :
Z3950Client new server: #Alameda; query: '@attr 1=1003 foucault'.
or using a random server for Kant
Z3950Client new query: '@attr 1=1003 kant'.
Best regards
Hernán
[1] SqueakSource page link : http://www.squeaksource.com/Z3950.html
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel  http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
tx On May 4, 2009, at 9:52 AM, Andrey Larionov wrote:
Z39.50 is a protocol for data retrieval (mostly used in library metadata exchange).
On Mon, May 4, 2009 at 11:20, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
On May 4, 2009, at 9:10 AM, Alexandre Bergel wrote:
ZOOM is an acronym for 'Z39.50 Object-Orientation Model'
yes but this is not really clear either. I read the manual but this should be so obvious that they never said a word about what is a z39.50 OOM
Looks like for doing databasing.
Alexandre
On 4 May 2009, at 08:59, Stéphane Ducasse wrote:
YAZ C toolkit for development of Z39.50 applications.
So what is it?
On May 4, 2009, at 1:40 AM, Hernán Morales Durand wrote:
This is a binding of the ZOOM Yaz client for Squeak and Pharo [1].
To install:
1) Download the compiled library (DLL or SO) from http://www.indexdata.dk/yaz/ and copy the yaz3.dll (or equivalent in Unix) to your Squeak directory. 2) Make sure you have installed FFI package in your image: 3) If you have Installer in your image doIt this:
Installer ss project: 'Z3950'; install: 'Z3950'; install: 'Z3950Tests'.
To use:
Right now you must know the infamous PQF/PQN query syntax (I'm working on it). Connect to a Z39.50 server and make a query for records with author Foucault :
Z3950Client new server: #Alameda; query: '@attr 1=1003 foucault'.
or using a random server for Kant
Z3950Client new query: '@attr 1=1003 kant'.
Best regards
Hernán
[1] SqueakSource page link : http://www.squeaksource.com/ Z3950.html
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo- project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2009/5/4 Stéphane Ducasse <stephane.ducasse@inria.fr>:
On May 4, 2009, at 9:10 AM, Alexandre Bergel wrote:
ZOOM is an acronym for 'Z39.50 Object-Orientation Model'
yes but this is not really clear either. I read the manual but this should be so obvious that they never said a word about what is a z39.50 OOM
Is not obvious at all Stéphane, I forgot some links or explanation, and given that is the star protocol for querying catalogs through national libraries around the world, the documentation is pretty unclear and they assume many things (imagine how it's to build a Z39.50 server to test) Z39.50 is a pre-web protocol for querying library catalogs using the same rules, something like using the same UI to query any library. Pre-web means this protocol doesn't need HTTP to work, but encodes things using ODR/ASN.1 protocol. The typical operations for this protocol are Search, Retrieve, Sort and Browse, (documentation says you can update databases too but I didn't tested it). What is weird to discover is that not every catalog of scientific journals, for example, is available through a web UI. A ZOOM binding [1] is a concrete implementation of the Z39.50 API provided by an OO specification called ZOOM. The conformation with ZOOM is optional, and as a developper you can choose any toolkit (Corssnet's ZedKit, OCLC's tools or YAZ which is the most popular) and implement the interface using the low-level YAZ calls (here you need to mess with complex data-structures from ASN.1 and PDU's) or using the ZOOM calls, which happen to be included in the same dll/so library. Hope that clears the picture a little bit. Hernán [1] http://zoom.z3950.org/bind/index.html
Looks like for doing databasing.
Alexandre
On 4 May 2009, at 08:59, Stéphane Ducasse wrote:
YAZ C toolkit for development of Z39.50 applications.
So what is it?
On May 4, 2009, at 1:40 AM, Hernán Morales Durand wrote:
This is a binding of the ZOOM Yaz client for Squeak and Pharo [1].
To install:
1) Download the compiled library (DLL or SO) from http://www.indexdata.dk/yaz/ and copy the yaz3.dll (or equivalent in Unix) to your Squeak directory. 2) Make sure you have installed FFI package in your image: 3) If you have Installer in your image doIt this:
Installer ss project: 'Z3950'; install: 'Z3950'; install: 'Z3950Tests'.
To use:
Right now you must know the infamous PQF/PQN query syntax (I'm working on it). Connect to a Z39.50 server and make a query for records with author Foucault :
Z3950Client new server: #Alameda; query: '@attr 1=1003 foucault'.
or using a random server for Kant
Z3950Client new query: '@attr 1=1003 kant'.
Best regards
Hernán
[1] SqueakSource page link : http://www.squeaksource.com/Z3950.html
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel  http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
It's very cool. As a former developer of z39.50-like service and a library IT-engineer i can say, what ability to use it with Seaside could spread Squeak into librarian sphere. If i only could youse this beauty tools (Seaside, Pharo, ZOOM) in 2001, but... On Mon, May 4, 2009 at 20:13, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
2009/5/4 Stéphane Ducasse <stephane.ducasse@inria.fr>:
On May 4, 2009, at 9:10 AM, Alexandre Bergel wrote:
ZOOM is an acronym for 'Z39.50 Object-Orientation Model'
yes but this is not really clear either. I read the manual but this should be so obvious that they never said a word about what is a z39.50 OOM
 Is not obvious at all Stéphane, I forgot some links or explanation, and given that is the star protocol for querying catalogs through national libraries around the world, the documentation is pretty unclear and they assume many things (imagine how it's to build a Z39.50 server to test)
Z39.50 is a pre-web protocol for querying library catalogs using the same rules, something like using the same UI to query any library. Pre-web means this protocol doesn't need HTTP to work, but encodes things using ODR/ASN.1 protocol. The typical operations for this protocol are Search, Retrieve, Sort and Browse, (documentation says you can update databases too but I didn't tested it). What is weird to discover is that not every catalog of scientific journals, for example, is available through a web UI.
A ZOOM binding [1] is a concrete implementation of the Z39.50 API provided by an OO specification called ZOOM. The conformation with ZOOM is optional, and as a developper you can choose any toolkit (Corssnet's ZedKit, OCLC's tools or YAZ which is the most popular) and implement the interface using the low-level YAZ calls (here you need to mess with complex data-structures from ASN.1 and PDU's) or using the ZOOM calls, which happen to be included in the same dll/so library. Hope that clears the picture a little bit.
Hernán
[1] http://zoom.z3950.org/bind/index.html
Looks like for doing databasing.
Alexandre
On 4 May 2009, at 08:59, Stéphane Ducasse wrote:
YAZ C toolkit for development of Z39.50 applications.
So what is it?
On May 4, 2009, at 1:40 AM, Hernán Morales Durand wrote:
This is a binding of the ZOOM Yaz client for Squeak and Pharo [1].
To install:
1) Download the compiled library (DLL or SO) from http://www.indexdata.dk/yaz/ and copy the yaz3.dll (or equivalent in Unix) to your Squeak directory. 2) Make sure you have installed FFI package in your image: 3) If you have Installer in your image doIt this:
Installer ss project: 'Z3950'; install: 'Z3950'; install: 'Z3950Tests'.
To use:
Right now you must know the infamous PQF/PQN query syntax (I'm working on it). Connect to a Z39.50 server and make a query for records with author Foucault :
Z3950Client new server: #Alameda; query: '@attr 1=1003 foucault'.
or using a random server for Kant
Z3950Client new query: '@attr 1=1003 kant'.
Best regards
Hernán
[1] SqueakSource page link : http://www.squeaksource.com/Z3950.html
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel  http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (4)
-
Alexandre Bergel -
Andrey Larionov -
Hernán Morales Durand -
Stéphane Ducasse