[Dbix-class] Documentation of DBIx::Class schemas

Pedro Melo melo at simplicidade.org
Wed Nov 7 17:24:44 GMT 2007


Hi,

I was wondering how do you document your schemas?

I started adding 'docs' keys to the extra hash for each column. I've  
also added a Doc component that allows me to set up some texts as  
documentation for the class.

Then I can use basic introspection and generate the entire  
documentation (right now using a Catalyst::Controller).

To prevent unnecessary memory usage in production, all the text of  
the docs is not kept unless a environment variable is set.

I wonder what other people is doing....

Best regards,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo at simplicidade.org
Use XMPP!





More information about the DBIx-Class mailing list