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

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

Serving Software Downloads in 976 Categories, Downloaded 29.887.764 Times

Object::Transaction 1.01

  Date Added: February 17, 2010  |  Visits: 622

Object::Transaction

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)



Object::Transaction is a virtual base class for transactions on files containing serialized hash objects. SYNOPSIS use Object::Transaction; transaction($coderef, @codeargs); commit(); abandon(); $there_is_a_pending_transaction = transaction_pending() package Pkg; @ISA = qw(Object::Transaction); use Object::Transaction; $obj = sub new { ... } sub file($ref,$id) { ... } $obj = load Pkg $id; $obj->savelater(); $obj->save(); $obj->removelater(); $obj->remove(); $obj->commit(); $obj->uncache(); $obj->abandon(); $oldobj = $obj->old(); $reference = $obj->objectref(); $obj = $reference->loadref(); $id = sub id { ... } $restart_commit = sub precommit() { } @passby = sub presave($old) { ... } sub postsave($old,@passby) { ... } $newid = sub preload($id) { .... } sub postload() { ... } sub preremove() { ... } sub postremove() { ... } Object::Transaction provides transaction support for hash-based objects that are stored one-per-file using Storable. Multiuser access is supported. In the future, serializing methods other than Storable will be supported. Object::Transaction is a virtual base class. In order to use it, you must inherit from it and override the new method and the file method. Optomistic locking is used: it is possible that a transaction will fail because the data that is is based upon has changed out from under it..

Requirements: No special requirements
Platforms: Linux
Keyword: Base Base Class Class Id Libraries Objecttransaction Programming Sub Transaction Virtual Virtual Base Class
Users rating: 0/10

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


OBJECT::TRANSACTION RELATED
Libraries  -  Class::Meta::Declare 0.04
Class::Meta::Declare is a Perl module deprecated in favor of Class::Meta::Express. SYNOPSIS This was a first attempt at making a saner interface for Class::Meta. It is nicer, but Class::Meta::Express is nicer still. Go use that one. package...
15.36 KB  
Programming  -  Class::Data::Reloadable 0.04
A drop-in replacement for Class::Data::Inheritable, but subclasses can be reloaded without losing their class data. This is useful in mod_perl development, and may be useful elsewhere. In mod_perl, Apache::Reload conveniently reloads...
10.24 KB  
Content Management  -  Smarty Base Template 0.1.5
Smarty Base Template is a Smarty library for easy setup and use of base framework templates within PHP Smarty. A set of base content definition and base content template displays plug-in functions.
 
Networking  -  Classy wp_list_pages 1.3.2
This plugin adds classes or IDs (your choice) to the LI tags generated by WordPress' wp_list_pages() (see more in the WordPress Codex) function.I found it very frustrating to style the output of wp_list_pages() without having access to these...
10 KB  
Education  -  Learn Python Programming 1.0
In this introductory programming class, youll learn Object Oriented Programming, a must-have technique for software engineers that will allow you to reuse and share code easily. Youll learn by doing, and will build byte-sized (ha!) mini projects...
8.4 MB  
Libraries  -  dimnum 1.16
dimnum is a C++ template library for dimensional numbers. The dimnum C++ library provides templated classes for storage of dimensional numbers, like lengths, masses, and so on. The classes are templated over the storage data type, and the base...
184.32 KB  
Content Management  -  Smarty Base Template for Scripts 0.1.5
Smarty Base Template is a Smarty library for easy setup and use of base framework templates within PHP Smarty. A set of base content definition and base content template displays plug-in functions
102.4 KB  
Database Tools  -  SmashDB 1.0
SmashDB is database abstraction class with suppport for several types of RDBMS in a single class: MySQL, PostgreSQL, mSQL, Microsoft SQL Server, Interbase, Sybase, and Oracle.
10 KB  
Finance  -  350 words of selected business English 3.0
1 I want a package deal including airfare and hotel. , 2 Id like to change this ticket to the first class. 3 Id like to reserve a sleeper to Chicago. 4 I wont check this baggage 5 Id like to sit in the...
4.5 MB  
Lifestyle  -  Hi-Tech Bed Designs 1.0.0.0
Most modern beds consist of a soft mattress on a bed frame, with the mattress resting either on a solid base, often wooden slats, or a sprung base. In North America many beds include a box spring inner-sprung base, a large mattress-sized box...
2 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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