News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Community News:
Packagist Latest Releases for 07.26.2014
July 26, 2014 @ 08:00:42

Recent releases from the Packagist:
0 comments voice your opinion now!



Inviqa techPortal:
"Your code sucks" - Tips on giving feedback
July 25, 2014 @ 12:15:21

If you're a part of a development team anywhere, chances are at one point or another you've asked for someone else to take a look at your code and give their opinions. Maybe it was you looking over a coworker's latest addition and it was...somewhat lacking. How can you say it in a constructive and nice way? The Inviqa techPortal has some suggestions.

Feedback on performance matters. It not only maintains quality, refines and hones performance, but it can also improve morale and trust, and build relationships. It can stop minor problems from escalating into major capability issues. It's something that every people manager or team leader should be doing as standard, and yet it's so hard to get right. For some people, giving good feedback is easy. [...] Delivering negative feedback can be a tricky process so how do you give negative feedback, or (as the much hackneyed phrase would have it) "constructive" feedback?

The post includes a list of six things to think about as you provide feedback to other developers (and even as a manager to your employees). The list suggests things like making it timely, listening to their side of things and setting a plan for resolving the issue.

0 comments voice your opinion now!
feedback tips code positive negative

Link: http://techportal.inviqa.com/2014/07/23/your-code-sucks-tips-on-giving-feedback-2/

SitePoint PHP Blog:
7 More Mistakes Commonly Made by PHP Developers
July 25, 2014 @ 11:29:28

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.

0 comments voice your opinion now!
common mistakes list more

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

PHP.net:
PHP 5.4.31 and 5.5.13 Released
July 25, 2014 @ 10:07:02

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.

0 comments voice your opinion now!
language release bugfix update

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

NetTuts.com:
More Tips for Best Practices in WordPress Development
July 25, 2014 @ 09:18:09

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.

0 comments voice your opinion now!
wordpress bestpractices development ajax scripts styles filters actions

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

Community News:
Packagist Latest Releases for 07.25.2014
July 25, 2014 @ 08:06:45

Recent releases from the Packagist:
0 comments voice your opinion now!




SitePoint PHP Blog:
Best Practices REST API from Scratch - Implementation
July 24, 2014 @ 13:11:22

PHPMaster.com has posted the second part of their best practices in REST APIs series with this new post focusing more on the implementation part of things.

We ended the first part of this tutorial with all the basic layers of our API in place. We have our server setup, authentication system, JSON input/output, error management and a couple of dummy routes. But, most importantly, we wrote the README file that defines resources and actions. Now it's time to deal with these resources.

They move on and add more functionality for creating (POST) and updating (PUT/PATCH) contacts in the system. They also show how to list contacts and add in some search handling allowing for sorting and returning only certain data. There's also some code for pagination handling, locating a single contact record, basic caching and simple rate limiting.

0 comments voice your opinion now!
rest bestpractices api tutorial implementation contacts

Link: http://www.sitepoint.com/best-practices-rest-api-scratch-implementation/

/Dev/Hell Podcast:
Episode 48 Old as Dirt
July 24, 2014 @ 12:55:53

The /Dev/Hell podcast has released their latest episode today, number 48: Old As Dirt. In this episode hosts Chris Hartjes and Ed Finkler are joined by guest Elizabeth Smith about being "old as dirt" and mentoring other developers.

Our guest this week is Elizabeth Smith, PHP internals veteran and guru of PHP on Windows (she says "I wish every company was as good at giving back to open source as Microsoft"). We talk about being Old as Dirt in relation to a blog post Ed made last week, how to mentor up and coming developers, and the history of PHP on Windows.

They also talk about Ed's The Developer's Dystopian Future article, PHP-GTK and the PHPMentoring project. You can listen to this latest episode either through the in-page player or by downloading the mp3 directly.

0 comments voice your opinion now!
devhell podcast ep48 old mentor elizabethsmith windows

Link: http://devhell.info/post/2014-07-11/old-as-dirt/

NetTuts.com:
Refactoring Legacy Code Part 9 - Analyzing Concerns
July 24, 2014 @ 11:27:56

The NetTuts.com site has posted part nine in their series sharing helpful hints and methods for refactoring legacy code. In this new post they continue on with their example application and look at where methods should be moved to/created and mocking in their tests.

In this tutorial, we will continue to focus on our business logic. We will evaluate if RunnerFunctions.php belongs to a class and if so, to which class? We will think about concerns and where methods belong. Finally, we will learn a little bit more about the concept of mocking.

They show how to move some of the "Runner" functions from procedural to OOP, integrating them with some of the classes and methods that already exist. Tests are also included showing how it all links together. From there they get into concerns about the placement of functionality and how that relates to the work at hand. They also use Mockery to mock out some of the needed objects in their tests for the new structure.

0 comments voice your opinion now!
refactor legacy code series part6 concerns functionality mock unittest

Link: http://code.tutsplus.com/tutorials/refactoring-legacy-code-part-9-analyzing-concerns--cms-21760


Community Events





Don't see your event here?
Let us know!


configure install developer language threedevsandamaybe framework series interview opinion podcast unittest release community testing code symfony2 introduction laravel refactor list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework