Note: You must be registered in order to post a reply.
|
Eric Coleman |
Posted - Apr 06 2004 : 2:19:39 PM I've mentioned this quite a few times, and no one was willing to actually help me with it. I figure that I'll just work on it by myself in my free time.
I've had two different ideas on how this could be accomplished. I'd like some feedback on which of these do you think would be more successfull.
The concept is to have a repository of user submitted code. The code would not be complete programs, but individual functions and subs. Perhaps even classes. The way it would work would be for people to submit functions, and then people can search the database of functions, read descriptions of what the functions do, search for certain functions, and select which functions you want to download. A .bas file would be created containing all the functions you had selected for download, and then you simply download the .bas file and add it to your program.
The functions could either be public or private. By this I don't mean "Public Function" or "Private Function", but a function uploaded by me could be a private function in the sense that only I can make modifications or edit the function. If I upload a function and make it public, then anyone can come along and make corrections or fix bugs in the function. See the difference? I should probably think of some terms other than public and private to describe this functionality.
Imagine being able to download a generic FPS function, or a function to do collision detection between spheres and cubes. Most example programs that try to demonstrate some sort of concept generally have lots of other code to make the program function. A program that demonstrates skeletal animation on 3D characters in OpenGL is nice, but if you're using the program to try to accomplish the same thing in Directx, then all you really need to look at is the code specifically related to the skeletal animation.
So that's one idea. Here is the other.
The concept of owning a function or some piece of code is not new. Also, the first idea isn't that far off from having some sort of content management system. The big difference is that instead of a repository for snippets of code, it would be either a private or public repository of entire projects. The idea of this came about because of all the so called "community" projects that have failed due to any lack of organization. This version of the "code bin" would be similar to source forge. You'll be able to store all of your code on the server and restrict access to who can view or edit the code.
It would work something like this. You create a project, and person A has access to the multiplayer code and can edit it. Person B has access to the graphics portion of the the code and can edit it. Person C has access to the multiplayer and graphics code, but can only read, and has read/write access to the scripting engine code. If more than one person has access to a section of code, then a library system will be used to determine who can edit the code. You can grant certain people time privalges to have access to a piece of code, and if they don't update or report back in after a set amount of time, then other people will have access to the code after that time has elapsed or the when the person updates the code. This would avoid the situation where more than one person is trying to modify the same portion of the program.
Which idea is better? |
VBBR |
Posted - Apr 09 2004 : 3:07:31 PM Maybe make an option for the person to choose between all the thread or just the section? |
Eric Coleman |
Posted - Apr 09 2004 : 2:55:25 PM I forgot about subscriptions. Does it make more sense to subscribe to the entire thread or to only sections of a message? In the latter case, someone might post a message in the wrong place (they always do) that might be of interest to you and you wouldn't get any notification. Of course, if a subscription is to the whole message, you'll get notified of all replies, which could be both bad and good. |
kaveh |
Posted - Apr 09 2004 : 2:38:14 PM I think that these are good: - recording IPs - # of views - lockable threads - making stickies - # of replys - last person to reply - subscribe to thread - reply with quote
|
VBBR |
Posted - Apr 09 2004 : 2:36:19 PM Ah... Then I think it's OK. |
Eric Coleman |
Posted - Apr 09 2004 : 1:20:32 PM that's not what I meant. What I meant was "should the IP address be recorded?" |
VBBR |
Posted - Apr 09 2004 : 1:17:20 PM Yeah, but SHOWING the IP address in the page is a little abusive. |
Eric Coleman |
Posted - Apr 09 2004 : 12:18:02 PM Your IP address gets logged for any website you visit. |
VBBR |
Posted - Apr 09 2004 : 11:48:05 AM I think IP is a little... privacy abusive, isn't it? And it may be harmful if someone has bad intentions. (Of course, it will be really worse for those that have a fixed IP) |
Eric Coleman |
Posted - Apr 09 2004 : 11:43:12 AM What else should be in this forum? Its currently extremly simple, the only properties of a message are subject, date, author, rank, and message body.
Here are some other things that are common in message boards, which features do you think should be in the one for the code bin?
- message views, how many times someone views a message
- IP address of the message poster
- ability to lock posts
- "sticky" posts, such as announcements that are always at the top of the page.
- what else am I missing?
|
Eric Coleman |
Posted - Apr 09 2004 : 11:05:54 AM If anyone would be interested in the source code to it, then just let me know if you want to see it. |
VBBR |
Posted - Apr 09 2004 : 09:56:55 AM Oh yeah. The thing is that I wrote "it's" including the " ' ". Now I wrote just "its" and it worked... (If you want to see, take a look at the "1+1" post!) |
Eric Coleman |
Posted - Apr 09 2004 : 09:38:43 AM Yeah, I agree, I changed it back to just a simple tree view. |
The Pentium Guy |
Posted - Apr 09 2004 : 09:28:58 AM too much trouble :p |
Eric Coleman |
Posted - Apr 09 2004 : 09:14:38 AM That's odd. make sure there aren't any ' characters in your subject or message, I'm not filtering thouse out just yet. Right now I'm just trying to get the basic functionality of the message board working. What do you think about the collapsed messages? It was cool at first, but now it seems like its too much trouble. |
VBBR |
Posted - Apr 09 2004 : 07:18:14 AM I get a 500 error - internal server error when trying to post. |
|
|
VBGamer |
© |
|
|
|
|