[Checkins] SVN: z3c.zalchemy/trunk/src/z3c/zalchemy/demo/ Added
TODO, edited README.
Michael Bernstein
webmaven at cox.net
Wed Jan 17 01:09:55 EST 2007
Log message for revision 72067:
Added TODO, edited README.
Changed:
U z3c.zalchemy/trunk/src/z3c/zalchemy/demo/README.txt
A z3c.zalchemy/trunk/src/z3c/zalchemy/demo/TODO.txt
-=-
Modified: z3c.zalchemy/trunk/src/z3c/zalchemy/demo/README.txt
===================================================================
--- z3c.zalchemy/trunk/src/z3c/zalchemy/demo/README.txt 2007-01-17 04:55:46 UTC (rev 72066)
+++ z3c.zalchemy/trunk/src/z3c/zalchemy/demo/README.txt 2007-01-17 06:09:54 UTC (rev 72067)
@@ -14,6 +14,15 @@
Because of incompatibilities between the database schemas, each demo defines a
different database connection string, to avoid conflicts.
+To try any particular demo, add a 'Message Container X' to a folder, where 'X'
+is the number of the demo. So for example, if you've uncommented demo_3 from
+z3c.zalchemy.demo-configure.zcml, restarting Zope should show a
+'Message Container 3' object that can be added. Inside these message containers
+message objects can be added and edited. Adding a second 'Message Container'
+will show the same set of messages, as the container just gets all messages in
+the database.
+
+
Demo 1: Subclasses the included SQLAlchemyContainer to create a container that
is preconfigured to hold only one class (HelloWordMessage)
@@ -21,7 +30,9 @@
class (HelloWorldMessage2).
Demo 3: Demonstrates a rudimentary adapter for storing Dublin Core metadata in
- the RDBMS for HelloWorldMessage3 objects.
+ the RDBMS for HelloWorldMessage3 objects. HelloWorldMessage3 objects
+ have editable title and description fields incorporated into the add and
+ edit forms. The metadata is stored in a second table.
Demo 4: Demonstrates a contained HelloWorldMessage4 class that is in itself a
container for HelloWorldFragment classes.
Added: z3c.zalchemy/trunk/src/z3c/zalchemy/demo/TODO.txt
===================================================================
--- z3c.zalchemy/trunk/src/z3c/zalchemy/demo/TODO.txt 2007-01-17 04:55:46 UTC (rev 72066)
+++ z3c.zalchemy/trunk/src/z3c/zalchemy/demo/TODO.txt 2007-01-17 06:09:54 UTC (rev 72067)
@@ -0,0 +1,16 @@
+To Do
+=====
+
+ * figure out why SQLAlchemy complains when two projects try adding the same
+ table names in different databases (hint: it is probabaly because ZAlchemy
+ uses the global_connection to pass around the table object to be bound to an
+ engine, but doesn't seem to ever clean up the tables after it is done).
+
+ * add tests to the demos
+
+ * copy/paste of fragments between messages (in demo_4) ends up doing a
+ cut/paste instead, and a cut/paste ends up doing a deletion. This is probably
+ because of the current FK relationships.
+
+ * add more descriptive comments in the code.
+
More information about the Checkins
mailing list