PDA

View Full Version : FREE PHP Scripts from the Übergeeks


Jeremy_Mc
01-31-2003, 12:27 AM
I'm working on open sourcing all the scripts we use on our site.

Currently, the news, links, and most recent forum post scripts are up for download, but I'll be posting more soon.

Most of those are moderately commented. I'm working on commenting them more right now.

Also look out for the various other files listed on there. I should be posting most of them pretty soon...

but in the mean time. Enjoy the ones available. :)

Click here to go to our downloads (http://www.firstubergeeks.com/downloads.php)

Any problems or questions, you can PM me and I'll help you out.


*jeremy

Jeremy_Mc
01-31-2003, 08:10 AM
I just fully commented the links script and added a readme file to the archive. Sorry they're in tar.gz but we're on a Linux server, and I'm too lazy to install zip/unzip :p

Any questions? PM me.

*jeremy

HFWang
01-31-2003, 07:00 PM
Not trying to be negative, but there are alot of fairly mature scripts that do the same thing.

So errr... yah. I'm not sure how useful these will be.

Jeremy_Mc
01-31-2003, 07:06 PM
Many of those are difficult to setup.

These aren't. Many teams don't know how to use phpMyAdmin, many of them don't know anything about PHP, and even more really don't know where to look for scripts.

*jeremy

Raven_Writer
01-31-2003, 07:06 PM
Originally posted by HFWang
Not trying to be negative, but there are alot of fairly mature scripts that do the same thing.

So errr... yah. I'm not sure how useful these will be.
I find scripts useful not matter what. If one does somethings but not others, I find a script that does the other half, and combine them both (or just write the code out myself).

Jack
01-31-2003, 09:22 PM
um... computer programming is much more hacking other's code rather that writing your own :)

- Even if I know how to make something, I'd much rather take something allready make and hack it to what I need rather than write all myself. :p

Raven_Writer
01-31-2003, 09:24 PM
Originally posted by Jack
um... computer programming is much more hacking other's code rather that writing your own :)

- Even if I know how to make something, I'd much rather take something allready make and hack it to what I need rather than write all myself. :p
I prefer to write it all out myself in computer programming, but server-side scripting like PHP, ASP, MySQL, Perl, and so forth, I just mix bunch of code.

Gadget470
01-31-2003, 10:27 PM
All of you who find it useful or not to read other's code, remember how you first learned. That book? That tutorial? That class? You saw some code in use, figured out why it worked, and remembered the technique. Then you saw more.. more .. more.. developed your own technique.

Any coding (that works) is a good learning tool. And for the more experienced code that doesn't work is a good learning tool when trying to make it work.

Jeremy: Good job, even if some people don't think so =P

evulish
01-31-2003, 10:54 PM
Gadget: I agree fully :)

So maybe nobody will just take those scripts and put them on their site...they may be writing their own but can't figure something out...so they just use part of someone elses. I mean...that's one of the biggest things of Open Source. I'm glad to hear of people doing this. I just wish more people would.

Raven_Writer
01-31-2003, 10:55 PM
Originally posted by evulish
So maybe nobody will just take those scripts and put them on their site...they may be writing their own but can't figure something out...so they just use part of someone elses. I mean...that's one of the biggest things of Open Source. I'm glad to hear of people doing this. I just wish more people would.
That's what I've been saying.

Jeremy_Mc
01-31-2003, 11:53 PM
Our entire site is available open source...like an EXACT clone lol.

The only catch: You gotta be running Linux ;)

The install script is a bash script that will fetch the newest files from our server.

It will also update an existing installation.

http://sourceforge.net/projects/phpfirst

*jeremy

Trashed20
02-01-2003, 12:10 AM
Originally posted by Gadget470
All of you who find it useful or not to read other's code, remember how you first learned. That book? That tutorial? That class? You saw some code in use, figured out why it worked, and remembered the technique. Then you saw more.. more .. more.. developed your own technique.

Any coding (that works) is a good learning tool. And for the more experienced code that doesn't work is a good learning tool when trying to make it work.

Jeremy: Good job, even if some people don't think so =P

my whole site (http://www.lightningrobotics.com) is basically based on one code snippet that i found in the php help file. tought me how do do queries, arrays, while loops, and a lot of other stuff. I also agree with what some others are saying (you don't have to reinvent the wheel) but we did too. you get a bit of satisfaction knowing that you could do it as good or better than something else. Also, if you alter others code, you prolly don't care too much about programming it. I programmed our site because i thought it was fun. just my $.02

HFWang
02-01-2003, 01:58 PM
Originally posted by Jeremy_Mc
Many of those are difficult to setup.

These aren't. Many teams don't know how to use phpMyAdmin, many of them don't know anything about PHP, and even more really don't know where to look for scripts.

*jeremy

I dunno. Most of the stuff I have seen is so idiot proof its almost silly. Most forums come nice and ready for pretty much anything. You upload and run the install. Type in passwords as needed, and voila. Insta-forumage.

I didn't need to touch any PHP, didn't need to open up PHPMyAdmin, nothing. I think that it is unrealistic to make it any easier.

So that said, I don't think your scripts are any easier to install. In fact, you require people to run SQL commands in some way shape or form instead of streamlining it in an install file.

This isn't meant to be criticism, but I fail to see how this is any easier to install. In fact, looking at the link script, I discovered that you made no mention of the fact that the database_info.inc file should be edited...

Further, your statement that looking at code helps you is disingenous (sp?). True, you can learn alot by looking at other people's code, but couldn't you have served the same purpose by creating code snippets? On occaision I have needed to figure out why something works, but as is, your script offers fairly little in learning value.

Sorry, I'm probably coming off sounding really high and mighty, but... I do not believe that this is something that I'd consider truly mature code. Alot of stuff is hardcoded, making it difficult for the uninitiated to just jump in and change stuff. The instructions are also VERY sparse... You don't tell them how to use (include probably) the file...

I can understand that reading through it would be a learning experience, but...yah.