Coder Social home page Coder Social logo

class-structtemplate's Introduction

Class::StructTemplate and Class::Persistent::StructTemplate

Class::StructTemplate and Class::Persistent::StructTemplate define interfaces
which allow the user to create a class in a similar way to Class::Struct which
is serializable to a database using a plugin module. Currently, a plugin for
MySQL is included in this distribution, but this will change in a short time.

Class::StructTemplate extends Class::Struct and Class::DBI in the sense that
it works correctly with data-items that are references to other
Class::StructTemplate derived classes. Those aren't Data::Dumper-ed into the
table that the original class uses, but are saved to their respective
positions. A reference to the class is saved. Loading an entry takes these
references into account, meaning that database structures can easily be
mapped to memory. The delete operator does internal housekeeping (in the sense
of garbage-collection), so that referenced entries that aren't referenced by
any other module are deleted automatically.

This module is currently version 0.01 (at the time of writing), and as such
still alpha software. The author makes absolutely no claim as to the
workability or the usability of this module (yes, that's a disclaimer!!!).
If you feel like contributing or patching this code, please contact
[email protected].

There is currently no (I mean none) documentation of the interface; if you
like, look at manager.pm and test.pl to see how it's done or stick with me
for another week, in which I hope I'll have the time to write some pod... :)

Copyright (C) 2000 by Heiko Wundram ([email protected]).

Written on: 26.12.2000 (12/26/2000 if you like... :))

class-structtemplate's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.