News Feed
Sections




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

Ben Ramsey:
Learning a New Codebase
September 18, 2014 @ 09:38:51

In a new post to his site Ben Ramsey shares a few suggestions around things to ask and do to learn a new codebase (whether that means in a new job or coming into a new open source project).

A few days ago, my friend Ed Finkler started a new job. Earlier this week, he posted on Twitter: "First days humble us all." Having begun a new job myself, I shared Ed's sentiment. Last weekend, while at the Madison PHP Conference, we were discussing what developers can do during the interview process to get an idea of the kind of codebase a company has.

He includes a few questions for developers to ask, either during the interview or once hired, about the codebase itself including:

  • what coding standards the company follows
  • how much of the code is covered by tests
  • have the company's deployment process described

He also recommends learning the codebase by diving in and either writing tests for untested areas or work through bug reports and fix (then test) them.

0 comments voice your opinion now!
learn new codebase tips questions bugfix unittest

Link: http://benramsey.com/blog/2014/09/learning-a-new-codebase/

Community News:
Packagist Latest Releases for 09.18.2014
September 18, 2014 @ 08:09:33

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




Symfony Blog:
Thelia, a Symfony-based e-commerce solution
September 17, 2014 @ 11:16:48

On the Symfony blog today they've posted an interview with Manuel Raynaud, the lead developer on the Thelia project. Thelia is a Symfony-based e-commerce solution that is free to download and use (and can easily be installed via Composer).

An interview with Manuel Raynaud, lead developer of Thelia, a Symfony-based e-commerce solution. Introducing the new Thelia 2 and how it's in perfect harmony with Symfony.

The interview starts with a brief introduction of Manuel and a quick overview of what the Thelia project is about and the current state of things. They get into some of the story behind Thelia and what parts of Symfony (components) it uses behind the scenes. They finish out the interview talking about some of the advantages the project offers and challenges they've faced along the way. There's also a bit about how Thelia is involved in the Symfony events and community.

0 comments voice your opinion now!
interview community symfony thelia ecommerce manuelraynaud

Link: http://symfony.com/blog/thelia-a-symfony-based-e-commerce-solution

Matthew Weier O'Phinney:
Deployment with Zend Server (Part 7 of 8)
September 17, 2014 @ 10:44:13

Matthew Weier O'Phinney has posted his next-to-last article in his "Deployment with Zend Server" series, part seven of eight concerning the "zs-client" tool.

This is the seventh in a series of eight posts detailing tips on deploying to Zend Server. The previous post in the series detailed setting up and clearing page caching. Today, I'm sharing how to use the Zend Server SDK to deploy your Zend Server deployment packages (ZPKs) from the command line.

Zs-client is a handy tool that lets you interact directly with the Zend Server API is a more programatic way without having to worry about the request signing process. He walks you through a sample use of the tool and shows how to add a target application and use the tool to get its current status. He also includes a basic command that lets you run an automatic update on the application.

0 comments voice your opinion now!
zsclient deployment zendserver series part7 api

Link: https://mwop.net/blog/2014-09-16-zend-server-deployment-part-7.html

Three Devs & A Maybe Podcast:
YARP (Yet Another Ramble Podcast)
September 17, 2014 @ 09:01:09

The Three Devs & A Maybe podcast has posted their latest episode today, another "ramblecast" of the hosts Michael Budd, Fraser Hart, Lewis Cains and Edd Mann talking about a wide range of topics. This is episode #43.

Being without a guest this episode, gave us the excuse to ramble on about many different topics that have been on our minds for the past couple of weeks.

Topics included in the ramble are things like:

  • WebSockets
  • the Gulp workflow
  • Active Record vs Data Mapper
  • Test Driven Development
  • the recent Apple keynote

You can listen to this latest episode either through their in page audio player or you can download the mp3 for listening at your leisure. If you enjoy the episode, be sure to subscribe to their feed to get this and other great episodes as they're released.

0 comments voice your opinion now!
threedevsandamaybe podcast ep42 ramble topics

Link: http://threedevsandamaybe.com/yarp-yet-another-ramble-podcast/

Community News:
Packagist Latest Releases for 09.17.2014
September 17, 2014 @ 08:08:23

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



Community News:
Recent posts from PHP Quickfix
September 17, 2014 @ 07:04:00

Recent posts from the PHP Quickfix site:
0 comments voice your opinion now!



Evert Pot:
Accessing protected properties from objects that share the same ancestry.
September 16, 2014 @ 11:19:23

In his latest post Evert Pot shows an interesting side effect of working with two objects from the same class: accessing protected properties from one instance to the other.

I realized something odd about accessing protected properties the other day. It's possible in PHP to access protected properties from other objects, as long as they are from the same class. [...] I always thought that protected strictly allows objects to access things from the current inheritence tree, but didn't realize that this also extends to other instances of the same object.

He includes a bit of sample code showing two object instances each being able to access the protected "val" property from the other. He also shows an example of how it works in two different objects, both that derive from a common ancestor. He shares a few other code examples showing this relationship and points out a few places where it could come in handy.

0 comments voice your opinion now!
protected property object ancestor access

Link: http://evertpot.com/properted-properties-from-shared-ancestry/

SitePoint PHP Blog:
Create a Movie Recommendation App with Prediction.io - Implementation
September 16, 2014 @ 10:54:16

The SitePoint PHP blog continues their series about creating a movie prediction engine with Prediction.io in this second part focusing on implementation. In the first part of the series they set up the server and configuration to make the jump into the code. This second part gets more into the application side and features working code linking the prediction engine with the TheMovieDB API.

He jumps right into the code, showing how to:

  • Fetch the data from the TMDB (via Flight and Guzzle)
  • Populate the data back into the Prediction.io database
  • Picking a random movie from the list (and outputting it to a page)
  • Get movies the engine predicts as recommendations

The recommendations are based on ratings on other movies in the database with most of that logic happening behind the scenes instead of in the PHP script. The results are then output to the page along with the other movie data.

0 comments voice your opinion now!
movie recommendation predictionio server tutorial api implementation

Link: http://www.sitepoint.com/create-movie-recommendation-app-prediction-io-implementation/


Community Events





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


release threedevsandamaybe list development series bugfix developer introduction zendserver tips api language code framework deployment interview laravel community symfony podcast

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