resultset
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 12
Graidle 0.4
Graidle (Graph aid), is a project that is proposed to create an application web for the realization of graph. more>>
Graidle (Graph aid), is a project that is proposed to create an application web for the realization of graph; it comes divided in four parts:
Graidle Fx proposed like didactic instrument for the visualization of diagrams of function to one variable;
Graidle SQL Friendly assists the creation of a graph starting from one query;
Graidle FrontEnd supplies to the user a graph personalized second every own requirement;
Graidle Class is the class that comes supplied for the development;
The realization of the site is apt to the demonstration of the operation of the same application, that it can be more complete visualizing sources releasable liberations in the appropriate Download section. We will have therefore one dedicated section to every part of the plan: In Function the customer will insert the number of functions to visualize, the interval and the quality of the curve and will come created a diagram to the flight; With the FronEnd they will be able to be inserted until to nine series give to you, choosing of the type, the name, the options like the colors, the title it, maximum and minimal, the lines grid etc... the customer will be able to save the just graphical one and to insert it in situated presentations or web; From SQL is a pure demonstrative and educational section, that it concurs to create given diagram of one query SQL; between the multiple usefullnesses there is that one of being able to visualize in realtime the graph of some give you present in database without or that one of being able to enclose to the tables of resultset a diagram that can clarify the visualization of gives to you; the handbook for who is available also wanted to externally use the class to this situated one;
The Graidle project is realized in PHP with the aid of GD2 library.
Enhancements:
- Introducing of Horizontal Histogram graph type;
- Introducing of Extended Legend for Horizontal Histogram;
- Introducing of new legend management system for a better visualization of all type of strings;
- Introducing of Selection standard CSS color on setValue function;
- New setMultiColor() to visualize different color on same value serie ;
- New setColors() to add one or more colors;
- New Bold Font type ;
- New setFontBD() method;
- Modified carry2file() for select patch and filename;
<<lessGraidle Fx proposed like didactic instrument for the visualization of diagrams of function to one variable;
Graidle SQL Friendly assists the creation of a graph starting from one query;
Graidle FrontEnd supplies to the user a graph personalized second every own requirement;
Graidle Class is the class that comes supplied for the development;
The realization of the site is apt to the demonstration of the operation of the same application, that it can be more complete visualizing sources releasable liberations in the appropriate Download section. We will have therefore one dedicated section to every part of the plan: In Function the customer will insert the number of functions to visualize, the interval and the quality of the curve and will come created a diagram to the flight; With the FronEnd they will be able to be inserted until to nine series give to you, choosing of the type, the name, the options like the colors, the title it, maximum and minimal, the lines grid etc... the customer will be able to save the just graphical one and to insert it in situated presentations or web; From SQL is a pure demonstrative and educational section, that it concurs to create given diagram of one query SQL; between the multiple usefullnesses there is that one of being able to visualize in realtime the graph of some give you present in database without or that one of being able to enclose to the tables of resultset a diagram that can clarify the visualization of gives to you; the handbook for who is available also wanted to externally use the class to this situated one;
The Graidle project is realized in PHP with the aid of GD2 library.
Enhancements:
- Introducing of Horizontal Histogram graph type;
- Introducing of Extended Legend for Horizontal Histogram;
- Introducing of new legend management system for a better visualization of all type of strings;
- Introducing of Selection standard CSS color on setValue function;
- New setMultiColor() to visualize different color on same value serie ;
- New setColors() to add one or more colors;
- New Bold Font type ;
- New setFontBD() method;
- Modified carry2file() for select patch and filename;
Download (0.012MB)
Added: 2007-07-02 License: GPL (GNU General Public License) Price:
844 downloads
Primrose 2.7.5
Primrose is a database connection pool which supports all databases that have JDBC drivers. more>>
Primrose is a database connection pool which supports all databases that have JDBC drivers.
It provides control over SQL transaction monitoring, configuration, and dynamic pool management via a Web interface.
Main features:
- Optional notification of crisis events.
- Highly adaptable configuration file - see the config file for all the options.
- SQL statement monitoring for connections, including what connection is called from what code and the precise SQL it is performing, including ? parameters.
- Starting/Stopping pools without application restarts
- Adding / removing connections on the fly
- Automated retrieval of duff connections
- A web interface for pool management
- Queueing of connection requests during heavy load.
- Statistics for types of SQL statements executed and executiion times, to provide a complete overview of webapp-db interaction
- Multiple pool instances, managed through one interface.
- No more forgotton unclosed Statement and ResultSet objects - primrose closes them for you.
- Easy deployment and integration with your webapp container.
- No need to rewrite your client code to utilise the pool.
- Enhances debug of poor performing client code - if a connection hangs, the precise connection, and the exact SQL it is performing is logged, including what client Java code called it.
Enhancements:
- A bugfix for the waitForConnectionIfDatabaseIsDown and encryptionKeyFile properties.
<<lessIt provides control over SQL transaction monitoring, configuration, and dynamic pool management via a Web interface.
Main features:
- Optional notification of crisis events.
- Highly adaptable configuration file - see the config file for all the options.
- SQL statement monitoring for connections, including what connection is called from what code and the precise SQL it is performing, including ? parameters.
- Starting/Stopping pools without application restarts
- Adding / removing connections on the fly
- Automated retrieval of duff connections
- A web interface for pool management
- Queueing of connection requests during heavy load.
- Statistics for types of SQL statements executed and executiion times, to provide a complete overview of webapp-db interaction
- Multiple pool instances, managed through one interface.
- No more forgotton unclosed Statement and ResultSet objects - primrose closes them for you.
- Easy deployment and integration with your webapp container.
- No need to rewrite your client code to utilise the pool.
- Enhances debug of poor performing client code - if a connection hangs, the precise connection, and the exact SQL it is performing is logged, including what client Java code called it.
Enhancements:
- A bugfix for the waitForConnectionIfDatabaseIsDown and encryptionKeyFile properties.
Download (0.11MB)
Added: 2007-03-30 License: LGPL (GNU Lesser General Public License) Price:
939 downloads
SQLyog Free Edition 5.18
SQLyog is an easy to use tool that lets you manage your MySQL database anywhere in the world. more>>
SQLyog is an easy to use tool that lets you manage your MySQL database anywhere in the world. SQLyog is a tool that allows you manage MySQL database.
Main features:
Developer / User Productivity
- HTML Schema Documentation
- Shortcuts to quickly generate SQL statements and paste object names
- Learn MySQL by looking at the SQL generated by SQLyog
- Multi-tab Query Editor and Result-set Editor
- Multiple Query Execution
- Multi-threaded Query execution with option to stop long running queries
- SQL Templates
- Excel-style grid interface to view/update resultsets
- Multi-format Blob editor
- View data in Grid/Text Mode
- ResultSet/Data Export to CSV/XML/HTML
- Full Support from 3.23.38 to the latest 5.x
- Support for all MySQL table handlers
- Excel friendly resultsets/table-data export to clipboard/file
- Dialogless table and resultset editor
DBA Productivity
- Restoring / Importing large SQL dumps
- MySQL 5.x objects support
- User Management
- Managing hosted MySQL
- Connection Manager
- Index Management
- Relationship/Foreign Key Manager
- Reorder Columns
- Copy objects to another Host with single click
- Table diagnostics
- Flush Tools
- Object Browser
- Creating/dropping database
- Optimized for managing Hosted MySQL
- Profiling
- Multiple database connections
Technology
- Turbo Speed MySQL Management. Uses native MySQL C API - the fastest way to communicate with MySQL server
- 100% keyboard friendly
- Small compact binary
- Minimal use of Registry - easy migration of User Preferences by dragging and dropping config files.
- Non-cluttered look and feel, ability to show/hide panes
<<lessMain features:
Developer / User Productivity
- HTML Schema Documentation
- Shortcuts to quickly generate SQL statements and paste object names
- Learn MySQL by looking at the SQL generated by SQLyog
- Multi-tab Query Editor and Result-set Editor
- Multiple Query Execution
- Multi-threaded Query execution with option to stop long running queries
- SQL Templates
- Excel-style grid interface to view/update resultsets
- Multi-format Blob editor
- View data in Grid/Text Mode
- ResultSet/Data Export to CSV/XML/HTML
- Full Support from 3.23.38 to the latest 5.x
- Support for all MySQL table handlers
- Excel friendly resultsets/table-data export to clipboard/file
- Dialogless table and resultset editor
DBA Productivity
- Restoring / Importing large SQL dumps
- MySQL 5.x objects support
- User Management
- Managing hosted MySQL
- Connection Manager
- Index Management
- Relationship/Foreign Key Manager
- Reorder Columns
- Copy objects to another Host with single click
- Table diagnostics
- Flush Tools
- Object Browser
- Creating/dropping database
- Optimized for managing Hosted MySQL
- Profiling
- Multiple database connections
Technology
- Turbo Speed MySQL Management. Uses native MySQL C API - the fastest way to communicate with MySQL server
- 100% keyboard friendly
- Small compact binary
- Minimal use of Registry - easy migration of User Preferences by dragging and dropping config files.
- Non-cluttered look and feel, ability to show/hide panes
Download (0.96MB)
Added: 2006-10-17 License: Freeware Price:
5721 downloads
HTML::Widget::DBIC 0.01
HTML::Widget::DBIC is a subclass of HTML::Widgets for dealing with DBIx::Class. more>>
HTML::Widget::DBIC is a subclass of HTML::Widgets for dealing with DBIx::Class.
SYNOPSIS
# create a widget coupled with a db record
my $widget = HTML::Widget::DBIC->create_from_config( $config, $resultset, $item );
# process a query
my $result = $widget->process ( $query );
# and save the values from the query to the database
$result->save_to_db();
METHODS
create_from_config
Method to create widget. The parameters are configuration for all the widget fields, a DBIC Resultset and optionally a DBIC record (item) - to fill in the current values in the form and as the target for saving the data, if not present when saving a new record will be created.
The config is a reference to a list of configuration for particular fields. Like: my $config = [ { foreign_class => Dvd, widget_element => [ Select, multiple => 1 ], name => dvds, label => Dvds, bridge_rel => dvdtags }, { widget_element => [ Textarea, rows => 5, cols => 60 ], constraints => [ { max => 255, constraint => Length, message => Should be shorten than 255 characters }, { constraint => All, message => The field is required } ], name => name, label => Name }, { primary_key => 1, name => id, label => Id } ];
process
Like HTML::Widget->process but produces HTML::Widget::Result::DBIC - with extra info for saving to database.
save_to_db
HTML::Widget::DBIC::Result method to save the data from widget to the database
<<lessSYNOPSIS
# create a widget coupled with a db record
my $widget = HTML::Widget::DBIC->create_from_config( $config, $resultset, $item );
# process a query
my $result = $widget->process ( $query );
# and save the values from the query to the database
$result->save_to_db();
METHODS
create_from_config
Method to create widget. The parameters are configuration for all the widget fields, a DBIC Resultset and optionally a DBIC record (item) - to fill in the current values in the form and as the target for saving the data, if not present when saving a new record will be created.
The config is a reference to a list of configuration for particular fields. Like: my $config = [ { foreign_class => Dvd, widget_element => [ Select, multiple => 1 ], name => dvds, label => Dvds, bridge_rel => dvdtags }, { widget_element => [ Textarea, rows => 5, cols => 60 ], constraints => [ { max => 255, constraint => Length, message => Should be shorten than 255 characters }, { constraint => All, message => The field is required } ], name => name, label => Name }, { primary_key => 1, name => id, label => Id } ];
process
Like HTML::Widget->process but produces HTML::Widget::Result::DBIC - with extra info for saving to database.
save_to_db
HTML::Widget::DBIC::Result method to save the data from widget to the database
Download (0.019MB)
Added: 2007-01-11 License: Perl Artistic License Price:
1018 downloads
DBIWrapper 0.22
DBIWrapper is a Perl Module that provides for easier access to databases using DBI. more>>
DBIWrapper is a Perl Module that provides for easier access to databases using DBI. It supports MySQL, PostgreSQL and ODBC DBD modules. High level methods for reading and writing to the database are provided. DBI data structures or XML are returned
Main features:
- The DBIWrapper is a Perl Module which provides easier access to databases using DBI. It currently supports MySQL, PostgreSQL, Sybase and ODBC DBD drivers. High level methods for reading, writing, commiting and rolling back transactions are provided. The DBI data structures can still be used to return the data in.
- XML Support is now available as of DBIWrapper 0.16. Using readXML() you can have the result of your SELECT statement be returned as an XML document (format defined here) which will describe the SELECT statement issued and the rows of data returned from the backend.
- DBIWrapper::XMLParser included in DBIWrapper 0.17! This module parses the XML generated by readXML() and returns a perl data structure in the DBIWrapper::ResultSet module. This makes for extremely easy manipulation of your database data. DBIWrapper::XMLParser relies on XML::LibXML. See README for details.
- HTML Support is now available as of DBIWrapper 0.20. Using readHTML() you can have the result of your SELECT statement returned as an HTML snippet which is fully customizable via CSS. See the man page for more details.
- Sybase Support is now available as of DBIWrapper 0.22!
- Helper methods getDataArray(), getDataHash(), getDataArrayHeader(), getDataHashHeader() do the work of read() and then build up an array with the returned result set. See the man page for more info.
Enhancements:
- DBD::Sybase is now officially supported and the getData... methods (getDataArray, getDataArrayHeader, getDataHash, getDataHashHeader) all know how to properly handle the possible multiple result sets that Sybase can return. getID() was added for returning the ID of the last inserted row.
<<lessMain features:
- The DBIWrapper is a Perl Module which provides easier access to databases using DBI. It currently supports MySQL, PostgreSQL, Sybase and ODBC DBD drivers. High level methods for reading, writing, commiting and rolling back transactions are provided. The DBI data structures can still be used to return the data in.
- XML Support is now available as of DBIWrapper 0.16. Using readXML() you can have the result of your SELECT statement be returned as an XML document (format defined here) which will describe the SELECT statement issued and the rows of data returned from the backend.
- DBIWrapper::XMLParser included in DBIWrapper 0.17! This module parses the XML generated by readXML() and returns a perl data structure in the DBIWrapper::ResultSet module. This makes for extremely easy manipulation of your database data. DBIWrapper::XMLParser relies on XML::LibXML. See README for details.
- HTML Support is now available as of DBIWrapper 0.20. Using readHTML() you can have the result of your SELECT statement returned as an HTML snippet which is fully customizable via CSS. See the man page for more details.
- Sybase Support is now available as of DBIWrapper 0.22!
- Helper methods getDataArray(), getDataHash(), getDataArrayHeader(), getDataHashHeader() do the work of read() and then build up an array with the returned result set. See the man page for more info.
Enhancements:
- DBD::Sybase is now officially supported and the getData... methods (getDataArray, getDataArrayHeader, getDataHash, getDataHashHeader) all know how to properly handle the possible multiple result sets that Sybase can return. getID() was added for returning the ID of the last inserted row.
Download (0.027MB)
Added: 2005-10-19 License: Perl Artistic License Price:
1465 downloads
DBIx::Class::FormTools 0.000004
DBIx::Class::FormTools is a utility module for building forms with multiple related DBIx::Class objects. more>>
DBIx::Class::FormTools is a utility module for building forms with multiple related DBIx::Class objects.
SYNOPSIS
In the examples I use 3 objects, a Film, an Actor and a Role. Role is a many to many relation between Film and Actor.
package MySchema;
use base DBIx::Class::Schema;
__PACKAGE__->load_classes(qw[
Film
Actor
Role
]);
package MySchema::Film;
__PACKAGE__->table(films);
__PACKAGE__->add_columns(qw[
id
title
]);
__PACKAGE__->set_primary_key(id);
__PACKAGE__->has_many(roles => MySchema::Role, film_id);
package MySchema::Actor;
__PACKAGE__->table(films);
__PACKAGE__->add_columns(qw[
id
name
]);
__PACKAGE__->set_primary_key(id);
__PACKAGE__->has_many(roles => MySchema::Role, actor_id);
package MySchema::Role;
__PACKAGE__->table(roles);
__PACKAGE__->add_columns(qw[
film_id
actor_id
]);
__PACKAGE__->set_primary_key(qw[
film_id
actor_id
]);
__PACKAGE__->belongs_to(film_id => MySchema::Film);
__PACKAGE__->belongs_to(actor_id => MySchema::Actor);
In your Model class
use base qw/DBIx::Class/;
__PACKAGE__->load_components(qw/PK::Auto::Pg Core FormTools/);
In your view - HTML::Mason example
< %init >
my $film = $schema->resultset(Film)->find(42);
my $actor = $schema->resultset(Actor)->find(24);
< /%init >
< form >
< input
name="< % $film->form_fieldname(title, o1) => Title % >"
type="text"
value="< % $film->title % >"
/ >
< input
name="< % $film->form_fieldname(length, o1) % >"
type="text"
value="< % $film->length % >"
/ >
< input
name="< % $film->form_fieldname(comment, o1) % >"
type="text"
value="< % $film->comment % >"
/ >
< input
name="< % $actor->form_fieldname(name, o2) % >"
type="text"
value="< % $actor->name % >"
/ >
In your controller (or cool helper module, used in your controller)
my @objects = DBIx::Class::FormTools->formdata_to_objects($querystring);
foreach my $object ( @objects ) {
# Assert and Manupulate $object as you like
$object->insert_or_update;
}
<<lessSYNOPSIS
In the examples I use 3 objects, a Film, an Actor and a Role. Role is a many to many relation between Film and Actor.
package MySchema;
use base DBIx::Class::Schema;
__PACKAGE__->load_classes(qw[
Film
Actor
Role
]);
package MySchema::Film;
__PACKAGE__->table(films);
__PACKAGE__->add_columns(qw[
id
title
]);
__PACKAGE__->set_primary_key(id);
__PACKAGE__->has_many(roles => MySchema::Role, film_id);
package MySchema::Actor;
__PACKAGE__->table(films);
__PACKAGE__->add_columns(qw[
id
name
]);
__PACKAGE__->set_primary_key(id);
__PACKAGE__->has_many(roles => MySchema::Role, actor_id);
package MySchema::Role;
__PACKAGE__->table(roles);
__PACKAGE__->add_columns(qw[
film_id
actor_id
]);
__PACKAGE__->set_primary_key(qw[
film_id
actor_id
]);
__PACKAGE__->belongs_to(film_id => MySchema::Film);
__PACKAGE__->belongs_to(actor_id => MySchema::Actor);
In your Model class
use base qw/DBIx::Class/;
__PACKAGE__->load_components(qw/PK::Auto::Pg Core FormTools/);
In your view - HTML::Mason example
< %init >
my $film = $schema->resultset(Film)->find(42);
my $actor = $schema->resultset(Actor)->find(24);
< /%init >
< form >
< input
name="< % $film->form_fieldname(title, o1) => Title % >"
type="text"
value="< % $film->title % >"
/ >
< input
name="< % $film->form_fieldname(length, o1) % >"
type="text"
value="< % $film->length % >"
/ >
< input
name="< % $film->form_fieldname(comment, o1) % >"
type="text"
value="< % $film->comment % >"
/ >
< input
name="< % $actor->form_fieldname(name, o2) % >"
type="text"
value="< % $actor->name % >"
/ >
In your controller (or cool helper module, used in your controller)
my @objects = DBIx::Class::FormTools->formdata_to_objects($querystring);
foreach my $object ( @objects ) {
# Assert and Manupulate $object as you like
$object->insert_or_update;
}
Download (0.009MB)
Added: 2006-08-31 License: Perl Artistic License Price:
1149 downloads
H2 Database Engine 1.0/2007-08-02
H2 Database Engine is a free SQL database engine writen in Java. more>>
H2 Database Engine is a free SQL database engine writen in Java.
JDBC and ODBC APIs are supported. Embedded and server modes are available. A Web console application is included. Clustering is supported.H2 Database Engine is a web based java database engine.
Main features:
Fast database engine
- Free, source code is included
- Supports standard SQL
- Written in Java
- Disk based or in-memory databases
- Browser base Console application
- JDBC API
- Limited ODBC support
- Embedded and client/server (network) mode
- High availablility support (clustering / failover)
- Wide range of data types including large objects (BLOB/CLOB)
- Strong security features (SSL, users, roles, encrypted files)
- Multiple connections, table level locking
- Cost based optimizer, using a genetic algorithm for complex queries
- Transaction support (serializable transaction isolation)
- Zero-administration, automatic recovery
- Large resultset, external sorting
- Scrollable and updatable resultset support
- Read only views and inline views
- Inner and outer joins, subqueries
- Many functions already built-in
- Triggers and Java functions / stored procedures
- Referential integrity / foreign key constraints with cascade, check constraints
- Multiple schema support
- Compatibility modes for HSQLDB, MySQL and PostgreSQL
- Sequence and autoincrement columns
- Well tested (high code coverage, randomized stress tests)
- Small footprint (smaller than 1 MB)
- Uses a small number of database files
- Can be compiled to native code using GCJ
- Primary keys, multiple index types (b-tree, linear hash, tree, hash)
- ORDER BY, GROUP BY, HAVING, UNION, LIMIT
- Information Schema
- Multiple connections
- Collation support
- EXPLAIN PLAN support
- The database can generate SQL script files
- Support for linked tables, and a built-in virtual range table
- Automatic re-compilation of prepared statements
- Sophisticated trace options
- Low memory requirements
- Easy to understand exception messages
- Standard handling of NULL values
- Multilanguage console application (at this time, English and German)
Currently, this is not traditional GPL software, but the source code is included. It is free for private and commercial use.
Enhancements:
- H2 now supports the PostgreSQL network protocol, and can be accessed using the PostgreSQL ODBC driver.
- Regular expressions are now supported.
- The per session undo log and referential integrity can be disabled.
- Default settings have been changed to save memory. NOT, boolean columns, and certain joins are optimized now.
- Part of the documentation has been translated to Japanese.
<<lessJDBC and ODBC APIs are supported. Embedded and server modes are available. A Web console application is included. Clustering is supported.H2 Database Engine is a web based java database engine.
Main features:
Fast database engine
- Free, source code is included
- Supports standard SQL
- Written in Java
- Disk based or in-memory databases
- Browser base Console application
- JDBC API
- Limited ODBC support
- Embedded and client/server (network) mode
- High availablility support (clustering / failover)
- Wide range of data types including large objects (BLOB/CLOB)
- Strong security features (SSL, users, roles, encrypted files)
- Multiple connections, table level locking
- Cost based optimizer, using a genetic algorithm for complex queries
- Transaction support (serializable transaction isolation)
- Zero-administration, automatic recovery
- Large resultset, external sorting
- Scrollable and updatable resultset support
- Read only views and inline views
- Inner and outer joins, subqueries
- Many functions already built-in
- Triggers and Java functions / stored procedures
- Referential integrity / foreign key constraints with cascade, check constraints
- Multiple schema support
- Compatibility modes for HSQLDB, MySQL and PostgreSQL
- Sequence and autoincrement columns
- Well tested (high code coverage, randomized stress tests)
- Small footprint (smaller than 1 MB)
- Uses a small number of database files
- Can be compiled to native code using GCJ
- Primary keys, multiple index types (b-tree, linear hash, tree, hash)
- ORDER BY, GROUP BY, HAVING, UNION, LIMIT
- Information Schema
- Multiple connections
- Collation support
- EXPLAIN PLAN support
- The database can generate SQL script files
- Support for linked tables, and a built-in virtual range table
- Automatic re-compilation of prepared statements
- Sophisticated trace options
- Low memory requirements
- Easy to understand exception messages
- Standard handling of NULL values
- Multilanguage console application (at this time, English and German)
Currently, this is not traditional GPL software, but the source code is included. It is free for private and commercial use.
Enhancements:
- H2 now supports the PostgreSQL network protocol, and can be accessed using the PostgreSQL ODBC driver.
- Regular expressions are now supported.
- The per session undo log and referential integrity can be disabled.
- Default settings have been changed to save memory. NOT, boolean columns, and certain joins are optimized now.
- Part of the documentation has been translated to Japanese.
Download (5.2MB)
Added: 2007-08-05 License: MPL (Mozilla Public License) Price:
811 downloads
Iterator::BreakOn 0.3
Iterator::BreakOn is a Perl module to create iterators with control flow breaks. more>>
Iterator::BreakOn is a Perl module to create iterators with control flow breaks.
SYNOPSIS
use Iterator::BreakOn;
#
# get a generic data source with a next method implemented whom
# returns a generic object
#
# in this example the order of the items in the data stream is assumed
# to be:
# location, zipcode, name
#
my $datasource = $myschema->resultset(mytable)->search();
my $iter = Iterator::BreakOn->new(
datasource => $datasource,
break_before => [
qw(location)
],
break_after => [
location => &after_location,
zipcode
],
on_last_item => sub { print "Finnished !"; },
);
#
# There are three uses modes:
#
# Fully automatic mode: useless if not defined code for breaks
$iter->run();
# Semi-automatic mode: get only the item (run automatically the other
# events)
while (my $data_item = $iter->next()) {
# do something with data ...
1;
}
# Manual mode: get every event as an object
while (my $event = $iter->next_event()) {
if ($event->name() eq before_location) {
# do something before a new location comes
}
elsif ($event->name() eq after_zipcode)) {
# do something after the last zipcode reached
}
elsif ($event->name() eq next_item ) {
# get the item (including the first and last items)
my $data = $iter->next();
# and do something whit him
}
elsif ($event->name() eq last_item) {
# and do something when the end of data reached
}
} # end while
<<lessSYNOPSIS
use Iterator::BreakOn;
#
# get a generic data source with a next method implemented whom
# returns a generic object
#
# in this example the order of the items in the data stream is assumed
# to be:
# location, zipcode, name
#
my $datasource = $myschema->resultset(mytable)->search();
my $iter = Iterator::BreakOn->new(
datasource => $datasource,
break_before => [
qw(location)
],
break_after => [
location => &after_location,
zipcode
],
on_last_item => sub { print "Finnished !"; },
);
#
# There are three uses modes:
#
# Fully automatic mode: useless if not defined code for breaks
$iter->run();
# Semi-automatic mode: get only the item (run automatically the other
# events)
while (my $data_item = $iter->next()) {
# do something with data ...
1;
}
# Manual mode: get every event as an object
while (my $event = $iter->next_event()) {
if ($event->name() eq before_location) {
# do something before a new location comes
}
elsif ($event->name() eq after_zipcode)) {
# do something after the last zipcode reached
}
elsif ($event->name() eq next_item ) {
# get the item (including the first and last items)
my $data = $iter->next();
# and do something whit him
}
elsif ($event->name() eq last_item) {
# and do something when the end of data reached
}
} # end while
Download (0.013MB)
Added: 2007-05-18 License: Perl Artistic License Price:
889 downloads
DBIx::Class::LibXMLdoc 0.03
DBIx::Class::LibXMLdoc is a Perl module to create an adjunct Doc accessor of a columns data. more>>
DBIx::Class::LibXMLdoc is a Perl module to create an adjunct "Doc" accessor of a columns data which is automatically parsed into a LibXML documentElement (alpha-software).
SYNOPSIS
package My::DB::thingy;
__PACKAGE__->load_components(qw/ PK::Auto LibXMLdoc Core /);
__PACKAGE__->table(thingy);
__PACKAGE__->add_columns(qw/ id title body created owner whatever /);
__PACKAGE__->set_primary_key(id);
__PACKAGE__->libXMLdoc_columns(qw/ body /);
package main;
use My::DB;
my $schema = My::DB->connect(...);
my $thingy = $schema->resultset("thingy")->find(153);
print $thingy->bodyDoc->toString, "nn";
print $thingy->bodyDoc->textContent, "n";
This DBIx::Class component does not alter your data in any way. It takes column names to get the value from the column, parse it into XML with LibXML and make the documentElement object available via an autogenerated accessor named by affixing the column with "Doc."
The XML parsing is on demand so it doesnt waste time doing it to data you dont use or by doing it more than once to data that is unchanged.
A wrapper XML tag for the mini-document is auto-generated from the table + column name. So-
my $xhmlt =<<less
SYNOPSIS
package My::DB::thingy;
__PACKAGE__->load_components(qw/ PK::Auto LibXMLdoc Core /);
__PACKAGE__->table(thingy);
__PACKAGE__->add_columns(qw/ id title body created owner whatever /);
__PACKAGE__->set_primary_key(id);
__PACKAGE__->libXMLdoc_columns(qw/ body /);
package main;
use My::DB;
my $schema = My::DB->connect(...);
my $thingy = $schema->resultset("thingy")->find(153);
print $thingy->bodyDoc->toString, "nn";
print $thingy->bodyDoc->textContent, "n";
This DBIx::Class component does not alter your data in any way. It takes column names to get the value from the column, parse it into XML with LibXML and make the documentElement object available via an autogenerated accessor named by affixing the column with "Doc."
The XML parsing is on demand so it doesnt waste time doing it to data you dont use or by doing it more than once to data that is unchanged.
A wrapper XML tag for the mini-document is auto-generated from the table + column name. So-
my $xhmlt =<<less
Download (0.005MB)
Added: 2007-01-17 License: Perl Artistic License Price:
1010 downloads
Catalyst::Example::Controller::InstantCRUD 0.0.18
Catalyst::Example::Controller::InstantCRUD is a Catalyst CRUD example Controller. more>>
Catalyst::Example::Controller::InstantCRUD is a Catalyst CRUD example Controller.
SYNOPSIS
use base Catalyst::Example::Controller::InstantCRUD;
METHODS
load_interface_config Returns the config hash for input forms (widgets) and other interface elements
get_resultset Returns the resultset appriopriate for the page parameters.
model_resultset Returns a resultset from the model.
model_item Returns an item from the model.
model_widget Returns a HTML::Widget object filled with elements from the model.
source_name Class method for finding name of corresponding database table.
add Method for displaying form for adding new records
create_col_link Subroutine placed on stash for templates to use.
auto Adds Controller name as additional directory to search for templates
index Forwards to list
destroy Deleting records.
do_add Method for adding new records
do_edit Method for editin existing records
edit Method for displaying form for editing a record.
list Method for displaying pages of records
view Method for diplaying one record
<<lessSYNOPSIS
use base Catalyst::Example::Controller::InstantCRUD;
METHODS
load_interface_config Returns the config hash for input forms (widgets) and other interface elements
get_resultset Returns the resultset appriopriate for the page parameters.
model_resultset Returns a resultset from the model.
model_item Returns an item from the model.
model_widget Returns a HTML::Widget object filled with elements from the model.
source_name Class method for finding name of corresponding database table.
add Method for displaying form for adding new records
create_col_link Subroutine placed on stash for templates to use.
auto Adds Controller name as additional directory to search for templates
index Forwards to list
destroy Deleting records.
do_add Method for adding new records
do_edit Method for editin existing records
edit Method for displaying form for editing a record.
list Method for displaying pages of records
view Method for diplaying one record
Download (0.032MB)
Added: 2007-01-18 License: Perl Artistic License Price:
1009 downloads
RmiJdbc 3.3
RmiJdbc is a client/server JDBC Driver that relies on Java RMI. more>>
Need a Type 3 JDBC Driver for MS Access or SQL Server? Think RmiJdbc!
RmiJdbc project is a client/server JDBC Driver that relies on Java RMI.
All JDBC classes (like Connection, ResultSet, etc...) are distributed as RMI objects, so that you can distribute as you like the access to any database supporting the JDBC API.
In fact, RmiJdbc is just a bridge to allow remote access to JDBC drivers.
Why RmiJdbc?
- You develop a client/server application with databases on Windows (NT)? Use RmiJdbc along with the JDBC/ODBC Bridge, your Windows (NT) databases become remotely accessible in Java.
- You implement a JDBC Driver? Just implement the JDBC classes locally, dont bother with remote access!
- You need serializable JDBC classes? Here they are.
Enhancements:
- Add features/limitations/changes here
<<lessRmiJdbc project is a client/server JDBC Driver that relies on Java RMI.
All JDBC classes (like Connection, ResultSet, etc...) are distributed as RMI objects, so that you can distribute as you like the access to any database supporting the JDBC API.
In fact, RmiJdbc is just a bridge to allow remote access to JDBC drivers.
Why RmiJdbc?
- You develop a client/server application with databases on Windows (NT)? Use RmiJdbc along with the JDBC/ODBC Bridge, your Windows (NT) databases become remotely accessible in Java.
- You implement a JDBC Driver? Just implement the JDBC classes locally, dont bother with remote access!
- You need serializable JDBC classes? Here they are.
Enhancements:
- Add features/limitations/changes here
Download (0.56MB)
Added: 2006-11-01 License: LGPL (GNU Lesser General Public License) Price:
1097 downloads
DBIx::Class::Manual::Cookbook 0.08001
DBIx::Class::Manual::Cookbook is a Perl module that contains miscellaneous recipes. more>>
DBIx::Class::Manual::Cookbook is a Perl module that contains miscellaneous recipes.
Paged results
When you expect a large number of results, you can ask DBIx::Class for a paged resultset, which will fetch only a small number of records at a time:
my $rs = $schema->resultset(Artist)->search(
undef,
{
page => 1, # page to return (defaults to 1)
rows => 10, # number of results per page
},
);
return $rs->all(); # all records for page 1
The page attribute does not have to be specified in your search:
my $rs = $schema->resultset(Artist)->search(
undef,
{
rows => 10,
}
);
return $rs->page(1); # DBIx::Class::ResultSet containing first 10 records
In either of the above cases, you can return a Data::Page object for the resultset (suitable for use in e.g. a template) using the pager method:
return $rs->pager();
Complex WHERE clauses
Sometimes you need to formulate a query using specific operators:
my @albums = $schema->resultset(Album)->search({
artist => { like, %Lamb% },
title => { like, %Fear of Fours% },
});
This results in something like the following WHERE clause:
WHERE artist LIKE %Lamb% AND title LIKE %Fear of Fours%
Other queries might require slightly more complex logic:
my @albums = $schema->resultset(Album)->search({
-or => [
-and => [
artist => { like, %Smashing Pumpkins% },
title => Siamese Dream,
],
artist => Starchildren,
],
});
This results in the following WHERE clause:
WHERE ( artist LIKE %Smashing Pumpkins% AND title = Siamese Dream )
OR artist = Starchildren
For more information on generating complex queries, see "WHERE CLAUSES" in SQL::Abstract.
<<lessPaged results
When you expect a large number of results, you can ask DBIx::Class for a paged resultset, which will fetch only a small number of records at a time:
my $rs = $schema->resultset(Artist)->search(
undef,
{
page => 1, # page to return (defaults to 1)
rows => 10, # number of results per page
},
);
return $rs->all(); # all records for page 1
The page attribute does not have to be specified in your search:
my $rs = $schema->resultset(Artist)->search(
undef,
{
rows => 10,
}
);
return $rs->page(1); # DBIx::Class::ResultSet containing first 10 records
In either of the above cases, you can return a Data::Page object for the resultset (suitable for use in e.g. a template) using the pager method:
return $rs->pager();
Complex WHERE clauses
Sometimes you need to formulate a query using specific operators:
my @albums = $schema->resultset(Album)->search({
artist => { like, %Lamb% },
title => { like, %Fear of Fours% },
});
This results in something like the following WHERE clause:
WHERE artist LIKE %Lamb% AND title LIKE %Fear of Fours%
Other queries might require slightly more complex logic:
my @albums = $schema->resultset(Album)->search({
-or => [
-and => [
artist => { like, %Smashing Pumpkins% },
title => Siamese Dream,
],
artist => Starchildren,
],
});
This results in the following WHERE clause:
WHERE ( artist LIKE %Smashing Pumpkins% AND title = Siamese Dream )
OR artist = Starchildren
For more information on generating complex queries, see "WHERE CLAUSES" in SQL::Abstract.
Download (0.28MB)
Added: 2007-06-19 License: Perl Artistic License Price:
860 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 1
- 1
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above resultset 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