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 01.30.2015
January 30, 2015 @ 08:08:07

Recent releases from the Packagist:


Three Devs & A Maybe Podcast:
Episode #56 The SOLID Podcast
January 29, 2015 @ 12:20:03

In the latest show from the Three Devs & A Maybe podcast hosts Michael Budd, Fraser Hart, Lewis Cains and Edd Mann talk about a wide range of topics with a focus on the SOLID development principles.

This week we have a three developer podcast with discussion on a host of topics. We kick off with how Fraser has enjoyed building his first bonus slot game, written entirely in JavaScript and HTML5. Preprocessors are a huge part of the JavaScript ecosystem at this time, with so many to choose from we discuss a couple of the more popular ones. This leads on to Photoshop discussion, ReactJS, the cool features present in ES6 and how you can use them today with transpilers. Following this we move on to the SOLID principles, the overuse of inheritance, technical debt and the concept of Over-DRY vs. Software Value. This then takes us on to a strange 'rubber duck' example Edd conjured up to help try and explain the Liskov substitution and Interface segregation principles. Finally, we discuss Edd's media server setup and how he has got it to a staged that he is finally happy with it.

Other topics include things like:

You can listen to the latest show either through the in-page audio player or by downloading the mp3 of the episode. Also, be sure to subscribe to their feed of you enjoy the show!

0 comments voice your opinion now!
threedevsandamaybe podcast ep56 solid development principles

Link: http://threedevsandamaybe.com/the-solid-podcast/

Community News:
Announcing the Pacific Northwest PHP Conference (Seattle, WA)
January 29, 2015 @ 11:53:08

The Seattle PHP User Group has decided to follow along with the example set by many other PHP user groups in the past several years. They have officially announced the Pacific Northwest PHP Conference and a Kickstarter campaign to help raise the funding to help make it a reality.

The Seattle PHP User Group (SeaPHP) has been around for over 10 years. We love PHP, and we want to build up our local PHP community even further by hosting a PHP developer conference here in Seattle-the technology hub of the Pacific Northwest and cloud computing capital of the world. We invite PHP developers everywhere, and of all skill levels, to come learn, network, and hack together with us in the Emerald City at the first Pacific Northwest PHP Conference (PNWPHP).

The goal of the campaign is to raise some of the initial funding needed to generate more interest for the event, presell tickets and even attract sponsors. The conference itself is planned for September 11th and 12th of 2015 there in Seattle, Washington at the Impact Hub coworking space. If you'd like more information about the conference and updates as they come along, be sure to subscribe to their mailing list and consider helping the PHP conference community grow and contribute today!

0 comments voice your opinion now!
kickstarter campaign pacific northwest conference pnwphp15 contribute

Link: https://www.kickstarter.com/projects/seattlephp/pacific-northwest-php-conference-pnwphp

Voices of the ElePHPant:
Interview with Jacob Mather
January 29, 2015 @ 10:41:29

The Voices of the ElePHPant podcast has posted their latest episode in their interviews with members of the PHP community. In this latest show host Cal Evans talks with Jacob Mather, a co-organizer of the San Francisco PHP Meetup group.

They talk some about Jacob's more recent migration into the world of devops and what he enjoys about it. He talks about the work he does to make sure the developers don't have to worry as much about the environment. They also talk about his involvement in the SF.PHP user group and some of the exciting things they're doing.

You can listen to this latest episode either through the in-page audio player or by downloading the mp3 directly. If you enjoy the interview, be sure to subscribe to their feed.

0 comments voice your opinion now!
voicesoftheelephpant community interview jacobmather sfphp usergroup

Link: http://voicesoftheelephpant.com/2015/01/28/interview-with-jacob-mather/

Matthew Weier O'Phinney:
PSR-7 By Example
January 29, 2015 @ 09:13:20

As a part of his involvement in the PHP-FIG standards group, Matthew Weier O'Phinney has been contributing to the PSR-7 proposal. This proposal defines a standardized structure for HTTP message handling. In his latest post he gets into a bit more detail on what this means for the PHP developer and how it might be implemented.

PSR-7 is shaping up nicely. I pushed some updates earlier this week, and we tagged 0.6.0 of the http-message package last week for implementors and potential users to start coding against. I'm still hearing some grumbles both of "simplify!" and "not far enough!" so I'm writing this posts to demonstrate usage of the currently published interfaces, and to illustrate both the ease of use and the completeness and robustness they offer.

He starts with a base definition of what the proposal, well, proposes around HTTP messaging, both the incoming and outgoing. He describes the basic structure of an HTTP message and what each part represents. He talks about message headers, bodies and how the current library could return that content. He then looks at requests vs responses, server-side requests and some various uses cases and more practical examples:

  • HTTP Clients
  • Middleware
  • Frameworks

With the PSR-7 standard in place, all of these different tools could have interchangeable interfaces for HTTP request/responses, easily swappable with any other implementation.

0 comments voice your opinion now!
psr7 http message request response summary tool framework middleware client

Link: https://mwop.net/blog/2015-01-26-psr-7-by-example.html

Community News:
Packagist Latest Releases for 01.29.2015
January 29, 2015 @ 08:00:57

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




SitePoint PHP Blog:
Basic TDD in Your New PHP Package
January 28, 2015 @ 12:27:17

The SitePoint PHP blog continues their "How to Build Your Own PHP Package" series with their latest post (part two of the series) covering the use of test-driven development while working on the package code.

In part 1, we set up our development environment, baked in some rules as inherited from The League, and created two sample but useless classes - Diffbot and DiffbotException. In this part, we'll get started with Test Driven Development.

He starts by briefly introducing PHPUnit, a PHP-based unit testing tool, and how to use it to generate the HTML version of the code coverage report. He helps you define a good phpunit.xml configuration file and how to execute a first sample test (code provided) from inside PHPStorm. From there he adds one some more complex testing of exception handling and checking the class types. With this foundation, he moves into the test-driven development (TDD) practices. TDD means writing the tests before writing the code to make those tests pass. He gives an example of this and shows how test abstract classes too. He then comes back around and writes the code to satisfy the test.

0 comments voice your opinion now!
tdd package bestpractice unittest testdriven development tutorial

Link: http://www.sitepoint.com/basic-tdd-new-php-package/

Matt Stauffer:
Laravel 5.0 - Generating Missing Events
January 28, 2015 @ 11:53:39

In the next part of his series introducing the upcoming version of the Laravel framework Matt Stauffer has posted part 16, about generating missing events.

Sometimes it can seem like a lot of work to create an event, create its handler, and bind the two. Create a command, create its handler, bind the two. I've often wished for a workflow that handled the whole process together in one. The artisan commands for generating commands and events are a good start--they both create their own entity and (optionally) its handler. But you still can spend an hour writing the command and handler, and then waste another 15 minutes trying to figure out why it's not working, only to realize you never actually bound the two together.

The solution to this in Laravel 5 is the "event:generate" handling with the artisan command line tool. He includes a look at the event handlers directories and files before executing the command and what changes post-execution, including the sample code generated for the event.

0 comments voice your opinion now!
generate missing event tutorial part16 series laravel5

Link: http://mattstauffer.co/blog/laravel-5.0-generating-missing-events


Community Events





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


list interview release conference api podcast series community configure version language opinion voicesoftheelephpant introduction symfony laravel threedevsandamaybe unittest framework composer

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