Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.222.156 Times

Persistent::MySQL 0.50

  Date Added: September 06, 2010  |  Visits: 1.260

Persistent::MySQL

Report Broken Link
Printer Friendly Version


Product Homepage
Download (97 downloads)



Persistent::MySQL is a persistent class implemented using a MySQL database. SYNOPSIS use Persistent::MySQL; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a persistent object ### my $emp = new Persistent::MySQL($data_source, $username, $password, $table); ### define attributes of the object ### $emp->add_attribute(empno, ID, Number, undef, 4); $emp->add_attribute(ename, Persistent, VarChar, undef, 10); $emp->add_attribute(job, Persistent, VarChar, undef, 9); $emp->add_attribute(mgr, Persistent, Number, undef, 4); $emp->add_attribute(hiredate, Persistent, DateTime, undef); $emp->add_attribute(sal, Persistent, Number, undef, 7, 2); $emp->add_attribute(comm, Persistent, Number, undef, 7, 2); $emp->add_attribute(deptno, Persistent, Number, undef, 2); ### query the datastore for some objects ### $emp->restore_where(qq{ sal > 1000 and job = CLERK and ename LIKE M% }, "sal, ename"); while ($emp->restore_next()) { printf "ename = %s, emp# = %s, sal = %s, hiredate = %sn", $emp->ename, $emp->empno, $emp->sal, $emp->hiredate; } }; if ($EVAL_ERROR) { ### catch those exceptions! ### print "An error occurred: $EVAL_ERRORn"; } ABSTRACT This is a Persistent class that uses a MySQL database table to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes..

Requirements: No special requirements
Platforms: Linux
Keyword: Attribute Class Eval Libraries Mysql Persistent Persistentmysql Programming Sal Undef Using Using A
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


PERSISTENT::MYSQL RELATED
Database Tools  -  ActiveDBLib 1.0
ActiveDBLib is a PHP class to access MySQL or optionally other databases by using various Database Abstraction Libraries. Its primary intention is to hide the differences between the different database abstraction Libraries and to provide standard...
10 KB  
Science  -  Flow-Based Programming 2.6
Flow-Based Programming: Application development using a network of asynchronous, reusable, components transforming streams of formatted data objects. Visual, component-based, methodology and software.
450.46 KB  
Libraries  -  Persistent::mSQL 0.50
Persistent::mSQL is a persistent class implemented using a mSQL database. SYNOPSIS use Persistent::mSQL; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a...
10.24 KB  
Libraries  -  Persistent::Sybase 0.50
Persistent::Sybase is a persistent class implemented using a Sybase database. SYNOPSIS use Persistent::Sybase; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a...
10.24 KB  
Libraries  -  Persistent::LDAP 0.50
Persistent::LDAP is a persistent class implemented using a LDAP directory. SYNOPSIS use Persistent::LDAP; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a...
15.36 KB  
Libraries  -  Persistent::DBI 0.50
Persistent::DBI is an Abstract Persistent Class implemented using a DBI Data Source. SYNOPSIS ### we are a subclass of ... ### use Persistent::DBI; @ISA = qw(Persistent::DBI); ABSTRACT This is an abstract class used by the Persistent...
10.24 KB  
Network & Internet  -  php3guest 1.8.0
php3guest is a Web guestbook written in PHP using a MySQL backend. Entries can easily be edited or removed by the owner via a Web interface. Installation and configuration is easy and well documented. php3guest features modular language support...
27.65 KB  
Libraries  -  Persistent::Base 0.52
Persistent::Base is an Abstract Persistent Base Class. SYNOPSIS ### we are a subclass of ... ### use Persistent::Base; @ISA = qw(Persistent::Base); ABSTRACT This is an abstract class used by the Persistent framework of classes to...
38.91 KB  
Libraries  -  phpMysqlConnection 1.5.9
phpMysqlConnection provides a PHP class for handling MySQL database connections. phpMysqlConnection is an interface class to be used with the PHP programming language to help projects connect to a MySQL database server and perform queries. The...
7.17 KB  
Libraries  -  phpSortable 2.0
phpSortable project is a PHP class that shows MySQL QueryResults in an HTML table. As implied by the name "Sortable", the table also displays the column headers as links which lead to a version of the table that is sorted according to that column....
153.6 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB