TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   Data Dictionary (http://www.talkphp.com/general/2888-data-dictionary.html)

StevenF 06-03-2008 03:01 PM

Data Dictionary
 
Hello,

In general, what would a data dictionary for a website contain? I've been told I need to create one. Apparently, it should state every variable used, what it does and what it contains. Is this true? I have close to 2600 lines of code for my shopping cart (not all php). It could take forever... :-/

Wildhoney 06-03-2008 03:31 PM

Sounds crazy to me, but if you're allowing users to tweak all your code, and build their own modules for it, then you will need to do it!

StevenF 06-03-2008 03:33 PM

It's actually for an assessment for college. The code is never going to be changed and is well commented as it is. It sounds totally crazy and unnecessary to me and have no idea why it's needed.

sketchMedia 06-03-2008 03:40 PM

to me a data dictionary means an application model, the model contains information that describes the application's data structure, like ER diagrams etc but i could be wrong.

xenon 06-03-2008 10:19 PM

You could use phpdoc to build that. That's how I see this thing done easily. Or, you could go with natural docs.

delayedinsanity 06-04-2008 12:29 AM

I thought of that too Xenon, but if it's a college assignment, I think it may be important to distinguish between whether his teacher wants a program API, or a database 'data dictionary'...

xenon 06-04-2008 06:49 PM

Then natural docs could come in handy then. You can basically add any comment to your text/code/what ever. I think he has to build more like a resume of the application, than a technical documentation book.

StevenF 06-04-2008 09:07 PM

It's confirmed, I've to list every variable used and describe what it does :|

xenon 06-05-2008 12:01 AM

Then, let me just wish you good luck with that :-P

delayedinsanity 06-05-2008 12:22 AM

Every variable? Not just parameter/argument vars? Ouch.

If it makes you feel any better, I just spent the last two or three days adding documentation to 3800 lines of code over 11 files myself. Not *every* variable of course, but the extra 1200 lines has to count for something.
-m


All times are GMT. The time now is 10:25 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0