darelf
03-17-2004, 10:02 AM
I'm not sure if this goes here... I'll move it otherwise...
I wanted to get some people to look at some php code I'm working on as I work on it, and suggest better ways/methods of doing different things in the code....
Plus suggestions on how to document php in-line... i.e. what is the most useful to the most people when looking at php. (php seems pretty straight-forward to me, so I don't put many comments in the code).
I'm using a mix of forms and sessions and mysql, and so a lot of little things I'm simply not aware of may seem very obvious to someone else.
Anyway, it's a vanity project for a group of friends, and it is for creating characters in a P&P RPG game called Imagine. That's not really important, though, it's the code I'm interested in making better with suggestions.
My php is all self-taught, so I'm sure there will be a lot of things I could be doing better/cleaner/smarter.
This is basically an invitation to take a look and make comments if you have them.
The source of the site can be accessed as plain text here - http://www.mythicrpg.com/php-source/project
And the regular view would be - http://www.mythicrpg.com/project/imagine.php
It's very rough, and the different parts are separated into a checklist format which I will collapse later on. Anyway, any and all comments are welcome. You can post responses, or email me at ( darelf at earthlink dot net ).
I wanted to get some people to look at some php code I'm working on as I work on it, and suggest better ways/methods of doing different things in the code....
Plus suggestions on how to document php in-line... i.e. what is the most useful to the most people when looking at php. (php seems pretty straight-forward to me, so I don't put many comments in the code).
I'm using a mix of forms and sessions and mysql, and so a lot of little things I'm simply not aware of may seem very obvious to someone else.
Anyway, it's a vanity project for a group of friends, and it is for creating characters in a P&P RPG game called Imagine. That's not really important, though, it's the code I'm interested in making better with suggestions.
My php is all self-taught, so I'm sure there will be a lot of things I could be doing better/cleaner/smarter.
This is basically an invitation to take a look and make comments if you have them.
The source of the site can be accessed as plain text here - http://www.mythicrpg.com/php-source/project
And the regular view would be - http://www.mythicrpg.com/project/imagine.php
It's very rough, and the different parts are separated into a checklist format which I will collapse later on. Anyway, any and all comments are welcome. You can post responses, or email me at ( darelf at earthlink dot net ).