Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.080.705 Times

Net::Z3950::SimpleServer 1.03

  Date Added: June 19, 2010  |  Visits: 956

Net::Z3950::SimpleServer

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 downloads)



Net::Z3950::SimpleServer is a simple Perl API for building Z39.50 servers. SYNOPSIS use Net::Z3950::SimpleServer; sub my_search_handler { my $args = shift; my $set_id = $args->{SETNAME}; my @database_list = @{ $args->{DATABASES} }; my $query = $args->{QUERY}; ## Perform the query on the specified set of databases ## and return the number of hits: $args->{HITS} = $hits; } sub my_fetch_handler { # Get a record for the user my $args = shift; my $set_id = $args->{SETNAME}; my $record = fetch_a_record($args->{OFFSET}); $args->{RECORD} = $record; if (number_of_hits() == $args->{OFFSET}) { ## Last record in set? $args->{LAST} = 1; } else { $args->{LAST} = 0; } } ## Register custom event handlers: my $z = new Net::Z3950::SimpleServer( INIT => &my_init_handler, CLOSE => &my_close_handler, SEARCH => &my_search_handler, FETCH => &my_fetch_handler); ## Launch server: $z->launch_server("ztest.pl", @ARGV); The SimpleServer module is a tool for constructing Z39.50 "Information Retrieval" servers in Perl. The module is easy to use, but it does help to have an understanding of the Z39.50 query structure and the construction of structured retrieval records. Z39.50 is a network protocol for searching remote databases and retrieving the results in the form of structured "records". It is widely used in libraries around the world, as well as in the US Federal Government. In addition, it is generally useful whenever you wish to integrate a number of different database systems around a shared, asbtract data model. The model of the module is simple: It implements a "generic" Z39.50 server, which invokes callback functions supplied by you to search for content in your database. You can use any tools available in Perl to supply the content, including modules like DBI and WWW::Search. The server will take care of managing the network connections for you, and it will spawn a new process (or thread, in some environments) whenever a new connection is received..

Requirements: No special requirements
Platforms: Linux
Keyword: Api Libraries Perl Perl Api Programming Record Search Simple Simpleserver
Users rating: 0/10

License: Freeware Size: 28.67 KB
USER REVIEWS
More Reviews or Write Review


NET::Z3950::SIMPLESERVER RELATED
Development Tools  -  Cheap and simple API helper 1.0
Cheap and simple API helper allows you to get help in API programming.
 
3D Graphic Tools  -  The Pure Perl RayCaster 1.0b
The Pure Perl RayCaster is a small simple Ray casting application written completely in Perl without using any 3D API library or OpenGL. For the GUI, Pure Perl RayCaster uses wxPerl (WxWindows port to Perl). Pure Perl RayCaster can load a 3D...
29.7 KB  
Libraries  -  LJ::Simple 0.15
LJ::Simple is a Perl module to provide a simple OOP-based API for accessing the LiveJournal system..
44.03 KB  
Libraries  -  Gtk2::Ex::Dialogs::Question 0.11
Gtk2::Ex::Dialogs::Question is a Perl module that provides a simple question dialog. SYNOPSIS use Gtk2::Ex::Dialogs::Question ( destroy_with_parent => TRUE, modal => TRUE, no_separator => FALSE ); # do some stuff like creating your apps...
20.48 KB  
Libraries  -  AltaVista::SearchSDK 0.99b
AltaVista::SearchSDK is a Perl extension for AltaVista Search Software Development Kit. SYNOPSIS use AltaVista::SearchSDK; avs_adddate(idx, yr, mo, da, startloc) avs_addfield(idx, pFname, startloc, endloc) avs_addliteral(idx, pWord, loc)...
8.19 KB  
Libraries  -  DBIx::DWIW 0.44
DBIx::DWIW is a Perl module for robust and simple DBI wrapper to Do What I Want (DWIW). SYNOPSIS When used directly: use DBIx::DWIW; my $db = DBIx::DWIW->Connect(DB => $database, User => $user, Pass => $password, Host => $host); my...
22.53 KB  
Modules  -  Yahoo Search BOSS 1.0
It integrates with the core search module and also provides an API for submitting search queries.Installation - Unpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules.  Requirements: -...
 
Libraries  -  XML::DocStats 0.01
XML::DocStats is a Perl module to produce a simple analysis of an XML document. SYNOPSIS Analyze the xml document on STDIN, the STDOUT output format is html: use XML::DocStats; my $parse = XML::DocStats->new; $parse->analyze; Analyze...
27.65 KB  
Libraries  -  List::MRU 0.04
List::MRU is a Perl module that implements a simple fixed-size MRU-ordered list. SYNOPSIS use List::MRU; # Constructor $lm = List::MRU->new(max => 20); # Constructor with explicit eq subroutine for obj equality tests $lm =...
4.1 KB  
Libraries  -  Class::InsideOut 1.02
Class::InsideOut is a Perl module with a safe, simple inside-out object construction kit. SYNOPSIS package My::Class; use Class::InsideOut qw( public private register id ); public name => my %name; # accessor: name() private age => my...
48.13 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB