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

Voices of the ElePHPant:
It’s the Booze Talking #6 – APIs Part 2
Feb 18, 2014 @ 18:09:13

The Voices of the ElePHPant podcast has posted the second part of their latest "It's the Booze Talking" series. This episode is part two of the APIs session recorded at this year's Sunshine PHP Conference.

Guests for this episode were Keith Casey, Paul Jones, Larry Garfield, Matthew Weier O'Phinney, Phil Sturgeon, Zack Kitzmiller, Luke Stokes and, of course, host Cal Evans. Topics mentioned include books by some of the guests about APIs and legacy applications, PHP The Right Way and many others.

You can listen to this latest episode either through the in-page player or by downloading the mp3 directly. If you'd like to check out the first part of the series, head over to this post.

tagged: voicesoftheelephpant boozetalking api part2 series sunshinephp14

Link: http://voicesoftheelephpant.com/2014/02/11/its-the-booze-talking-6-apis-part-2

Adam Culp:
PHPUnit, Composer, PHPStorm, Oh my!
Sep 03, 2013 @ 17:08:37

In working with the OpenCFP project for the Call for Papers for the Sunshine PHP conference, Adam Culp wanted to integrate it all with his IDE of choice, PHPStorm. He wanted to be able to run the tests from within the IDE and includes the steps of how he did it.

For my CFP I wanted a few more fields of information than the "out of the box" setup, so I quickly added them to the app. However, doing this meant the included unit tests would fail. But wait, I hadn't run the unit tests yet! I realized immediately how spoiled I had become with today's modern frameworks with a testing method built in. This little project did not have that luxury, so I would need to run the tests the old fashioned way, or let an IDE do it for me.

He opted for the latest PHPUnit that the OpenCFP project required (and was installed via Composer) and put the executable path into his project's settings. Then all he needed to do was add a run configuration for the PHPUnit runner and telling it where the actual tests lived.

tagged: opencfp sunshinephp14 phpunit composer phpstorm ide setup unittest

Link: http://www.geekyboy.com/archives/753


Trending Topics: