Sticky threads are nearly always contributed by regulars of a forum. So if you want a sticky, start a thread with whatever topic you want stickied, then make a moderator aware of it. :)
deceptikon
Challenge Accepted
3,438 posts since Jan 2012
Reputation Points: 822
Solved Threads: 473
Skill Endorsements: 56
Actually, I'm not regulars of PHP forum, and I also don't know the language.
If the thread focuses on language/library stuff then at least someone who might be seen as an expert would have to write it. For example, to write one of the stickies you mentioned (Flushing the input stream) the author would need expert level knowledge, as I'm sure most would agree Narue has.
If the thread focuses on best practice for posting, it would be best for a regular to write it because regulars are more likely to understand both the official rules and unwritten guidelines followed by the community.
I thought it would be nice to have sticky's in PHP to.
Stickies for sticky sake aren't a good idea as they'll clutter the forum. That's not to say that I disagree with some good ones in the PHP forum, but since they haven't been written yet I'm not convinced that the PHP forum folks are interested in having them. That forum is very active, after all.
deceptikon
Challenge Accepted
3,438 posts since Jan 2012
Reputation Points: 822
Solved Threads: 473
Skill Endorsements: 56
Hmz. Perhaps a post about using queries (MySQL, MySQLi, PDO) correctly is a good one to get back up there. I'll try to allot some time for one, unless anyone else feels inclined. The "is not a resource" questions still come up regularly.
pritaeas
Posting Prodigy
9,268 posts since Jul 2006
Reputation Points: 1,173
Solved Threads: 1,456
Skill Endorsements: 86
I think it would be a good idea especially if written by some of the more experienced coders.
I'd like to see a sticky on:
- All OOP questions and and example.
- Building a simple loging system, as this gets asked the most.
- Security when using PHP such as injection attacks, encrypting + salting your passwords.
- Example of using PDO.
- Beginning a framework and using MVC.
I think the phpdev stickies would be a good outline to follow?
Thanks.
iamthwee
Posting Genius
6,254 posts since Aug 2005
Reputation Points: 1,567
Solved Threads: 476
Skill Endorsements: 34
@deceptikon: Is there a way to find out if there were any stickies before the move to the new forum?
@iamthwee: Can you show an example (URL) of a phpdev sticky? I don't know what you are referring to.
pritaeas
Posting Prodigy
9,268 posts since Jul 2006
Reputation Points: 1,173
Solved Threads: 1,456
Skill Endorsements: 86
@deceptikon: Is there a way to find out if there were any stickies before the move to the new forum?
Yes indeed. It appears there was one sticky as of July 2011, which I've re-stickied.
deceptikon
Challenge Accepted
3,438 posts since Jan 2012
Reputation Points: 822
Solved Threads: 473
Skill Endorsements: 56
iamthwee
Posting Genius
6,254 posts since Aug 2005
Reputation Points: 1,567
Solved Threads: 476
Skill Endorsements: 34
Not a sticky, but made a basic code snippet on using the mysql extension. I intend to do the same for mysqli and pdo.
pritaeas
Posting Prodigy
9,268 posts since Jul 2006
Reputation Points: 1,173
Solved Threads: 1,456
Skill Endorsements: 86
@deceptikon
Stickies for sticky sake aren't a good idea as they'll clutter the forum. That's not to say that I disagree with some good ones in the PHP forum, but since they haven't been written yet I'm not convinced that the PHP forum folks are interested in having them. That forum is very active, after all.
I agree with you that PHP section is very active but I was very surprise too that there was no sticky.
I agree what @pritaeas said
Hmz. Perhaps a post about using queries (MySQL, MySQLi, PDO) correctly is a good one to get back up there. I'll try to allot some time for one, unless anyone else feels inclined. The "is not a resource" questions still come up regularly.
There are still people don't really know how to connect the DB correctly. Having a "sticky" explaining the error and how to resolve the error by example would really make things more efficient in PHP section.
I'm not that good in php and I'm still learning but having something like that would really help. PHP is evolving now more than in the past so I never learn PDO but having an example to follow and test would really help me learn it not quickly but slowly.
LastMitch
Industrious Poster
4,146 posts since Mar 2012
Reputation Points: 132
Solved Threads: 334
Skill Endorsements: 45
@pritaeas
Can you create code snippet regarding about PHP Frameworks? Just the basic or outline on how each Frameworks work?
Example:
Codeigniter
Zend Framework
Kohana
FuelPHP
Smarty
Yii
Symfony2
If you have time!
LastMitch
Industrious Poster
4,146 posts since Mar 2012
Reputation Points: 132
Solved Threads: 334
Skill Endorsements: 45
Interesting question. I use Smarty (templating system) but haven't touched Zend for over five years. Never used any of the others. So I'll leave the frameworks to the ones who actually use it ;) Unless persuaded/convinced/bribed.
On my list is a PDO example, and a "read this first" sticky (like the one in C++). I want to use the last one to link to the code snippets.
pritaeas
Posting Prodigy
9,268 posts since Jul 2006
Reputation Points: 1,173
Solved Threads: 1,456
Skill Endorsements: 86
I would also second a tutorial on Smarty. I think people have heard of frameworks but not necessarily templating systems. Smarty is something I've always wondered about.
Btw, thanks for the tut on using mysqli, great read.
iamthwee
Posting Genius
6,254 posts since Aug 2005
Reputation Points: 1,567
Solved Threads: 476
Skill Endorsements: 34
Thanks, glad you liked it. Am sure there are more options to be explored. I'll add Smarty to my list then, I also think it would be useful.
pritaeas
Posting Prodigy
9,268 posts since Jul 2006
Reputation Points: 1,173
Solved Threads: 1,456
Skill Endorsements: 86
Yep, more stickies in PHP.
I think PDO (possibly mysqli too) would be worthwhile, seeing as vanilla mysql seems to be legs up. With regard to Smarty and frameworks, they don't tend to come up very often in the forum itself, so how useful they would be I don't know. Perhaps having examples of use in code snippets / tutorials would be better?
Another common issue is installation, e.g. XAMPP and setting up localhost (don't laugh).
login scripts, cURL, arrays, date functions and loops... ad nauseum... - but again may be better in tuts.
diafol
Keep Smiling
10,642 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,508
Skill Endorsements: 57
@pritaeas
I'll add Smarty to my list then
Thanks ;)
LastMitch
Industrious Poster
4,146 posts since Mar 2012
Reputation Points: 132
Solved Threads: 334
Skill Endorsements: 45
@diafol
With regard to Smarty and frameworks, they don't tend to come up very often in the forum itself, so how useful they would be I don't know. Perhaps having examples of use in code snippets / tutorials would be better?
I agree.
Another common issue is installation, e.g. XAMPP and setting up localhost (don't laugh).
login scripts, cURL, arrays, date functions and loops... ad nauseum... - but again may be better in tuts.
I totally agree with you but it's gonna be hard to write that much code snippets or tutorial. The reason why is because everyone has a life outside of DaniWeb and it's hard to find time and write good code snippets for members to take advantage and learn from it. It's kinda like what pritaeas is doing:
http://www.daniweb.com/web-development/php/code/434415/using-phpmysql-with-error-checking
He's doing this on his own time. I have to give him a lot of credit for doing it.
LastMitch
Industrious Poster
4,146 posts since Mar 2012
Reputation Points: 132
Solved Threads: 334
Skill Endorsements: 45
Nobody said P had to do all this. I was just pointing out what I thought were the most common issues and that these were probably unsuitable for stickies.
diafol
Keep Smiling
10,642 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,508
Skill Endorsements: 57
Just added the "read me first" (copied from C++) and added links to the common snippets in it. I've closed it to prevent replies, mods can still add new information to it. This way there will only be the need for one sticky in the PHP forum. So if you add a useful code snippet or tutorial, update the sticky too please. (PDO will be next.)
pritaeas
Posting Prodigy
9,268 posts since Jul 2006
Reputation Points: 1,173
Solved Threads: 1,456
Skill Endorsements: 86