ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 20th, 2005, 02:22 PM
aditya1_in aditya1_in is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 62 aditya1_in User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 4 h 5 m 41 sec
Reputation Power: 0
documentation

just completed a project
now i need to get the documentation done

any ideas on how to start?

also are there any available examples of documentation like what is required the do's and donts etc etc
any links

help!

Reply With Quote
  #2  
Old February 20th, 2005, 04:42 PM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,969 Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 5 Days 15 h 9 m 16 sec
Reputation Power: 1556
usually, it's better to add the documentation while writing the project, not after finishing it especially in big project - keep that in mind for the future.
anyways, general concepts of documentation are:
1. in the beginning of any file, write the file name, description of what is its usage in the project, author name, date of creation and revision history.
2. in the beginning of any function/sub write full details about what it's doing, what parameters it expect and what it returns in case it's a function.
3. throughout all your code, put detailed explanations around specific lines and bits of code - that's the most important rule of all...
also, not really documentation but giving meaningful names to variables is also vital.

Reply With Quote
  #3  
Old February 20th, 2005, 07:26 PM
GazouTG's Avatar
GazouTG GazouTG is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Quebec
Posts: 338 GazouTG User rank is Private First Class (20 - 50 Reputation Level)GazouTG User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 18 m 38 sec
Reputation Power: 4
Send a message via ICQ to GazouTG Send a message via MSN to GazouTG
Shadow wizard is right, you better comment code while programming.
And when its a very huge project i create an Help file with html Help Workshop so future programmer can search through my documentation and index and all.
This way its faster for em to find what they are searching for.
__________________
-----------------------------------------
You're not the center of the Universe
You're just an ass in the space of time
-----------------------------------------

Reply With Quote
  #4  
Old February 21st, 2005, 01:13 AM
aditya1_in aditya1_in is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 62 aditya1_in User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 4 h 5 m 41 sec
Reputation Power: 0
[font=verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif]well i do use variables that make sense
and the project that i am working one is small one so i can add in the comments even now ( i have put in a few while i was writing the code )

i also want to know how to show the whole working of the project and the way the database tables are designed in form of diagrams and the way a user would use this particular project.

i want to do the documentation so that i can file it in the form of a book with explanation about why i used asp and also at the end what improvements can be made to the existing project

i dint get the part of 'revision history'

thanks a lot
[/font]

Reply With Quote
  #5  
Old February 21st, 2005, 08:44 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,969 Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1Folding Points: 342274 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 5 Days 15 h 9 m 16 sec
Reputation Power: 1556
by Revision History I mean, that whenever you're making changes to the file, add comments telling when the change was made, who made it and what for... for example:
Code:
  '/////////////////////////////////////////
  'Login.asp
  '---------
  'Original Author: John Doe
  'Created: 10/02/2005
  'Description: this file is responsible for user login.
  '   will show the login form, and once user is authorized, set session varibale.
  'Revision History:
  '1. 15/02/2005: John Doe fixed nasty bug with single or double quotes messing the database
  '2. 20/02/2005: John Doe fixed the code to prevent SQL injection attacks.
  '/////////////////////////////////////////
  

as for the other things you asked, we can't help you much futher - to "do the documentation so that i can file it in the form of a book" simply write it as Word Document and you can then add formt and print it, and to build the diagrams you have to use tools like Visio.

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherASP Free Lounge > documentation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway