PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu May 25, 2017 3:04 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 

Good idea?
Yes 97%  97%  [ 71 ]
No 3%  3%  [ 2 ]
Total votes : 73
Author Message
 Post subject: Code Snippets Info
PostPosted: Mon Oct 20, 2003 10:43 am 
Offline
Site Admin

Joined: Thu Apr 18, 2002 3:14 pm
Posts: 1767
Location: Montreal, CA
Basically, I think this forum is pretty self explanatory. Its for quick and simple snippets that people can copy and paste. Not really for complete classes or function libraries. http://www.phpclasses.org and http://www.evilwalrus.com are better suited for that.

This forum is also NOT for getting help with code. This is for completed and workable snippets of code often used.

The primary reason for adding was for something where I could store often used regular expressions, SQL databases, etc. Even better, other people can easily search through the forums for these code snippets, and also improve on them, and post a reply. So I think it will be useful.

On a side note: Do you guys think I am really pushing phpBB to be useful for more than just your average forum posts? Tutorials section, now a code snippet section? But considering that a forum is essentially (at the core) a "post and reply" setup, most anything can be use for it.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2003 2:38 am 
Offline
Her Royal Site Adminness
User avatar

Joined: Tue Apr 23, 2002 2:21 am
Posts: 5371
Location: Essex, UK
This is cool. All too often good code snippets are quickly lost in the PHP - Normal Forum.

Mac


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2003 6:50 am 
Offline
Site Admin

Joined: Thu Apr 18, 2002 3:14 pm
Posts: 1767
Location: Montreal, CA
Hehe, yeah, like I said, the reason I did this was mostly because I got tired of looking for good regular expressions. I can right my own...but still. I mean, just think about something like the postal costs regex. What better way to get a list of postal code regex's then to post yours, and then ask the rest of the world to do it as well.

Phone numbers would be good to have, too.


Top
 Profile  
 
 Post subject: Great
PostPosted: Tue Oct 19, 2004 7:25 am 
Offline
Forum Newbie

Joined: Tue Oct 19, 2004 7:11 am
Posts: 5
Location: Sweden
I just deveoped CodeLibrary module for our CMS Enterprise

http://www.vision.to/new_cms/CodeLib_MOD/index.php

Lot's of features ...
regards
http://www.vision.to


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 19, 2004 7:45 am 
Offline
DevNet Resident
User avatar

Joined: Wed Oct 09, 2002 6:51 pm
Posts: 1206
Location: Keele, U.K.
I think it would be a good idea. I have just started my own little repository of code snippets, usually regex's because I can't stand to write my own.

I also think that many of the additions to the site since I joined have been quite helpful, if a little underused, ie tutorials.

now if there was only a way to kind of group things together fer easy reference.


Top
 Profile  
 
 Post subject: Re: Code Snippets Info
PostPosted: Thu Dec 04, 2008 9:42 am 
Offline
Forum Regular
User avatar

Joined: Mon Aug 29, 2005 6:26 am
Posts: 509
Location: Pearls City
You mods are awesome.. making this forum great place for PHP developers


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group