Jump to content

Recommended Posts

I think it would be interesting and useful to many to make a do and don't section or pinned post for most sections.

 

Editable by admins and mods to keep organized

 

Like the phpfreaks bible of coding, best practices.

 

A lot of members post some valuable information that gets lost old posts or too hard to search for.

Everyone repeating themselves on bad practices or deprecated code, turning on error reporting and such.

  • Like 1
Link to comment
https://forums.phpfreaks.com/topic/293509-i-suggest-making-a-do-and-dont-section/
Share on other sites

I'm surprised it hasn't been thought of and carried out already. So many people (mods, etc.) repeatedly post the same warnings and suggestions and samples. Items posted in such a place could be easily ref'ed via a title or something instead of re-typing them.

Items posted in such a place could be easily ref'ed via a title or something 

 

 

there actually is a PHP FAQ/Code snippet repository - http://forums.phpfreaks.com/forum/32-faqcode-snippet-repository/

 

to the best of my knowledge, posts in it (edit: and in the current pinned faq topic in the php help forum) have only been linked to about a dozen times since i have been a member, the reason being is because a threaded forum is not a good way of organizing information. it would require being able to organize the information by category, alphabetically by title within each category, with a table of contents/navigation (edit: that doesn't require you to manually make links to the topics.)

 

edit: and because the languages and clients/devices used on the web have evolved over time, you must also keep such information up to date. i just browsed through some of the existing information in that forum section, and some of it's out of date and in some cases was never good programming practices.

Edited by mac_gyver
more info

there actually is a PHP FAQ/Code snippet repository - http://forums.phpfreaks.com/forum/32-faqcode-snippet-repository/

 

to the best of my knowledge, posts in it (edit: and in the current pinned faq topic in the php help forum) have only been linked to about a dozen times since i have been a member, the reason being is because a threaded forum is not a good way of organizing information. it would require being able to organize the information by category, alphabetically by title within each category, with a table of contents/navigation (edit: that doesn't require you to manually make links to the topics.)

 

edit: and because the languages and clients/devices used on the web have evolved over time, you must also keep such information up to date. i just browsed through some of the existing information in that forum section, and some of it's out of date and in some cases was never good programming practices.

Sorry about above. My browser is giving me problems with this site lately - as reported yesterday.

 

I meant to quote a portion of the above and add a silly comment:

 

I hope you cleaned out the out-of-date info from your browse of the FAQ you mentioned. :)

 

Have a happy everyone.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.