Changeset 17897 for ext

Show
Ignore:
Timestamp:
09/18/07 09:16:22 (16 months ago)
Author:
Darren_Duncan
Message:

ext/Muldis-DB/ : removed Literal.pm, as Muldis DB will now use Perl arrays,hashes,scalars for data interchange instead

Location:
ext/Muldis-DB
Files:
2 removed
8 modified

Legend:

Unmodified
Added
Removed
  • ext/Muldis-DB/Changes

    r17866 r17897  
    1111    Changes entry refers only to the Perl 5 version. 
    1212 
     13    * Removed the file Literal.pm; Muldis DB now uses Perl Hosted Abstract 
     14    Muldis D (composed of Perl array refs, hash refs, scalars), as 
     15    described in Language::MuldisD::PerlHosted, rather than Literal 
     16    objects, as its data|code interchange format.  This makes things a lot 
     17    simpler, easier to use, and better performing.  All of the other .pm 
     18    files in this distribution, which used Literal.pm, were updated 
     19    accordingly, which is further described below.  Also removed the 
     20    t/MDB_10_Literal_Simple.t test file. 
     21 
    1322    * New file versions are: DB.pm and Interface.pm and Validator.pm and 
    1423    Example.pm 0.4.0.  The other pre-existing versioned files are 
     
    1928    DESCRIPTION of DB.pm.  Added a small initial DESCRIPTION to each of 
    2029    Interface.pm, Example.pm.  Further minor edits to other sections. 
     30 
     31    * Updated the TODO file. 
    2132 
    22332007-09-14   Darren Duncan <perl@DarrenDuncan.net> 
  • ext/Muldis-DB/README

    r17866 r17897  
    4646   3.       lib/Muldis/DB.pm 
    4747   4.       lib/Muldis/DB/Interface.pm 
    48    5.       lib/Muldis/DB/Literal.pm 
    49    6. (opt) lib/Muldis/DB/Validator.pm 
    50    7. (opt) lib/Muldis/DB/Engine/Example.pm 
    51    8.       lib/Muldis/DB/SeeAlso.pod 
    52    9. (opt) TODO 
     48   5. (opt) lib/Muldis/DB/Validator.pm 
     49   6. (opt) lib/Muldis/DB/Engine/Example.pm 
     50   7.       lib/Muldis/DB/SeeAlso.pod 
     51   8. (opt) TODO 
    5352 
    5453Then you can carry on with anything else. 
  • ext/Muldis-DB/TODO

    r17128 r17897  
    2020stored routines, constraints, virtual variables, and persisting databases. 
    2121 
    22 * Flesh out the user-input validation code in both Literal.pm and in the 
    23 Example Engine, as is appropriate, so that all bad input results in 
    24 graceful failures rather than ungraceful ones. 
     22* Flesh out the user-input validation code in the Example Engine, as is 
     23appropriate, so that all bad input results in graceful failures rather than 
     24ungraceful ones. 
    2525 
    26 * Flesh out the various parts of the test suite.  There are currently 3 
    27 main parts envisioned:  1.  Several t/*.t files that test Literal.pm in 
    28 isolation.  2.  Several t/*.t files that test support libraries of 
    29 Example.pm in isolation.  3.  The Validator(|*).pm files which test 
     26* Flesh out the various parts of the test suite.  There are currently 2 
     27main parts envisioned:  1.  Several t/*.t files that test support libraries 
     28of Example.pm in isolation.  2.  The Validator(|*).pm files which test 
    3029Interface.pm and the Example Engine as a whole, as well as being reused for 
    3130other Engine distributions.  Note that the core test suite should execute 
     
    3433or 99. 
    3534 
    36 * Update Literal.pm and Interface.pm to flesh out the descriptions of the 
    37 classes and class methods that they provide. 
    38  
    3935* Update the Example Engine to implement the rest of the relational 
    4036algebra|calculus operators, as well as all the reasonable operators for 
    41 other core data types: Bool, Order, Int, Blob, Text. 
     37other core data types: Bool, Order, Int, Num, Blob, Text. 
    4238 
    4339* Update the Example Engine to implement persisting databases.  For 
     
    5046 
    5147* Update the Example Engine to implement the optional system-defined data 
    52 types: non-integer numeric, temporal, spatial. 
    53  
    54 * Optimize the Muldis DB framework core (just Literal.pm and Interface.pm) 
    55 as much as possible so that anything using the framework in general should 
    56 get the best performance feasible. 
     48types: temporal, spatial. 
    5749 
    5850* Optimize the Example Engine as can be done without making it too 
  • ext/Muldis-DB/lib/Muldis/DB/Engine/Example/Operators.pm

    r17127 r17897  
    142142all Muldis D implementations must have, which is the selectors for and 
    143143general purpose functions and update operators for these data types: Bool, 
    144 Text, Blob, Int, Tuple, Relation, and the Cat.* types. 
     144Text, Blob, Int, Num, Tuple, Relation, and the Cat.* types. 
    145145 
    146146By contrast, the operators specific to the optional data types are 
    147 implemented by other files: L<Muldis::DB::Engine::Example::Operators::Num>, 
     147implemented by other files: 
    148148L<Muldis::DB::Engine::Example::Operators::Temporal>, 
    149149L<Muldis::DB::Engine::Example::Operators::Spatial>. 
  • ext/Muldis-DB/lib/Muldis/DB/Engine/Example/PhysType.pm

    r17127 r17897  
    10291029 
    10301030Specifically, this file represents the core system-defined data types that 
    1031 all Muldis D implementations must have, namely: Bool, Text, Blob, Int, 
     1031all Muldis D implementations must have, namely: Bool, Text, Blob, Int, Num, 
    10321032Tuple, Relation, and the Cat.* types. 
    10331033 
    10341034By contrast, the optional data types are given physical representations by 
    1035 other files: L<Muldis::DB::Engine::Example::PhysType::Num>, 
    1036 L<Muldis::DB::Engine::Example::PhysType::Temporal>, 
     1035other files: L<Muldis::DB::Engine::Example::PhysType::Temporal>, 
    10371036L<Muldis::DB::Engine::Example::PhysType::Spatial>. 
    10381037 
  • ext/Muldis-DB/lib/Muldis/DB/Interface.pm

    r17866 r17897  
    11use v6-alpha; 
    2  
    3 use Muldis::DB::Literal; 
    42 
    53########################################################################### 
     
    510508This file requires any version of Perl 6.x.y that is at least 6.0.0. 
    511509 
    512 It also requires these Perl 6 classes that are in the current distribution: 
    513 L<Muldis::DB::Literal-(0.3.0)|Muldis::DB::Literal>. 
    514  
    515510=head1 INCOMPATIBILITIES 
    516511 
  • ext/Muldis-DB/lib/Muldis/DB/Validator.pm

    r17127 r17897  
    99 
    1010    use Test; 
    11  
    12     use Muldis::DB::Literal <newQuasiSet>; 
    1311 
    1412########################################################################### 
     
    397395 
    398396It also requires these Perl 6 classes that are in the current distribution: 
    399 L<Muldis::DB::Literal-(0.3.0)|Muldis::DB::Literal>, L<Muldis::DB::Interface-0.3.0|Muldis::DB::Interface>. 
     397L<Muldis::DB::Interface-0.3.0|Muldis::DB::Interface>. 
    400398 
    401399=head1 INCOMPATIBILITIES 
  • ext/Muldis-DB/t/MDB_00_Compile.t

    r17855 r17897  
    33use Test; 
    44 
    5 plan( 14 ); 
     5plan( 12 ); 
    66 
    77use_ok( 'Muldis::DB' ); 
    88skip( 1, q{is( Muldis::DB.WHO.version, 0.3.2, 
    99    'Muldis::DB is the correct version' );} ); 
    10  
    11 use_ok( 'Muldis::DB::Literal' ); 
    12 skip( 1, q{is( Muldis::DB::Literal.WHO.version, 0.3.0, 
    13     'Muldis::DB::Literal is the correct version' );} ); 
    1410 
    1511use_ok( 'Muldis::DB::Interface' );