/[cvs]/nfo/perl/libs/Data/README.text
ViewVC logotype

Annotation of /nfo/perl/libs/Data/README.text

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Tue Oct 29 19:24:46 2002 UTC (21 years, 8 months ago) by joko
Branch: MAIN
Changes since 1.1: +40 -11 lines
+ pod updated

1 joko 1.1 NAME
2     Data::Storage - Interface for accessing various Storage implementations
3     for Perl in an independent way
4    
5     SYNOPSIS
6     ... the basic way:
7    
8     ... via inheritance:
9    
10     use Data::Storage;
11     my $proxyObj = new HttpProxy;
12     $proxyObj->{url} = $url;
13     $proxyObj->{payload} = $content;
14     $self->{storage}->insert($proxyObj);
15    
16     use Data::Storage;
17     my $proxyObj = HttpProxy->new(
18     url => $url,
19     payload => $content,
20     );
21     $self->{storage}->insert($proxyObj);
22    
23     NOTE
24    
25     This module heavily relies on DBI and Tangram, but adds a lot of
26     additional bugs and quirks. Please look at their documentation and this
27     code for additional information.
28    
29     DESCRIPTION
30     Data::Storage is module for a accessing various "data structures" stored
31     inside various "data containers". It sits on top of DBI and/or Tangram.
32    
33     AUTHORS / COPYRIGHT
34     The Data::Storage module is Copyright (c) 2002 Andreas Motl. All rights
35     reserved.
36    
37     You may distribute it under the terms of either the GNU General Public
38     License or the Artistic License, as specified in the Perl README file.
39    
40     ACKNOWLEDGEMENTS
41     Larry Wall and the "perl5-porters" for Perl, Tim Bunce for DBI,
42     Jean-Louis Leroy for Tangram and Set::Object, Sam Vilain for
43     Class::Tangram.
44    
45     SUPPORT / WARRANTY
46     Data::Storage is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.
47    
48     TODO
49     Handle the following errors/cases:
50    
51     "DBI-Error [Tangram]: DBD::mysql::st execute failed: Unknown column 't1.requestdump' in 'field list'"
52    
53     ... occours when operating on object-attributes not introduced yet:
54     this should be detected and appended/replaced through:
55     "Schema-Error detected, maybe (just) an inconsistency.
56     Please check if your declaration in schema-module "a" matches structure in database "b" or try to run"
57     db_setup.pl --dbkey=import --action=deploy
58    
59     Compare schema (structure diff) with database ...
60    
61     ... when issuing "db_setup.pl --dbkey=import --action=deploy"
62     on a database with an already deployed schema, use an additional "--update" then
63     to lift the schema inside the database to the current declared schema.
64     You will have to approve removals and changes on field-level while
65     new objects and new fields are introduced silently without any interaction needed.
66     In future versions there may be additional options to control silent processing of
67     removals and changes.
68     See this CRUD-table applying to the actions occouring on Classes and Class variables when deploying schemas,
69     don't mix this up with CRUD-actions on Objects, these are already handled by (e.g.) Tangram itself.
70     Classes:
71     C create -> yes, handled automatically
72     R retrieve -> no, not subject of this aspect since it is about deployment only
73     U update -> yes, automatically for Class meta-attributes, yes/no for Class variables (look at the rules down here)
74     D delete -> yes, just by user-interaction
75     Class variables:
76     C create -> yes, handled automatically
77     R retrieve -> no, not subject of this aspect since it is about deployment only
78     U update -> yes, just by user-interaction; maybe automatically if it can be determined that data wouldn't be lost
79     D delete -> yes, just by user-interaction
80 joko 1.2
81     It's all about not to be able to loose data simply while this is in pre-alpha stage.
82     And loosing data by being able to modify and redeploy schemas easily is definitely quite easy.
83    
84     As we can see, creations of Classes and new Class variables is handled
85     automatically and this is believed to be the most common case under normal circumstances.
86 joko 1.1
87     Introduce some features:
88    
89 joko 1.2 - Get this stuff together with UML (Unified Modeling Language) and/or standards from ODMG.
90     - Make it possible to load/save schemas in XMI (XML Metadata Interchange),
91     which seems to be most commonly used today, perhaps handle objects with OIFML.
92     Integrate/bundle this with a web-/html-based UML modeling tool or
93     some other interesting stuff like the "Co-operative UML Editor" from Uni Darmstadt. (web-/java-based)
94     - Enable Round Trip Engineering. Keep code and diagrams in sync. Don't annoy/bother the programmers.
95     - Add some more handlers:
96     - look at DBD::CSV, Text::CSV, XML::CSV, XML::Excel
97     - Add some more locations/locators:
98     - PerlDAV: http://www.webdav.org/perldav/
99     - Move to t3, use InCASE
100 joko 1.1
101     Links:
102    
103 joko 1.2 Specs:
104 joko 1.1 UML 1.3 Spec: http://cgi.omg.org/cgi-bin/doc?ad/99-06-08.pdf
105     XMI 1.1 Spec: http://cgi.omg.org/cgi-bin/doc?ad/99-10-02.pdf
106     XMI 2.0 Spec: http://cgi.omg.org/docs/ad/01-06-12.pdf
107     ODMG: http://odmg.org/
108     OIFML: http://odmg.org/library/readingroom/oifml.pdf
109    
110 joko 1.2 CASE Tools:
111     Rational Rose (commercial): http://www.rational.com/products/rose/
112     Together (commercial): http://www.oi.com/products/controlcenter/index.jsp
113     InCASE - Tangram-based Universal Object Editor
114     Sybase PowerDesigner: http://www.sybase.com/powerdesigner
115    
116     UML Editors:
117     Fujaba (free, university): http://www.fujaba.de/
118     ArgoUML (free): http://argouml.tigris.org/
119     Poseidon (commercial): http://www.gentleware.com/products/poseidonDE.php3
120     Co-operative UML Editor (research): http://www.darmstadt.gmd.de/concert/activities/internal/umledit.html
121     Metamill (commercial): http://www.metamill.com/
122     Violet (university, research, education): http://www.horstmann.com/violet/
123     PyUt (free): http://pyut.sourceforge.net/
124     (Dia (free): http://www.lysator.liu.se/~alla/dia/)
125     UMLet (free, university): http://www.swt.tuwien.ac.at/umlet/index.html
126     Voodoo (free): http://voodoo.sourceforge.net/
127    
128     UML Tools:
129     http://www.objectsbydesign.com/tools/umltools_byPrice.html
130    
131     Further readings:
132 joko 1.1 http://www.google.com/search?q=web+based+uml+editor&hl=en&lr=&ie=UTF-8&oe=UTF-8&start=10&sa=N
133     http://www.fernuni-hagen.de/DVT/Aktuelles/01FHHeidelberg.pdf
134     http://www.enhyper.com/src/documentation/
135     http://cis.cs.tu-berlin.de/Dokumente/Diplomarbeiten/2001/skinner.pdf
136     http://citeseer.nj.nec.com/vilain00diagrammatic.html
137     http://archive.devx.com/uml/articles/Smith01/Smith01-3.asp
138    

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed