Main > Programming > Libraries >

CGI::Widget::DBI::Search

CGI::Widget::DBI::Search

Sponsored Links

CGI::Widget::DBI::Search Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
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).

CGI::Widget::DBI::Search Screenshot

Advertisements

CGI::Widget::DBI::Search Keywords

Bookmark CGI::Widget::DBI::Search

Hyperlink code:
Link for forum:

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

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
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