2014年7月27日星期日

Community News: Packagist Latest Releases for 07.27.2014

Recent releases from the Packagist:

2014年7月26日星期六

Community News: Packagist Latest Releases for 07.26.2014

Recent releases from the Packagist:

2014年7月25日星期五

Site News: Popular Posts for the Week of 07.25.2014

Popular posts from PHPDeveloper.org for the past week:

Community News: Packagist Latest Releases for 07.25.2014

Recent releases from the Packagist:

NetTuts.com: More Tips for Best Practices in WordPress Development


NetTuts.com has published a few more WordPress tips and best practices to help you get the most out of your WordPress-based application.



Welcome to the second part of the series. In the first article, we explained the WordPress Coding Standards, how to avoid namespaces collisions, comments in the code, and some basic security tips. Today, we are going to go a bit deeper and write some more code and learn some techniques to improve performance and security of our plugins.


They look specifically at when you should include your scripts and styles, formatting Ajax calls and working with filters and actions. Code snippets are included with each point with links to some other resources for some of the topics to provide more information.


Link: http://code.tutsplus.com/articles/more-tips-for-best-practices-in-wordpress-development--cms-21013

PHP.net: PHP 5.4.31 and 5.5.13 Released


The PHP development group has officially released the latest in the PHP 5.4.x and 5.5.x series today: PHP 5.4.31 and PHP 5.5.15



The PHP development team announces the immediate availability of PHP 5.4.31 [and PHP 5.5.13[. Over 10 bugs were fixed in this release. All PHP 5.4 users are encouraged to upgrade to this version.


Bugs fixed in these releases include updates to the core language, the built-in CLI server, the PostgreSQL extension and the streams interface. You can view the full list of changes (and related bugs) in the full Changelog. As always, you can download this latest release either from the main downloads page or from windows.php.net for the Windows users.


Link: http://php.net/archive/2014.php#id2014-07-24-2

SitePoint PHP Blog: 7 More Mistakes Commonly Made by PHP Developers


Following several other posts with the "common mistakes PHP developers make" theme, Bruno Skvorc has posted his own list of seven things he sees developers doing over and over.



Back at the end of June, TopTal, the freelance marketplace, published a post about 10 Most Common Mistakes PHP Programmers Make. The list wasn't exhaustive, but it was well written and pointed out some very interesting pitfalls one should be wary of - even if I wouldn't personally list the mistakes as very common. I encourage you to give it a thorough read - it has some truly valuable information you should be aware of - especially the first eight points.

His additions to the list of common mistakes includes:



  • Using the mysql extension
  • Not rewriting URLs
  • Assigning in Conditions
  • Being Too Transparent


You can read the full list and summaries of each in the rest of the post.


Link: http://www.sitepoint.com/7-mistakes-commonly-made-php-developers/