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

php[architect] Podcast:
Episode #9 - Testing in Practice
Apr 23, 2018 @ 12:52:48

The php[architect] podcast has released their latest episode (Episode #9) covering the contents of the magazine's April 2018 issue: Testing in Practice. In this episode hosts Eric van Johnson and John Congdon are joined by guests Robert Basic and Oscar Merida.

Our hosts, Eric van Johnson and John Congdon dive into Testing in Practice and the April 2018 issue of php[architect] magazine.

[In the episode] Eric and John discuss unit testing, test suites, static analysis, authentication with Laravel and more. Oscar talks about the importance of training for employees, rants against image carousels, and requirements gathering. [There's also] an interview with Robert Basic, one of the contributors to Mockery.

You can listen to this latest episode either through the in-page audio player or by downloading the mp3 directly. If you enjoy the show, be sure to subscribe to their feed to get notified when new shows are released.

tagged: phparchitect podcast ep9 testinginpractice april2018 magazine

Link: https://www.phparch.com/podcast/episode-9-testing-in-practice/

php[architect]:
April 2018 Issue Release - Testing In Practice
Apr 04, 2018 @ 12:55:59

php[architect] magazine has published its latest issue (April 2018): Testing in Practice. This month's edition includes articles such as:

  • PHPUnit Worst Practices by Victor Bolshov
  • Easier Mocking with Mockery by Robert Basic
  • Testing Strategy With the Help of Static Analysis by Ondrej Mirtes
  • Evolved PHP by Chris Pitt

The usual columns have also returned covering adding auth to a Laravel application, creating a training program at work, isolation in production and serverless systems. If you're curious to see what the content is like, they've also provided a free article to give you a taste: Testing Strategy With the Help of Static Analysis

You can find out more about this issue (or pick up a copy of your own) over on the php[architect] website.

tagged: phparchitect april2018 issue release

Link: https://www.phparch.com/2018/04/testing-in-practice-april-2018/

php[architect] Podcast:
Episode 8 - Long Running PHP
Mar 28, 2018 @ 11:51:16

The php[architect] podcast, hosted by Eric van Johnson and John Congdon, has posted their latest episode reviewing the latest issue of the magazine - the March 2018 edition - and featuring guests Chris Pitt and Oscar Merida.

Our hosts, Eric van Johnson and John Congdon look at Long Running PHP the March 2018 issue of php[architect] magazine.

Eric and John go over the March features about writing daemons with PHP, Linux containers beyond Docker, accessibility, code reviews, and more. Oscar shares his experience recently upgrading a PHP 5 application to PHP 7. An interview with Chris Pitt, about the community in South Africa and his article on Evolving PHP.

You can listen to this latest episode either using the in-page audio player or by downloading the mp3 directly. If you enjoy the show, be sure to subscribe to their feed and get updates when new episodes are released.

tagged: phparchitect podcast ep8 longrunningphp march2018

Link: https://www.phparch.com/podcast/episode-8-long-running-php/

php[architect]:
The Dev Lead Trenches: Reviewing Code
Mar 26, 2018 @ 11:24:58

On the php[architect] site they've shared an article from their latest edition of the magazine (the March 2018 issue) about reviewing code from the "Dev Lead Trenches" column (by Chris Tankersley).

Code reviews are one of the best ways to help a team ensure they’re writing the best code possible. In all of the jobs where we have done peer-lead code reviews, we have caught more bugs and had better discussions about code than in places or times where we just hammer code through the approval process. I know, I know; we all write beautiful, bug-free code, so why go through the hassle of a code review?

He starts with the idea of relating code reviews back to test-driven development. In TDD the architecture and quality thinking comes up front and with code reviews that same kind of thinking happens with the second (or third) set of eyes as the code progresses. He then lists out a few helpful tools for code reviews including GitHub/GitHub Enterprise's own pull request system and similar features in Gitlab. He ends the post with some suggestions for successful code reviews including "don't punish", "ask questions" and "have clear intentions" (avoid vague questions).

tagged: phparchitect march2018 article codreview development lead

Link: https://www.phparch.com/2018/03/the-dev-lead-trenches-reviewing-code/

php[architect]:
March 2018 Issue Released - Long Running PHP
Mar 02, 2018 @ 13:16:54

php[architect] magazine has announced the publication of their latest issue, the March 2018 edition: Long Running PHP.

Some of the articles featured in this issue include:

  • "PHP Daemons and Long-Running Processes" by Tim Lytle
  • "Evolving PHP" by Chris Pitt
  • "Containers Are a Pile of Lies! Part Two" by Larry Garfield
  • "Hands on With Accessibility" by Derek Binkley

Other topics mentions in the usual columns cover the Lumen framework, code reviews, signed Git commits, running a user group and the use of Twitter for PHP development. You can check out the full list of articles in this latest issue and get a copy of your own on the php[architect] site. If you're interested in the content of the issue, be sure to check out this month's free article.

tagged: phparchitect magazine march2018 longrunningphp issue release

Link: https://www.phparch.com/magazine/2018-2/march/

php[architect] Podcast Episode 7:
Know Your Tools
Feb 28, 2018 @ 09:50:02

The php[architect] podcast, hosted by Eric van Johnson and John Congdon, has posted their latest episode today: Episode #7 - Know Your Tools.

Eric and John dive into the Know Your Tools issue for the month of February 2018.

Topics mentioned in this episode include the contents of the February article, mentions of Drupal, Symfony and Scout as well as a mention of the upcoming php[tek] conference. They also interview Ed Barnard, the author of the magazine's "Education Station" column. You can listen to this latest episode either through the in-page audio player or by downloading the mp3 directly. If you enjoy the show be sure to subscribe to their feed and follow them on Twitter to get updates when new shows are released.

tagged: phparchitect podcast ep7 know tools feb2018 phptek18 edwardbarnard

Link: https://www.phparch.com/podcast/episode-7-know-your-tools/

php[architect]:
Education Station: Shifting and Masking with a Side of Crypto
Feb 23, 2018 @ 11:34:45

The php[architect] site has posted an article published in their February 2018 issue by Edward Barnard as a part of his "Education Station" column. The article covers bit shifting and how it relates to cryptography in PHP.

The basics can be tricky. This month we take a careful walk-through of a few lines of cryptographic code in PHP. This leads us through the difference between ones’ complement and two’s complement representation. We achieve weirdness by combining logical AND with integer addition.

He starts with a bit of a history lesson going back to mainframes and keypunching followed by a look at the logical and bitwise operators. He then takes some of these basics and applies them to the world of cryptography and provides some example code and a constant-time encoding algorithm. This leads to a discussion about ones' compliment, signed zero, two's compliment and "packing".

tagged: shifting masking phparchitect educationstation cryptography

Link: https://www.phparch.com/2018/02/education-station-shifting-and-masking-with-a-side-of-crypto/

php[architect] Podcast Episode 6:
Setting Up to Succeed
Jan 25, 2018 @ 10:07:55

The php[architect] podcast has release their latest episode - Episode #6: Setting Up to Succeed with hosts Eric van Johnson and John Congdon.

A look at the Setting Up to Succeed issue for the month of January 2018 issue featuring articles to start the new year right.

Topics mentioned in this episode include articles from the January issue, comments from Oscar Merida about what 2018 has in store for PHP and an interview with Joe Ferguson about his monthly "Artisan" column. You can listen to this latest episode either using the in-page audio player or by downloading the mp3 of the show. Be sure to subscribe to the podcast feed as well if you enjoyed the show and get updates when new episodes are released.

tagged: phparchitect podcast ep5 settinguptosucceed joeferguson oscarmerida

Link: https://www.phparch.com/podcast/episode-6-setting-up-to-succeed/

php[architect]:
Security Corner: PHP, meet Libsodium
Jan 22, 2018 @ 11:02:33

On the php[architect] site they've posted an article that appeared in their December 2017 issue, an article that introduces Libsodium (by Eric Mann), a new addition to PHP's "security toolbelt" for encryption.

By the time you read this, the PHP community should have introduced the world to the newest version of our favorite language. This latest version adds better support for type annotations, allows trailing commas in lists (just like JavaScript and other dynamic languages) and introduced several security improvements. The most notable security addition, however, is the introduction of the Sodium cryptographic library as a core extension.

In the article he covers the basics of the Sodium library (that libsodium is built on top of) and what makes it different from other encryption methods. He also talks about what's been done to support it on pre-PHP 7.2 versions including the sodium_compat polyfill library and the PECL extension for PHP 7.0+. Example code is included showing how to use this new functionality via native functions once support for it has been compiled in.

tagged: phparchitect magazine securitycorner introduction libsodium encryption

Link: https://www.phparch.com/2017/12/security-corner-php-meet-libsodium/

php[architect]:
January 2018 Issue Released - Setting up to Succeed
Jan 08, 2018 @ 11:27:15

php[architect] magazine has posted about the release of their first issue for 2018 - "Setting Up to Succeed" for January.

Setting Up to Succeed includes articles on:
  • Background Processing & Concurrency With PHP by Matthew Schwartz
  • Securing Your Site in Development and Beyond by Michael Akopov
  • Don’t Wait; Generate! by Ian Littman
  • PHP Sessions in Depth by Jeremy Dorn

    Joe Ferguson’s looks at Laravel’s Collection class in Artisanal: Using Data Collections. If you’re looking to hire this year, read The Dev Lead Trenches: Finding Someone New by Chris Tankersley. In Education Station, Edward Barnard takes over and looks at What is a Real Programmer? James Titcumb says Thank You, OSS Maintainers in Community Corner. Eric Mann explains why logging is an OWASP Top Ten 2017 ASR in Security Corner: Updates to the OWASP Top Ten—Logging. To start 2018, Eli shares his New Year’s Resolutions in finally{}.

As with all previous issues, if you'd like to "try before you buy" they've offered a free sample article, the tutorial from Jeremy Dorn covering PHP sessions in depth. You can pick up a copy of this issue for your own on the php[architect] site or subscribe for a full year of PHP goodness with either a digital or print subscription.

tagged: phparchitect magazine january2018 success issue release

Link: https://www.phparch.com/magazine/2018-2/january/