database query tool
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3289
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
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
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
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
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
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
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
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
MySQL Query Browser 1.1.18
MySQL Query Browser is a database querying tool. more>>
MySQL Query Browser is a database querying tool.
MySQL Query Browser combines the simplicity of a Web-browser-like interface with powerful features like multiple result sets on tab sheets, query history, storing query "bookmarks", editing and comparing resultsets, SQL script debugging, and more.
MySQL Query Browser is available under the MySQL AB "dual licensing" model. Under this model, users may choose to use MySQL products under the free software/opensource GNU General Public License (commonly known as the "GPL") or under a commercial license.
<<lessMySQL Query Browser combines the simplicity of a Web-browser-like interface with powerful features like multiple result sets on tab sheets, query history, storing query "bookmarks", editing and comparing resultsets, SQL script debugging, and more.
MySQL Query Browser is available under the MySQL AB "dual licensing" model. Under this model, users may choose to use MySQL products under the free software/opensource GNU General Public License (commonly known as the "GPL") or under a commercial license.
Download (3.4MB)
Added: 2006-02-14 License: GPL (GNU General Public License) Price:
810 downloads
Rasqal RDF Query Library 0.9.14
Rasqal is a C library for querying RDF, supporting the RDQL and SPARQL languages. more>>
Rasqal is a C library for querying RDF, supporting the RDQL and SPARQL languages. It provides APIs for creating a query and parsing query syntax.
Rasqal RDF Query Library features pluggable triple-store source and matching interfaces, an engine for executing the queries and an API for manipulating results as bindings.
It uses the Raptor RDF parser to return triples from RDF content and can alternatively work with the Redland RDF librarys persistent triple stores. It is portable across many POSIX systems.
<<lessRasqal RDF Query Library features pluggable triple-store source and matching interfaces, an engine for executing the queries and an API for manipulating results as bindings.
It uses the Raptor RDF parser to return triples from RDF content and can alternatively work with the Redland RDF librarys persistent triple stores. It is portable across many POSIX systems.
Download (0.86MB)
Added: 2007-04-23 License: The Apache License 2.0 Price:
915 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
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
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
Class::DBI::Query 3.0.15
Class::DBI::Query is a Perl module with deprecated SQL manager for Class::DBI. more>>
Class::DBI::Query is a Perl module with deprecated SQL manager for Class::DBI.
SYNOPSIS
my $sth = Class::DBI::Query
->new({
owner => $class,
sqlname => $type,
essential => @columns,
where_columns => @where_cols,
})
->run($val);
This abstracts away many of the details of the Class::DBI underlying SQL mechanism. For the most part you probably dont want to be interfacing directly with this.
The underlying mechanisms are not yet stable, and are subject to change at any time.
<<lessSYNOPSIS
my $sth = Class::DBI::Query
->new({
owner => $class,
sqlname => $type,
essential => @columns,
where_columns => @where_cols,
})
->run($val);
This abstracts away many of the details of the Class::DBI underlying SQL mechanism. For the most part you probably dont want to be interfacing directly with this.
The underlying mechanisms are not yet stable, and are subject to change at any time.
Download (0.10MB)
Added: 2006-10-14 License: Perl Artistic License Price:
1105 downloads
DBIx::XMLServer 0.02
DBIx::XMLServer is a Perl module to serve data as XML in response to HTTP requests. more>>
DBIx::XMLServer is a Perl module to serve data as XML in response to HTTP requests.
SYNOPSIS
use XML::LibXML;
use DBIx::XMLServer;
my $xml_server = new DBIx::XMLServer($dbh, "template.xml");
my $doc = $xml_server->process($QUERY_STRING);
die "Error: $doc" unless ref $doc;
print "Content-type: application/xmlrnrn";
print $doc->toString(1);
This module implements the whole process of generating an XML document from a database query, in response to an HTTP request. The mapping from the DBI database to an XML structure is defined in a template file, also in XML; this template is used not only to turn the data into XML, but also to parse the query string. To the user, the format of the query string is very natural in relation to the XML data which they will receive.
All the methods of this object can take a hash of named parameters instead of a list of parameters.
One DBIx::XMLServer object can process several queries. The following steps take place in processing a query:
The query string is parsed. It contains search criteria together with other options about the format of the returned data.
The search criteria from the query string are converted, using the XML template, into an SQL SELECT statement.
The results of the SQL query are translated into XML, again using the template, and returned to the caller.
<<lessSYNOPSIS
use XML::LibXML;
use DBIx::XMLServer;
my $xml_server = new DBIx::XMLServer($dbh, "template.xml");
my $doc = $xml_server->process($QUERY_STRING);
die "Error: $doc" unless ref $doc;
print "Content-type: application/xmlrnrn";
print $doc->toString(1);
This module implements the whole process of generating an XML document from a database query, in response to an HTTP request. The mapping from the DBI database to an XML structure is defined in a template file, also in XML; this template is used not only to turn the data into XML, but also to parse the query string. To the user, the format of the query string is very natural in relation to the XML data which they will receive.
All the methods of this object can take a hash of named parameters instead of a list of parameters.
One DBIx::XMLServer object can process several queries. The following steps take place in processing a query:
The query string is parsed. It contains search criteria together with other options about the format of the returned data.
The search criteria from the query string are converted, using the XML template, into an SQL SELECT statement.
The results of the SQL query are translated into XML, again using the template, and returned to the caller.
Download (0.029MB)
Added: 2006-09-12 License: Perl Artistic License Price:
1137 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 tool 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