database query
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3187
Database Functions 1.0
Database Functions is a PHP class that can be used to build and execute MySQL database queries. more>>
Database Functions is a PHP class that can be used to build and execute MySQL database queries.
It can build SELECT, INSERT, UPDATE and DELETE queries from lists of parameters and values.
The class can also execute the generated queries and retrieve the SELECT query results into associative arrays.
<<lessIt can build SELECT, INSERT, UPDATE and DELETE queries from lists of parameters and values.
The class can also execute the generated queries and retrieve the SELECT query results into associative arrays.
Download (MB)
Added: 2007-07-19 License: GPL (GNU General Public License) Price:
830 downloads
Be::Query 0.1
Be::Query is a Perl module to do a query for a given filesystem. more>>
Be::Query is a Perl module to do a query for a given filesystem.
SYNOPSIS
use Be::Query;
@files = Be::Query::Query($filesystem, $query);
do a Query for a given filesystem
USAGE
@files = Be::Query::Query("/boot", "name=lib*.so");
$filesystem is a path anywhere in the target filesystem; $query is a query construction, of the form attribute op value [connector attribute op value]
Such as (name = fido) || (size >= 500)
<<lessSYNOPSIS
use Be::Query;
@files = Be::Query::Query($filesystem, $query);
do a Query for a given filesystem
USAGE
@files = Be::Query::Query("/boot", "name=lib*.so");
$filesystem is a path anywhere in the target filesystem; $query is a query construction, of the form attribute op value [connector attribute op value]
Such as (name = fido) || (size >= 500)
Download (0.003MB)
Added: 2007-04-12 License: Perl Artistic License Price:
925 downloads
Mckoi SQL Database 1.0.3
Mckoi SQL Database is a Java relational database management system. more>>
Mckoi SQL Database is a full featured SQL-92 relational database management system written in Java.
The software can operate as either a dedicated multi-client, multi-threaded database server, or can be used as an embedded database inside a Java application.
The engine is designed to be easy to use and maintain and versatile for sophisticated database development tasks. The software provides a JDBC 2.0 driver.
To use Mckoi SQL Database, you will need a JavaTM runtime environment version 1.2 or greater. Sun provides Java runtimes for Win32, Solaris and Linux from their website at http://www.javasoft.com/j2se/. IBM also provides various Java runtimes for a number of platforms at http://www.ibm.com/java/jdk/download/.
When Java has been installed on your system, unpack the mckoi distribution file to a directory in your file system. Then you are ready to create a database and develop your database application.
Creating A Database
Before you can begin development of your database application, you will need to create and configure a blank database. The database configuration file describes all of the configurable properties of the database (details of the database configuration file are covered in the next section). The software ships with a default configuration that looks for a database at path ./data in your filesystem.
To create a database using the default configuration with an admin username of admin_user and password aupass00, go to a prompt, change to the Mckoi Database distribution directory and type:
java -jar mckoidb.jar -create "admin_user" "aupass00"
We do not advise using either this username or password in a production system. The user created here has full control over every aspect of the database so choose a username / password carefully.
When the command has completed, a sub-directory called data will have been generated. This directory is used to store data from the database. A sub-directory called log is also generated which stores debugging and query log information.
Database Configuration
When you run the mckoidb.jar package, it looks for a file named db.conf in the current directory. This file contains a number of variables that determine where the database looks for information, as well as other user-definable properties. The configuration file can be renamed and copied to a different location. If you change the configuration file location, you must supply the location when you run the database;
java -jar mckoidb.jar -conf [location of conf file] .....
You can edit the configuration file with a text editor. The default configuration file that ships with the software contains extensive comments on what each variable does.
<<lessThe software can operate as either a dedicated multi-client, multi-threaded database server, or can be used as an embedded database inside a Java application.
The engine is designed to be easy to use and maintain and versatile for sophisticated database development tasks. The software provides a JDBC 2.0 driver.
To use Mckoi SQL Database, you will need a JavaTM runtime environment version 1.2 or greater. Sun provides Java runtimes for Win32, Solaris and Linux from their website at http://www.javasoft.com/j2se/. IBM also provides various Java runtimes for a number of platforms at http://www.ibm.com/java/jdk/download/.
When Java has been installed on your system, unpack the mckoi distribution file to a directory in your file system. Then you are ready to create a database and develop your database application.
Creating A Database
Before you can begin development of your database application, you will need to create and configure a blank database. The database configuration file describes all of the configurable properties of the database (details of the database configuration file are covered in the next section). The software ships with a default configuration that looks for a database at path ./data in your filesystem.
To create a database using the default configuration with an admin username of admin_user and password aupass00, go to a prompt, change to the Mckoi Database distribution directory and type:
java -jar mckoidb.jar -create "admin_user" "aupass00"
We do not advise using either this username or password in a production system. The user created here has full control over every aspect of the database so choose a username / password carefully.
When the command has completed, a sub-directory called data will have been generated. This directory is used to store data from the database. A sub-directory called log is also generated which stores debugging and query log information.
Database Configuration
When you run the mckoidb.jar package, it looks for a file named db.conf in the current directory. This file contains a number of variables that determine where the database looks for information, as well as other user-definable properties. The configuration file can be renamed and copied to a different location. If you change the configuration file location, you must supply the location when you run the database;
java -jar mckoidb.jar -conf [location of conf file] .....
You can edit the configuration file with a text editor. The default configuration file that ships with the software contains extensive comments on what each variable does.
Download (2.1MB)
Added: 2005-04-21 License: GPL (GNU General Public License) Price:
1649 downloads
Relations::Query 0.93
Relations::Query is a Perl Object for building queries with DBI/DBD::mysql. more>>
Relations::Query is a Perl Object for building queries with DBI/DBD::mysql.
SYNOPSIS
# Relations::Query Script that creates some queries.
use Relations::Query;
$query = new Relations::Query(-select => {fife => barney},
-from => {green_teeth => moogoo},
-where => "flotsam>jetsam",
-group_by => "denali",
-having => {fortune => cookie},
-order_by => [was,is,will],
-limit => 1);
$get_query = $query->get();
$query->set(-select => {clean => sparkle},
-from => {lean => book},
-where => "fighting is between courage and chaos",
-limit => 123);
$set_query = $query->get();
$get_add_query = $query->get_add(-select => {mean => dog},
-where => "running is null",
-having => {kitties=> on_tv},
-limit => [9678]);
$query = to_string({select => this,
from => that});
<<lessSYNOPSIS
# Relations::Query Script that creates some queries.
use Relations::Query;
$query = new Relations::Query(-select => {fife => barney},
-from => {green_teeth => moogoo},
-where => "flotsam>jetsam",
-group_by => "denali",
-having => {fortune => cookie},
-order_by => [was,is,will],
-limit => 1);
$get_query = $query->get();
$query->set(-select => {clean => sparkle},
-from => {lean => book},
-where => "fighting is between courage and chaos",
-limit => 123);
$set_query = $query->get();
$get_add_query = $query->get_add(-select => {mean => dog},
-where => "running is null",
-having => {kitties=> on_tv},
-limit => [9678]);
$query = to_string({select => this,
from => that});
Download (0.010MB)
Added: 2006-09-02 License: Perl Artistic License Price:
1147 downloads
PHP MySQL Database Layer Class 1.03
PHP MySQL Database Layer Class is a php class providing some very useful methods to work with a mySQL database. more>>
PHP MySQL Database Layer Class is a php class providing some very useful methods to work with a mySQL database.
Main features:
- connects you to a mySQL host and select a database in a single call (opposed to PHPs native functions which requires two steps)
- has a "query" method that has the same role as PHPs mysql_query but this one will tell you about the affected rows (through the "affectedRows" property) when executing an INSERT, UPDATE, DELETE query and about the found rows (through the "foundRows" property) when executing a SELECT query - the "foundRows" property tells you how many records would the query return if there was no LIMIT applied to it - very useful when creating listing so you dont have to do a query to determine how many records you have in a database and the again a query to show only the records from a page
- has an "escape_string" method that will "mysql_real_escape_string" your string weather the magic_quotes are on or not
- has a "dlookup" method that i am sure you will find VERY useful once you get to know it: it return data from a single table cell based on standard mySQL WHERE criteria - see the manual for detailed info! (yes, it acts exactly like the function with the same name from microsft access)
- provides you with a very useful debug interface which shows you each query your script is running, for how long, the total number of queries made, the total execution time of your queries, errors of your queries and what are the values of $_GET, $_POST, $_COOKIES and $_SERVER superglobal variables. The debug interface is template driven and supports localisation.
- it will notify you if a specific query is executed more than once and will advise you to optimize the script
- you can instruct it to send you an email if a query runs longer then a specified time
- the code is heavily documented so you can easily understand every aspect of it and even maybe use it as a php tutorial
Enhancements:
- the state of $_FILES and $_SESSION superglobals are now also shown in the debug window
- better integration with XTemplate (previously, there was a variable assigned to each entry in the language file now the XTemplates feature to handle arrays is used)
- properties will now have default values in PHP 4
<<lessMain features:
- connects you to a mySQL host and select a database in a single call (opposed to PHPs native functions which requires two steps)
- has a "query" method that has the same role as PHPs mysql_query but this one will tell you about the affected rows (through the "affectedRows" property) when executing an INSERT, UPDATE, DELETE query and about the found rows (through the "foundRows" property) when executing a SELECT query - the "foundRows" property tells you how many records would the query return if there was no LIMIT applied to it - very useful when creating listing so you dont have to do a query to determine how many records you have in a database and the again a query to show only the records from a page
- has an "escape_string" method that will "mysql_real_escape_string" your string weather the magic_quotes are on or not
- has a "dlookup" method that i am sure you will find VERY useful once you get to know it: it return data from a single table cell based on standard mySQL WHERE criteria - see the manual for detailed info! (yes, it acts exactly like the function with the same name from microsft access)
- provides you with a very useful debug interface which shows you each query your script is running, for how long, the total number of queries made, the total execution time of your queries, errors of your queries and what are the values of $_GET, $_POST, $_COOKIES and $_SERVER superglobal variables. The debug interface is template driven and supports localisation.
- it will notify you if a specific query is executed more than once and will advise you to optimize the script
- you can instruct it to send you an email if a query runs longer then a specified time
- the code is heavily documented so you can easily understand every aspect of it and even maybe use it as a php tutorial
Enhancements:
- the state of $_FILES and $_SESSION superglobals are now also shown in the debug window
- better integration with XTemplate (previously, there was a variable assigned to each entry in the language file now the XTemplates feature to handle arrays is used)
- properties will now have default values in PHP 4
Download (0.067MB)
Added: 2006-09-08 License: Free for non-commercial use Price:
678 downloads
Used Textbook Database 1.0
Used Textbook Database provides a database for listing used textbooks. more>>
Used Textbook Database provides a database for listing used textbooks.
Used Textbook Database is a Web-based textbook database that lets users to create an account and list their used textbooks or books.
It is very modular and customizable and allows for easy integration into an existing Web site.
<<lessUsed Textbook Database is a Web-based textbook database that lets users to create an account and list their used textbooks or books.
It is very modular and customizable and allows for easy integration into an existing Web site.
Download (0.013MB)
Added: 2007-02-06 License: GPL (GNU General Public License) Price:
589 downloads
DTI-Query 1.1 Beta
DTI-Query allows neuroscientists to place and interactively manipulate box-shaped regions... more>>
DTI stands for Diffusion Tensor Imaging and is a magnetic resonance imaging method that can be used to measure local information about the structure of white matter pathways within the human brain. Combining DTI data with the computational methods of MR tractography, neuroscientists can estimate the locations and sizes of nerve bundles (white matter pathways) that course through the human brain. DTI-Query allows neuroscientists to place and interactively manipulate box-shaped regions (or volumes of interest) to selectively display pathways that pass through specc anatomical areas.
Enhancements:
- Improved support for tensor data formats. (Now supports 5D tensor files, and arbitrary ordering of tensor indices.) Has been tested with tensor image files output by the AFNI tools: http://afni.nimh.nih.gov/sscc/dglen/DTIQuery
- Support for Mac OS X (Carbon)
- Binaries released for Windows, Linux (32- and 64-bit), and MacOS X (PPC and Intel)
- Added choice of integration method (Eulers method, Runge Kutta 2nd order, Runge Kutta 4th order) for STT tracking.
- Improved support for reading NIFTI background images (correctly handles q-form/s-form matrices).
- Can now save visible pathways (as a binary format, or as a NIFTI mask image).
- Many minor GUI enhancements and bug-fixes.
<<lessEnhancements:
- Improved support for tensor data formats. (Now supports 5D tensor files, and arbitrary ordering of tensor indices.) Has been tested with tensor image files output by the AFNI tools: http://afni.nimh.nih.gov/sscc/dglen/DTIQuery
- Support for Mac OS X (Carbon)
- Binaries released for Windows, Linux (32- and 64-bit), and MacOS X (PPC and Intel)
- Added choice of integration method (Eulers method, Runge Kutta 2nd order, Runge Kutta 4th order) for STT tracking.
- Improved support for reading NIFTI background images (correctly handles q-form/s-form matrices).
- Can now save visible pathways (as a binary format, or as a NIFTI mask image).
- Many minor GUI enhancements and bug-fixes.
Download (MB)
Added: 2007-06-26 License: Freely Distributable Price:
850 downloads
Practical Query Analyzer 1.6
Practical Query Analyzer produces HTML reports on query statistics. more>>
Practical Query Analyzer produces HTML reports on the most frequent queries, slowest queries, queries by type (select/insert/update/delete), and more for both PostgreSQL and MySQL log files.
<<less Download (0.05MB)
Added: 2005-11-28 License: BSD License Price:
1428 downloads
Haskell Database Connectivity 1.1.2.0
Haskell Database Connectivity project provides an abstraction layer between Haskell programs and SQL relational databases. more>>
Haskell Database Connectivity project provides an abstraction layer between Haskell programs and SQL relational databases. This lets you write database code once, in Haskell, and have it work with any number of backend SQL databases (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.)
HDBC is modeled loosely on Perls DBI interface http://search.cpan.org/~timb/DBI/DBI.pm, though it has also been influenced by Pythons DB-API v2, JDBC in Java, and HSQL in Haskell.
HDBC is a from-scratch effort. It is not a reimplementation of HSQL, though its purpose is the same.
Main features:
- Ability to use replacable parameters to let one query be executed multiple times (eliminates the need for an escape function)
- Ability to access returned rows by column number
- Ability to read data from the SQL server on-demand rather than reading the entire result set up front
- HUnit testsuite for each backend driver
- Well-defined standard API and easy backend driver implementation
- Lazy reading of the entire result set (think hGetContents, but for the results of SELECT) (see sFetchAllRows)
- Support for translation between Haskell and SQL types
- Support for querying database server properties
- Add-on package (hdbc-missingh) to integrate with MissingH, providing a database backend for AnyDBM.
- Support for querying metadata such as column names.
- Support for querying additional metadata (column types, etc.)
<<lessHDBC is modeled loosely on Perls DBI interface http://search.cpan.org/~timb/DBI/DBI.pm, though it has also been influenced by Pythons DB-API v2, JDBC in Java, and HSQL in Haskell.
HDBC is a from-scratch effort. It is not a reimplementation of HSQL, though its purpose is the same.
Main features:
- Ability to use replacable parameters to let one query be executed multiple times (eliminates the need for an escape function)
- Ability to access returned rows by column number
- Ability to read data from the SQL server on-demand rather than reading the entire result set up front
- HUnit testsuite for each backend driver
- Well-defined standard API and easy backend driver implementation
- Lazy reading of the entire result set (think hGetContents, but for the results of SELECT) (see sFetchAllRows)
- Support for translation between Haskell and SQL types
- Support for querying database server properties
- Add-on package (hdbc-missingh) to integrate with MissingH, providing a database backend for AnyDBM.
- Support for querying metadata such as column names.
- Support for querying additional metadata (column types, etc.)
Download (0.056MB)
Added: 2007-05-04 License: GPL (GNU General Public License) Price:
907 downloads
Remote MySQL Query 1.0
Remote MySQL Query is a PHP class that can easily execute queries on a remote MySQL server using only HTTP. more>>
Remote MySQL Query is a PHP class that can easily execute queries on a remote MySQL server using only HTTP.
It works by accessing a PHP script on the remote web server that executes queries based on passed in URL parameters.
The client passes a secret key to the remote script to prevent unauthorized access.
The remote script passes back the results to the requesting client using XML to marshal the data.
The class parses the results XML data returned by the server script and returns an array.
It, also, retrieves (into class variables) the number of records returned by the query and the time the query took to execute.
The server script may be used to execute MySQL queries that can be retrieved by programs written in other languages besides PHP.
<<lessIt works by accessing a PHP script on the remote web server that executes queries based on passed in URL parameters.
The client passes a secret key to the remote script to prevent unauthorized access.
The remote script passes back the results to the requesting client using XML to marshal the data.
The class parses the results XML data returned by the server script and returns an array.
It, also, retrieves (into class variables) the number of records returned by the query and the time the query took to execute.
The server script may be used to execute MySQL queries that can be retrieved by programs written in other languages besides PHP.
Download (MB)
Added: 2007-07-23 License: Freely Distributable Price:
828 downloads
Network Query Tool 1.9
Network Query Tool is a one-stop solution for obtaining information about a domain name or an IP address. more>>
Network Query Tool is a one-stop solution for obtaining information about a domain name or an IP address.
Instead of manually using a variety of shell commands, or visiting numerous websites to investigate a host, just load Network Query Tool in your browser and enter the hostname or IP. NQT does the rest, as is evidenced by this sample output.
Main features:
- Reverse lookup - resolves an IP address to a hostname (if one exists) or vice versa
- DNS query - aka Dig, requires a dig binary on your system
- Whois (WWW) - gets domain registration information. Now supporting just about every known TLD, gTLD, and ccTLD.
- Whois (IP) - gets IP owner information. Supports all IP blocks maintained by ARIN (US), RIPE (Europe), JPNIC (Japan), APNIC (China/Asia-Pacific), BRNIC (Brazil), LACNIC (Latin America), AFRINIC (Africa), and KRNIC (Korea).
- Check port - Determine whether or not a port on the target host is open. Defaults to port 80.
- Ping - performs a 5-packet ping to the target, requires a ping binary.
- Traceroute - performs a traceroute to the target, requires a traceroute binary.
<<lessInstead of manually using a variety of shell commands, or visiting numerous websites to investigate a host, just load Network Query Tool in your browser and enter the hostname or IP. NQT does the rest, as is evidenced by this sample output.
Main features:
- Reverse lookup - resolves an IP address to a hostname (if one exists) or vice versa
- DNS query - aka Dig, requires a dig binary on your system
- Whois (WWW) - gets domain registration information. Now supporting just about every known TLD, gTLD, and ccTLD.
- Whois (IP) - gets IP owner information. Supports all IP blocks maintained by ARIN (US), RIPE (Europe), JPNIC (Japan), APNIC (China/Asia-Pacific), BRNIC (Brazil), LACNIC (Latin America), AFRINIC (Africa), and KRNIC (Korea).
- Check port - Determine whether or not a port on the target host is open. Defaults to port 80.
- Ping - performs a 5-packet ping to the target, requires a ping binary.
- Traceroute - performs a traceroute to the target, requires a traceroute binary.
Download (0.015MB)
Added: 2007-03-09 License: GPL (GNU General Public License) Price:
961 downloads
Simple C++ ODBC Database API 1.10
The SimpleDB API is a C++ API designed to encapsulate the ODBC API functionality in an object oriented manner. more>>
Simple C++ ODBC Database API is designed to encapsulate the ODBC API functionality in an object oriented manner.
The API was created due to an absence of any other such API that was database independent. The database independence is achieved using the ODBC (Open DataBase Connectivity) API.
The API provides a Database object that can be used to create instances of Query objects. The Query objects are used to query a database and allow columns to be bound for the query.
The flowing column objects are currently available (as of Jan 2005): a boolean column, a long column and a string column. The string column makes use of the libstdc++ string class so you dont have to mess around with malloc.
The Database object also has some convenience member functions that allow queries that return a single integer or string to be executed without having to create a query object or bind columns.
The API has been tested to work with both MySql and PostGreSQL on a Debian Linux platform.
Enhancements:
- DoubleColumn, IntColumn, and BigintColumn were added.
- The LongColumn is deprecated.
<<lessThe API was created due to an absence of any other such API that was database independent. The database independence is achieved using the ODBC (Open DataBase Connectivity) API.
The API provides a Database object that can be used to create instances of Query objects. The Query objects are used to query a database and allow columns to be bound for the query.
The flowing column objects are currently available (as of Jan 2005): a boolean column, a long column and a string column. The string column makes use of the libstdc++ string class so you dont have to mess around with malloc.
The Database object also has some convenience member functions that allow queries that return a single integer or string to be executed without having to create a query object or bind columns.
The API has been tested to work with both MySql and PostGreSQL on a Debian Linux platform.
Enhancements:
- DoubleColumn, IntColumn, and BigintColumn were added.
- The LongColumn is deprecated.
Download (0.083MB)
Added: 2006-07-16 License: LGPL (GNU Lesser General Public License) Price:
702 downloads
Dataxi 1.0.1
Dataxi project is a collection of tools for developing form-based information systems. more>>
Dataxi project is a collection of tools for developing form-based information systems. Dataxi enables one to quickly build an application based on forms with which the user can access the underlying database in order to query, read, edit and write. Dataxi is the link between the user interface and the database.
Dataxi is an OS and enviroment independent product. It follows HTML and SQL standards to such extend that interoperability with all browsers and database backends should be supported.
Dataxi runs on all major operating systems as is or only with minor changes in ini -files.
The purpose of Dataxi is to take the pain away from the most boring phase in the data access application development: user interface designing and programming. Ones you have defined the layout of the form and location for columns, you are done, unless you prefer setting data validation and output format features and other niceties.
A database is a structured collection of data. It may be anything from a simple shopping list to a picture gallery or the vast amounts of information in a corporate network. To add, access, and process data stored in a computer database, you need a database management system such as MySQL. Since computers are very good at handling large amounts of data, database management plays a central role in computing, as stand-alone utilities, or as parts of other applications.
Enhancements:
- This version works with both PHP 4 and 5.
<<lessDataxi is an OS and enviroment independent product. It follows HTML and SQL standards to such extend that interoperability with all browsers and database backends should be supported.
Dataxi runs on all major operating systems as is or only with minor changes in ini -files.
The purpose of Dataxi is to take the pain away from the most boring phase in the data access application development: user interface designing and programming. Ones you have defined the layout of the form and location for columns, you are done, unless you prefer setting data validation and output format features and other niceties.
A database is a structured collection of data. It may be anything from a simple shopping list to a picture gallery or the vast amounts of information in a corporate network. To add, access, and process data stored in a computer database, you need a database management system such as MySQL. Since computers are very good at handling large amounts of data, database management plays a central role in computing, as stand-alone utilities, or as parts of other applications.
Enhancements:
- This version works with both PHP 4 and 5.
Download (1.3MB)
Added: 2007-04-17 License: GPL (GNU General Public License) Price:
920 downloads
Irregular Operations Database 1.0
Irregular Operations Database is a project used for tracking flight delays. more>>
Irregular Operations Database is a project used for tracking flight delays.
Irregular Ops is a CGI script for intranet use to track irregular operations (flight delays) for scheduled airlines.
<<lessIrregular Ops is a CGI script for intranet use to track irregular operations (flight delays) for scheduled airlines.
Download (0.013MB)
Added: 2007-02-19 License: GPL (GNU General Public License) Price:
979 downloads
OurNet::Query 1.56
OurNet::Query is a Perl module for scriptable queries with template extraction. more>>
OurNet::Query is a Perl module for scriptable queries with template extraction.
SYNOPSIS
use OurNet::Query;
# Set query parameters
my ($query, $hits) = (autrijus, 10);
my @sites = (google, google); # XXX: write more templates!
my %found;
# Generate a new Query object
my $bot = OurNet::Query->new($query, $hits, @sites);
# Perform a query
my $found = $bot->begin(&callback, 30); # Timeout after 30 seconds
print *** . ($found ? $found : No) . match(es) found.;
sub callback {
my %entry = @_;
my $entry = %entry;
unless ($found{$entry{url}}) {
print "*** [$entry->{title}]" .
" ($entry->{score})" .
" - [$entry->{id}]n" .
" URL: [$entry->{url}]n";
}
$found{$entry{url}}++;
}
This module provides an easy interface to perform multiple queries to internet services, and wraps them into your own format at once. The results are processed on-the-fly and are returned via callback functions.
Its interfaces resembles that of WWW::Searchs, but implements it in a different fashion. While WWW::Search relies on additional subclasses to parse returned results, OurNet::Query uses site descriptors for search search engine, which makes it much easier to add new backends.
Site descriptors may be written in XML, Template toolkit format, or the .fmt format from the commercial Inforia Quest product.
<<lessSYNOPSIS
use OurNet::Query;
# Set query parameters
my ($query, $hits) = (autrijus, 10);
my @sites = (google, google); # XXX: write more templates!
my %found;
# Generate a new Query object
my $bot = OurNet::Query->new($query, $hits, @sites);
# Perform a query
my $found = $bot->begin(&callback, 30); # Timeout after 30 seconds
print *** . ($found ? $found : No) . match(es) found.;
sub callback {
my %entry = @_;
my $entry = %entry;
unless ($found{$entry{url}}) {
print "*** [$entry->{title}]" .
" ($entry->{score})" .
" - [$entry->{id}]n" .
" URL: [$entry->{url}]n";
}
$found{$entry{url}}++;
}
This module provides an easy interface to perform multiple queries to internet services, and wraps them into your own format at once. The results are processed on-the-fly and are returned via callback functions.
Its interfaces resembles that of WWW::Searchs, but implements it in a different fashion. While WWW::Search relies on additional subclasses to parse returned results, OurNet::Query uses site descriptors for search search engine, which makes it much easier to add new backends.
Site descriptors may be written in XML, Template toolkit format, or the .fmt format from the commercial Inforia Quest product.
Download (0.063MB)
Added: 2006-12-04 License: Perl Artistic License Price:
1054 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above database query search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed