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.617.069 Times

Class::Prevayler 0.02

Company: Nathanael Obermayer
Date Added: October 16, 2013  |  Visits: 159

Class::Prevayler

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)



Class::Prevayler - aka 'Perlvayler' - is a Perl implementation of the prevayler concept.<br /><br />You can find an introduction to this concept on www.prevayler.org.<br /><br />This module overloads the 'time', 'localtime' and 'gmtime' functions to make the system deterministic.<br />USAGE ^<br />new<br /><br /> Usage : $prevayler->new()<br /> Purpose : creates a new object <br /> Returns : the new prevayler-object<br /> Argument : you can use key-value pairs to initialize the attributes<br /><br />start<br /><br /> Usage : $prevayler->start()<br /> Purpose : recovers the old system state<br /> Returns : nothing<br /> Argument : none<br /> Comments : You have to call it before you can use execute(), even if there is no old serialized state<br /><br />start<br /><br /> Usage : $prevayler->execute()<br /> Purpose : execute one command object on the system, and log it<br /> Returns : nothing<br /> Argument : command object<br /> Comments : all command objects must implement a 'execute()' method<br /><br />take_snapshot<br /><br /> Usage : $prevayler->take_snapshot()<br /> Purpose : produce a serialized image of the system <br /> Returns : nothing<br /> Argument : command object<br /> Comments : all command objects must implement a 'execute()' method<br /><br />system<br /><br /> Usage : $prevayler->system( new My::System )<br /> my $system = $prevayler->system();<br /> Purpose : access to the prevalent system <br /> Returns : returns the actual system if called without argument<br /> Argument : new prevalent system<br /><br />directory<br /><br /> Usage : $prevayler->directory( './prevayler/' )<br /> my $directory = $prevayler->directory();<br /> Purpose : sets the directory where all serialized objects are stored <br /> Returns : returns the actual directory if called without argument<br /> Argument : new directory<br /><br />serializer<br /><br /> Usage : $prevayler->serializer( &mySerializer )<br /> my $serializer = $prevayler->serializer();<br /> Purpose : define the serializer. <br /> The serializer is called with a structure (an object)<br /> and returns a string representation of this structure.<br /> The default serializer is implemented with Data::Dumper.<br /> Returns : returns the actual serializer if called without argument<br /> Argument : reference to a subroutine<br /><br />deserializer<br /><br /> Usage : $prevayler->deserializer( &myDeSerializer )<br /> my $deserializer = $prevayler->deserializer();<br /> Purpose : define the deserializer. <br /> The deserializer is called with a serialized structure<br /> and returns this structure.<br /> The default deserializer is implemented with eval.<br /> Returns : returns the actual deserializer if called without argument<br /> Argument : reference to a subroutine

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Actual Argument Called Command Comments Deserializer Directory Object Objects Purpose Returns Serialized Serializer Structure System Usage
Users rating: 0/10

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


CLASS::PREVAYLER RELATED
Dial-up Networking Tools  -  Netwrix AD Object Restore Wizard 7.509.873
Recovery of accidentally deleted Active Directory objects and rolling back unauthorized changes to users, groups, and other information in Active Directory is a routine and sometimes impossible to do task. Rolling back accidental deletions of...
6.26 MB  
Utilities  -  Active Directory Object Restore Wizard 7.0.412
Recovery of accidentally deleted Active Directory objects and rolling back unauthorized changes to users, groups, and other information in Active Directory is a routine and sometimes impossible to do task. Rolling back accidental deletions of...
5.18 MB  
Modules  -  TalkAhead Sponsored Comments 1.0.6
Sponsored Comments by TalkAhead TalkAhead offers a new advertising channel called Sponsored Comments. Sponsored Comments are paid messages that respond to a news article or blog post and are prominently displayed at the top of the reader' comment...
10 KB  
Development Editors  -  AdMod 1.17.0
Command line Active Directory modification tool. This is the natural extension to AdFind. I was primarily prompted by dsmod,dsmove,dsrm.exe not being what I wanted them to be when I wanted them to be.
 
Content Management  -  Ariadne for Scripts 2.6
Ariadne is an Open Source, Multilingual Web Application Server and Content Management System built on PHP. Ariadne has a rich user interface which includes wizards, pulldown menus, and an extremely flexible and easy to use WYSIWYG editor.Ariadne...
102.4 KB  
Programming  -  The PinkRacoon 0.3
Based on a subproject, called Gerbo, it does the object mapping of a Relational Database. It is like torque and object bridge, but simplier.The full project will have a GUI to make instrospection in a already created database and create the OR. Java.
670.06 KB  
Accounting Tools  -  BLM - Shipping 1.1.3.13
Integrate ports, live AIS, ship specifications, companies directory & contacts,marine weather, usual sailling tools, communication system with shipping business management on the world map, that innovate your working way of shipping. Features:...
23.71 MB  
Shell Enhancements  -  WOW64Menu 1.0.0
WOW64Menu allows using shell context menu of 32-bit applications on x64 editions of Windows. It adds "Show WOW64 Menu" command to context menu of objects on Desktop and in Windows Explorer. When choosing this command a new context menu including...
300.9 KB  
Multimedia Integration Tools  -  AXMEDIS Editor 2.4.0
AXMEDIS Editor is used for the manual production of AXMEDIS Objects, and allows creating and manipulating object features and their different aspects: Structure and packaging, to add, remove, move digital resources and metadata inside the AXMEDIS...
420.97 MB  
Compression Tools  -  Java HTML/XML Compressor 0.6
Java HTML/XML Compressor is a very small, fast and easy to use library that compresses given HTML or XML source by removing extra whitespaces, comments and other unneeded characters without breaking the content structure.
18.8 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
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