 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Ibuildings Blog: Oh Be Careful Little Eyes What You See
by Chris Cornutt September 14, 2009 @ 08:06:22
On the Ibuildings blog Cal Evans has written up a post urging everyone (not just developers and not just those in the PHP community, really) to be careful about what you spread around as good content and quality tutorials to the masses.
The web has made it easy for anyone to become an instant pundit, regardless of their background. The tools exist so that anyone can quickly and easily publish anything and call it a fact. [...] We as a community must do two things to help not only ourselves but also to improve the quality of the on-line help available.
He suggests two things we, as a community, can do to help with this problem - point out the technical articles that are, to put it nicely, just plain wrong and be sure to only pass along quality advice. The helpful hints and tutorials are only as good as the ones that are shared. Be sure they're one of "The Good Ones" to keep the quality of the community alive.
voice your opinion now!
quality article tutoril opinion
PHPFreaks.com: Simple SQL Search
by Chris Cornutt May 08, 2009 @ 09:30:06
In a new article on PHPFreaks.com Brad Jacobs takes a look at creating a simple search of the information in your database. Their example will search a table containing article information (title, story content, etc).
The aim of this tutorial is to provide users with a basic layout and the logic behind creating a multiple field search in MySQL. As often time users tend to over do the search and add a lot of unnecessary code. By following and understanding this tutorial you should be able to implement this search into your own site and provide a nice and simple SQL Search of your own database. So roll up your sleeves and be prepared to get dirty.
Everything's provided for you - the SQL to build and fill the tables and the code to perform the search. They opted to go with LIKE statements in the where clause instead of using something like full-text searching. The former works for a lot of situations, but can get slower and slower the more rows there are in the table.
voice your opinion now!
simple tutorial sql search mysql fulltext article content title
Smashing Magazine: 10 Advanced PHP Tips Revisited
by Chris Cornutt March 24, 2009 @ 13:01:37
Smashing Magazine has posted a new article from Chris Shiflett and Sean Coates with their rebuttal to the site's previous 10 Advanced Tips article.
In November 2008 we published the article 10 Advanced PHP Tips To Improve Your Programming. Apparently, according to negative comments to the post, it contained some errors and some statements that are just wrong. [...] To solve the problem, we asked Chris Shiflett and Sean Coates, two PHP gurus, to take a closer look at the article, explain its errors and make it perfectly clear what is actually right and wrong in the theory and practice. This article is a professional response to our article published a couple of months ago.
Here's the more accurate descriptions of those tips - what's good and what's bad - as presented by Chris and Sean:
- Use an SQL Injection Cheat Sheet
- Know the Difference Between Comparison Operators
- Shortcut the else
- Drop Those Brackets
- Favor str_replace() Over ereg_replace() and preg_replace()
- Use Ternary Operators
- Memcached
- Use a Framework
- Use the Suppression Operator Correctly
- Use isset() Instead of strlen()
voice your opinion now!
advanced tips revisit helpful article
|
Community Events
Don't see your event here? Let us know!
|