Note on testing tags. git-svn-id: http://soc.googlecode.com/svn/wiki@3246 5fae56a1-394a-0410-ba46-5107137fd53f
diff --git a/TagsInMelange.wiki b/TagsInMelange.wiki index b59e98c..476960c 100644 --- a/TagsInMelange.wiki +++ b/TagsInMelange.wiki
@@ -90,4 +90,24 @@ = Resources = * Datatables [http://www.datatables.net/examples/example_multi_filter.html can filter out of multiple columns] * [http://groups.google.com/group/melange-soc-dev/browse_thread/thread/54b6839bcbdf0493 GAE Open source projects with tags support] - * [http://groups.google.com/group/melange-soc-dev/browse_thread/thread/500be96e494c6248 Comparison of taggable-mixin and gaegene tags support] \ No newline at end of file + * [http://groups.google.com/group/melange-soc-dev/browse_thread/thread/500be96e494c6248 Comparison of taggable-mixin and gaegene tags support] + +_For our needs, taggable.py (the mixin) was a clear winner in the comparison of tags implementations_ + += Questions = + + * *Q:* Will survey results be taggable? Will documents be taggable? This question is really asking if there are expected to be technical difficulties in extending taggable.py to these 'non-standard' models. For example, is taggable compatible with expando? Are we putting taggable in the right place in our hierarchy to catch documents too? + * *A:* + + * *Q:* With standard tagable.py, finding out what tags an entity has been tagged with requires a query for each entity. That's expensive when showing tags for rows in a table. When we add a tag to an entity, we could choose to add it to the tags _and_ add it to a string property in the entity. Will we be doing this? + * *A:* + + += Testing = + +To complement the use of taggable.py, seed_db.py will need to put some tags down as well as seeding other tables. One suggestion is that seed_db.py should: + + * Tag organizations (as C++, Python, Ajax, Assembler) + * Tag student project proposals (as Easy, Moderate, Hard; 3D, LAMP, Audio, Embedded) + +This will help and promote use of tags in stats. It will enable the development of python code in the stats module to collect the tag related information. \ No newline at end of file