CGI::Widget::DBI::Search
Sponsored Links
CGI::Widget::DBI::Search Ranking & Summary
File size:
0.016 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
961
Date added:
2007-03-07
Publisher:
Adi Fairbank
CGI::Widget::DBI::Search description
CGI::Widget::DBI::Search is a database search widget.
SYNOPSIS
use CGI::Widget::DBI::Search;
$ws = CGI::Widget::DBI::Search->new(q => $self->{q}, -dbh => $self->{dbh});
# the following shows a configuration for a car parts database search
$ws->{-sql_table} = Cars2Diagram AS c, Diagram AS d, Parts AS p, DiagramScheme AS s;
$ws->{-where_clause} = WHERE c.CarCode=? AND c.DiagramCode=d.DiagramCode AND d.Category=? AND d.DiagramCode=s.DiagramCode AND s.PartCode=p.PartCode;
$ws->{-bind_params} = [$carcode, $category];
$ws->{-sql_retrieve_columns} =
[qw(p.PartCode p.PartName p.Description p.UnitPrice p.CoreCharge),
(p.UnitPrice + p.CoreCharge) AS TotalCharge];
$ws->{-display_columns} =
{ PartCode => "Code ", PartName => "Name", Description => "Description",
UnitPrice => "Price", CoreCharge => "Core Charge", TotalCharge => "Total Charge",
};
$ws->{-numeric_columns} = { PartCode => 1 };
$ws->{-currency_columns} = { UnitPrice => 1, CoreCharge => 1 };
#$ws->{-display_table_padding} = 4;
$ws->{-no_persistent_object} = 1;
$ws->{-show_total_numresults} = 1;
# execute database search
$ws->search();
# output search results to browser
print $q->header;
print $q->start_html;
print $ws->display_results();
print $q->end_html;
Encapsulates a DBI search in a Perl class, including all SQL statements required for performing the search, query results, HTML display methods, and multi-column, sortable result set displayed page-by-page (using HTML navigation links).
SYNOPSIS
use CGI::Widget::DBI::Search;
$ws = CGI::Widget::DBI::Search->new(q => $self->{q}, -dbh => $self->{dbh});
# the following shows a configuration for a car parts database search
$ws->{-sql_table} = Cars2Diagram AS c, Diagram AS d, Parts AS p, DiagramScheme AS s;
$ws->{-where_clause} = WHERE c.CarCode=? AND c.DiagramCode=d.DiagramCode AND d.Category=? AND d.DiagramCode=s.DiagramCode AND s.PartCode=p.PartCode;
$ws->{-bind_params} = [$carcode, $category];
$ws->{-sql_retrieve_columns} =
[qw(p.PartCode p.PartName p.Description p.UnitPrice p.CoreCharge),
(p.UnitPrice + p.CoreCharge) AS TotalCharge];
$ws->{-display_columns} =
{ PartCode => "Code ", PartName => "Name", Description => "Description",
UnitPrice => "Price", CoreCharge => "Core Charge", TotalCharge => "Total Charge",
};
$ws->{-numeric_columns} = { PartCode => 1 };
$ws->{-currency_columns} = { UnitPrice => 1, CoreCharge => 1 };
#$ws->{-display_table_padding} = 4;
$ws->{-no_persistent_object} = 1;
$ws->{-show_total_numresults} = 1;
# execute database search
$ws->search();
# output search results to browser
print $q->header;
print $q->start_html;
print $ws->display_results();
print $q->end_html;
Encapsulates a DBI search in a Perl class, including all SQL statements required for performing the search, query results, HTML display methods, and multi-column, sortable result set displayed page-by-page (using HTML navigation links).
CGI::Widget::DBI::Search Screenshot
CGI::Widget::DBI::Search Keywords
DBI
CGI
DATABASE SEARCH
Search Widget
search
database
1
widget
HTML
columns
CGI::Widget::DBI::Search
CGIWidgetDBISearch
CGI::Widget::DBI::Search
Libraries
Programming
Bookmark CGI::Widget::DBI::Search
CGI::Widget::DBI::Search Copyright
WareSeeker periodically updates pricing and software information of CGI::Widget::DBI::Search full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of CGI::Widget::DBI::Search Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
search engine
ohio inmate database search
database searching
ohio offender database search
searchbug
database search engines
whois database search
google search
database search software
search google
indiana offender database search
database search strategies
search engines
database search engine
searchalot
people search
database search script
searching
Related Software
HTML::Widget::DBIC is a subclass of HTML::Widgets for dealing with DBIx::Class. Free Download
Fast File Search crawls FTP servers and SMB shares. Free Download
HTML::Widget::SideBar can creates the HTML sidebar for a web page. Free Download
Class::DBI::ConceptSearch is a Perl module to retrieve Class::DBI aggregates from high-level conceptual searches. Free Download
guile-dbi is a generic database interface for Guile that provides a way to use database drivers that are linked at run-time. Free Download
HTML::Widget is a Perl module with HTML Widget And Validation Framework. Free Download
CGIFeed is a CGI based feed reader. Free Download
CGI::Builder::Magic Perl module contains CGI::Builder and Template::Magic integration. Free Download
Latest Software
Popular Software
Favourite Software