cvsuser 06/02/28 19:34:50
Modified: App-Repository CHANGES Makefile.PL TODO
Log:
minor updates
Revision Changes Path
1.5 +18 -1 p5ee/App-Repository/CHANGES
Index: CHANGES
===================================================================
RCS file: /cvs/public/p5ee/App-Repository/CHANGES,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CHANGES 13 Sep 2005 15:10:38 -0000 1.4
+++ CHANGES 1 Mar 2006 03:34:50 -0000 1.5
@@ -2,7 +2,24 @@
# CHANGE LOG
#########################################
-0.96 (unreleased)
+0.96
+ x test suites are driven by app.conf (App::Options)
(dbdriver/dbhost/dbname/dbuser/dbpass)
+ (and they succeed trivially when no app.conf is set up)
+ x App::Repository::DBI - table-level hints now work (main table only)
(MySQL-compatible)
+ x App::Repository/::DBI - _get_default_columns($table) returns
{default_columns}, {phys_columns}, or {columns}
+ x App::ValueDomain::RepositoryTables - a list of tables from a repository
+ x App::ValueDomain::RepositoryTableColumns - a list of column from a table
in a repository
+ x App::ValueDomain::Repository - added EACH as a special kind of
{extra_values}
+ x App::ValueDomain::Repository - added {extra_values} and {extra_labels}
attribs
+ x App::Repository - (logical to physical) table redirection
+ x App::Repository::evaluate_expressions() - can now evaluate expressions
for column definitions
+ x App::Repository::sort() - can now sort arrays of hashrefs as well as
arrays of arrayrefs
+ x App::Repository::DBI - add _do($sql) method - same as
$db->{dbh}->do($sql) with added debugging features
+ The "_" reminds you this is not really a portable method in the spirit of
the App::Repository abstraction.
+ It is provided so that you won't be tempted to use the work-around
described above.
+ Any need to use this method is an indication that the API still needs
work. Please send feedback to me.
+ NOTE: _do() works for select as well as insert/update/delete statements,
returning the array of rows
+ x App::ValueDomain::Repository - add extra_values, extra_labels, and
order_by
x App::SessionObject::RepositoryObjectSet - enable relevant "columns" to be
configured (limits them)
x App::SessionObject::RepositoryObjectDomain - can configure mappings of
domain params to individual object set params
x $rep->new_object() calls class-specific (RepositoryObject) _init() method
to set up object values
1.9 +2 -2 p5ee/App-Repository/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /cvs/public/p5ee/App-Repository/Makefile.PL,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Makefile.PL 9 Aug 2005 18:58:14 -0000 1.8
+++ Makefile.PL 1 Mar 2006 03:34:50 -0000 1.9
@@ -10,7 +10,7 @@
%opts = (
'NAME' => 'App-Repository',
'DISTNAME' => 'App-Repository',
- 'VERSION' => '0.95',
+ 'VERSION' => '0.96',
'PREREQ_PM' => { #'App::Context' => 0, # core services
'DBI' => 0, # database access
},
1.7 +7 -2 p5ee/App-Repository/TODO
Index: TODO
===================================================================
RCS file: /cvs/public/p5ee/App-Repository/TODO,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TODO 13 Sep 2005 15:10:38 -0000 1.6
+++ TODO 1 Mar 2006 03:34:50 -0000 1.7
@@ -3,12 +3,15 @@
######################################################################
To get to Version 1.0
- o change the test suites to be driven by App::Options
(dbdriver/dbhost/dbname/dbuser/dbpass)
+ o clean up join configuration (i.e. relationships)
+ o { related_from => "source_table" } option
o implement App::Repository::File and App::Repository::FileSystem
o go over the documentation which is terrible and has been completely
neglected
o ensure it runs (and tests cleanly!) on MSWin32
+ o get it to run against Oracle
Other stuff
+ o get it to run against Oracle
o caching rows by key
o caching row-sets by set-key
o DBI - refactored/unified params/cols/values handling
@@ -16,6 +19,8 @@
- clear separation between "eq", "in" and implied ops
- add "not_in" operator
- add implied operators from the value (i.e. ">3", "!2,3")
+ o auto-history (audit trail)
+
o DBI - auto-reconnect on all operations
o DBI - bind variables on all operations
o all - benchmarks