![]() |
One thing lead to another
Well, I've been using my framework on all my sites so have my friends ( I told them about it, they used it and liked it ) so the story goes as follows:
The framework was used, I and my friends were too busy to upgrade the past client's websites and so they hire a new coder ( can't blame em right? ) so the coder comes and lo and behold, he doesn't know what the hell he's doing! So what does he do? Complain. The client gives him my friends ( or my ) email and the conversation takes place. So by way of quasi-diffusion my framework has been put into use, and requires documentation. http://docs.nrgframework.com I've never had to write documentation for anything, so if I could get tips and such that'd be great. P.S. The main site doesn't work on IE most of the people who'll be visiting probably won't be using IE or even configuring their download they'll just be Dling the complete package as to why exactly it's there...aestheticism. |
I would suggest looking at other software's style of documentation (MSDN's docs are the best I've ever seen). For the big programs I write, I do something like this (examples are in C++, but should be readable for a PHP programmer)
Code:
/*---------------------For classes, I do something like: Code:
/**************************** |
Thanks, I'm now implementing that style of commenting
|
Hi,
Here we use phpDoc to document our code. Like Village Idiot's way of handling doc it uses comments in code, and it is very similar to Java's docblock syntax /** * This describe function usage * * @param int $id Parameter description * @return mixed Return desc */ The same bloc repeats for classes, modules (altough this doesn't realy exists in PHP) , files, etc. The main advantage is it has a parser that can build documentation in HTML format straight from your code ! Mor information on http://www.phpdoc.org/ |
| All times are GMT. The time now is 06:13 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0