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

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

Serving Software Downloads in 976 Categories, Downloaded 29.543.237 Times

Net::Z3950::SimpleServer 1.03

  Date Added: June 19, 2010  |  Visits: 567

Net::Z3950::SimpleServer

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 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
Libraries  -  Inline-API 0.44
Inline-API is a Perl module that teach you how to bind a programming language to Perl using Inline.pm. SYNOPSIS #!/usr/bin/perl use Inline Foo; say_it(foo); # Use Foo to print "Hello, Foo" __Foo__ foo-sub say_it { foo-my $foo =...
91.14 KB  
Libraries  -  WebService::Geograph::API 0.04
WebService::Geograph::API is a Perl interface to the Geograph.co.uk API. SYNOPSIS use WebService::Geograph::API; my $api = new WebService::Geograph::API ( { key => your_api_key_here} ) ; my $rv = $api->lookup ( csv, { i => 12345, ll => 1,...
13.31 KB  
Libraries  -  eBay::API 0.22
eBay::API is a Perl SDK for eBay Web services Interface. SYNOPSIS # 1. GeteBayOfficialTime use eBay::API::XML::Call::GeteBayOfficialTime; my $pCall = eBay::API::XML::Call::GeteBayOfficialTime->new(); $pCall->execute(); my $sOfficialTime =...
99.33 KB  
Libraries  -  Business::PayPal::API 0.50
Business::PayPal::API is a PayPal API. SYNOPSIS use Business::PayPal::API qw( ExpressCheckout GetTransactionDetails ); ## certificate authentication my $pp = new Business::PayPal::API ( Username => my_api1.domain.tld, Password =>...
30.72 KB  
Modules  -  Wysiwyg API 6.x-0.3/5.x-0.3 1.0
It contains the following modules:Wysiwyg API - Implement #wysiwyg Form API property to force display or suppression of a Wysiwyg Editor. Integrate with Drupal core's filter/input format system to allow Wysiwyg editing on text fields that actually...
 
Libraries  -  PDL::API 2.4.3
PDL::API is a Perl module for making piddles from Perl and C/XS code. A simple cookbook how to create piddles manually. It covers both the Perl and the C/XS level. Additionally, it describes the PDL core routines that can be accessed from other...
2.1 MB  
Libraries  -  Yahoo::Search 1.7.10
Yahoo::Search is a Perl interface to the Yahoo! Search public API. The following search spaces are supported: Doc Common web search for documents (html, pdf, doc, ...), including Y!Q contextual search. Image Image search (jpeg, png, gif,...
35.84 KB  
Libraries  -  Search::Binary 0.95
Search::Binary is a Perl module for generic binary search. SYNOPSIS use Seach::Binary; $pos = binary_search($min, $max, $val, $read, $handle, [$size]); binary_search implements a generic binary search algorithm returning the position of the...
2.05 KB  
Libraries  -  Db::Documentum 1.63
Db::Documentum is a Documentum API interface for Perl. SYNOPSIS use Db::Documentum qw(:all); scalar = dmAPIGet( ); $sessionID = dmAPIGet("connect,docbase,username,password"); scalar = dmAPIExec( ); $rv =...
296.96 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB