- Timestamp:
- 09/18/07 09:16:22 (16 months ago)
- Location:
- ext/Muldis-DB
- Files:
-
- 2 removed
- 8 modified
-
Changes (modified) (2 diffs)
-
README (modified) (1 diff)
-
TODO (modified) (3 diffs)
-
lib/Muldis/DB/Engine/Example/Operators.pm (modified) (1 diff)
-
lib/Muldis/DB/Engine/Example/PhysType.pm (modified) (1 diff)
-
lib/Muldis/DB/Interface.pm (modified) (2 diffs)
-
lib/Muldis/DB/Literal.pm (deleted)
-
lib/Muldis/DB/Validator.pm (modified) (2 diffs)
-
t/MDB_00_Compile.t (modified) (1 diff)
-
t/MDB_10_Literal_Simple.t (deleted)
Legend:
- Unmodified
- Added
- Removed
-
ext/Muldis-DB/Changes
r17866 r17897 11 11 Changes entry refers only to the Perl 5 version. 12 12 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 13 22 * New file versions are: DB.pm and Interface.pm and Validator.pm and 14 23 Example.pm 0.4.0. The other pre-existing versioned files are … … 19 28 DESCRIPTION of DB.pm. Added a small initial DESCRIPTION to each of 20 29 Interface.pm, Example.pm. Further minor edits to other sections. 30 31 * Updated the TODO file. 21 32 22 33 2007-09-14 Darren Duncan <perl@DarrenDuncan.net> -
ext/Muldis-DB/README
r17866 r17897 46 46 3. lib/Muldis/DB.pm 47 47 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 53 52 54 53 Then you can carry on with anything else. -
ext/Muldis-DB/TODO
r17128 r17897 20 20 stored routines, constraints, virtual variables, and persisting databases. 21 21 22 * Flesh out the user-input validation code in both Literal.pm and in the23 Example Engine, as is appropriate, so that all bad input results in24 graceful failures rather thanungraceful ones.22 * Flesh out the user-input validation code in the Example Engine, as is 23 appropriate, so that all bad input results in graceful failures rather than 24 ungraceful ones. 25 25 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 27 main parts envisioned: 1. Several t/*.t files that test support libraries 28 of Example.pm in isolation. 2. The Validator(|*).pm files which test 30 29 Interface.pm and the Example Engine as a whole, as well as being reused for 31 30 other Engine distributions. Note that the core test suite should execute … … 34 33 or 99. 35 34 36 * Update Literal.pm and Interface.pm to flesh out the descriptions of the37 classes and class methods that they provide.38 39 35 * Update the Example Engine to implement the rest of the relational 40 36 algebra|calculus operators, as well as all the reasonable operators for 41 other core data types: Bool, Order, Int, Blob, Text.37 other core data types: Bool, Order, Int, Num, Blob, Text. 42 38 43 39 * Update the Example Engine to implement persisting databases. For … … 50 46 51 47 * 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. 48 types: temporal, spatial. 57 49 58 50 * Optimize the Example Engine as can be done without making it too -
ext/Muldis-DB/lib/Muldis/DB/Engine/Example/Operators.pm
r17127 r17897 142 142 all Muldis D implementations must have, which is the selectors for and 143 143 general purpose functions and update operators for these data types: Bool, 144 Text, Blob, Int, Tuple, Relation, and the Cat.* types.144 Text, Blob, Int, Num, Tuple, Relation, and the Cat.* types. 145 145 146 146 By contrast, the operators specific to the optional data types are 147 implemented by other files: L<Muldis::DB::Engine::Example::Operators::Num>,147 implemented by other files: 148 148 L<Muldis::DB::Engine::Example::Operators::Temporal>, 149 149 L<Muldis::DB::Engine::Example::Operators::Spatial>. -
ext/Muldis-DB/lib/Muldis/DB/Engine/Example/PhysType.pm
r17127 r17897 1029 1029 1030 1030 Specifically, this file represents the core system-defined data types that 1031 all Muldis D implementations must have, namely: Bool, Text, Blob, Int, 1031 all Muldis D implementations must have, namely: Bool, Text, Blob, Int, Num, 1032 1032 Tuple, Relation, and the Cat.* types. 1033 1033 1034 1034 By 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>, 1035 other files: L<Muldis::DB::Engine::Example::PhysType::Temporal>, 1037 1036 L<Muldis::DB::Engine::Example::PhysType::Spatial>. 1038 1037 -
ext/Muldis-DB/lib/Muldis/DB/Interface.pm
r17866 r17897 1 1 use v6-alpha; 2 3 use Muldis::DB::Literal;4 2 5 3 ########################################################################### … … 510 508 This file requires any version of Perl 6.x.y that is at least 6.0.0. 511 509 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 515 510 =head1 INCOMPATIBILITIES 516 511 -
ext/Muldis-DB/lib/Muldis/DB/Validator.pm
r17127 r17897 9 9 10 10 use Test; 11 12 use Muldis::DB::Literal <newQuasiSet>;13 11 14 12 ########################################################################### … … 397 395 398 396 It 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>.397 L<Muldis::DB::Interface-0.3.0|Muldis::DB::Interface>. 400 398 401 399 =head1 INCOMPATIBILITIES -
ext/Muldis-DB/t/MDB_00_Compile.t
r17855 r17897 3 3 use Test; 4 4 5 plan( 1 4);5 plan( 12 ); 6 6 7 7 use_ok( 'Muldis::DB' ); 8 8 skip( 1, q{is( Muldis::DB.WHO.version, 0.3.2, 9 9 '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' );} );14 10 15 11 use_ok( 'Muldis::DB::Interface' );
