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

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/

php[architect] Podcast:
Episode 4: Modern Magento
Dec 07, 2017 @ 11:25:52

The php[architect] podcast, hosted by PHP community members Eric van Johnson and John Congdon, has posted their latest episode today: Episode 4 - Modern Magento.

In this episode, we dive into the November 2017 issue and how to use Magento as your ecommerce platform.

Topics covered include debugging, contributing to Magento, payment gateways and headless applications. Oscar Merida and Eric Mann also stop in to talk about development environments and PCI-DSS. You can listen to this latest episode either using the in-page audio player or by downloading the show directly for listening at your leisure. If you enjoy the episode, be sure to subscribe to their feed to get updates when new shows are released.

tagged: podcast phparchitect magento ep4 november2017 issue

Link: https://www.phparch.com/podcast/episode-4-modern-magento/

php[architect]:
December 2017 Issue Released - Talking Code
Dec 05, 2017 @ 11:56:35

The php[architect] magazine has released their latest issue for December 2017 - Talking Code. Articles in this latest issue include:

  • "Chatbots and PHP" by Katy Ereira
  • "Artificial Intelligence (AI) - The Future of Internet Services" by Kesha Williams
  • "Command and Query API Design in Magento 2" by Michiel Rook
  • "Learning Machine Learning, Part Three: Data Wrangling" by Edward Barnard

The usual columns are all returning including the Education Station, he Dev Lead Trenches and Security Corner. You can check out this issue and the rest of the articles on the issue's page on the php[archtect] website. If you'd like a sample of what's inside, be sure to check out this free article from (Eric Mann* covering one of the latest security-related features added in PHP 7.2: native libsodium support.

tagged: phparchitect magazine december2017 talkingcode issue release

Link: https://www.phparch.com/magazine/2017-2/december/

php[architect]:
November 2017 Issue Released - Modern Magento
Nov 07, 2017 @ 11:30:20

php[architect] magazine has released their latest issue - the November 2017 edition, "Modern Magento".

Articles in this month's issue include:

  • 11 Debugging Tricks in Magento by Sergii Kovalenko
  • Editing the Magento Core For Fun and Profit by Joshua Warren
  • Command and Query API Design in Magento 2 by Igor Miniailo
  • Headless and Serverless: Writing Modern PHP Applications by Eugene Tulika

All of the usual columns are returning too including the "Education Station", "Community Corner" and "Artisanal". This month's issue is completely free to give you an idea of what kind of content you can expect from the magazine. You can pick up a copy of your own (or subscribe for the year) over on the php[architect] site.

tagged: phparchitect magazine november2017 modern magento issue release

Link: https://www.phparch.com/magazine/2017-2/november/

Facile.it Engineering Blog:
Is it all PHP OPCache's fault?
Oct 05, 2017 @ 10:49:39

In a new post to the Facile.it Engineering Blog author Salvatore Cordiano wonders if it's all PHP OpCache's fault when it came to an issue they were seeing post-deploy.

Upon migrating to a new infrastructure we started experiencing cache issues after each deploy: as we refreshed pages that were updated by the new release, we didn’t see the right content for a very short period of time. Initially, we wrongly assumed that the cause of this issue was the PHP OPcache extension but, after our investigation, we understood that real path cache was the culprit.

He starts from the beginning (a good place to start) and gives some background on the application they were working with and what they were trying to correct. After they deployed the newly pushed version wouldn't show when the pages loaded for a little while. He covers the deployment process they use and the commands/scripts they use. They started wondering if it was somehow PHP's own Opcache functionality that was caching the pages and not releasing them right away. They made some updates to their deployment process to try to resolve this.

After some investigation, however, it was discovered that the realpath caching was at fault. It wasn't updating the cache to point to the newly released files. In order to correct the issue, they tinkered with the php.ini settings related to the cache to disable it when the code is pushed.

tagged: opcache realpath cache deployment issue tutorial

Link: https://engineering.facile.it/blog/eng/realpath-cache-is-it-all-php-opcache-s-fault/

php[architect]:
October 2017 Issue Released - Composing Software
Oct 04, 2017 @ 11:19:48

php[architect] magazine has an announcement on their site about the release of the latest edition of the publication, the October 2017 issue: Composing Software.

Articles in this month's edition include:

  • Managing Private Dependencies by Andrew Cassell.
  • Alain Schlesser writes about Uncommon Ab(Uses) of Composer.
  • Read about Building Software that Lasts by Susanne Moog.
  • Continue Building Software that Lasts by Edward Barnard.

The usual columns return as well - Education Station, Artisanal, The Dev Lead Trenches (and many more). You can pick up a copy of your own directly from the site, either opting to get the single issue or a year-long subscription. If you want to "try before you buy" and see what the content is like, you can check out this free article about managing private Composer dependencies.

tagged: phparchitect magazine october2017 composing software issue release

Link: https://www.phparch.com/magazine/2017-2/october/

php[architect] Podcast:
Episode 2: Embracing Change
Sep 27, 2017 @ 09:42:27

The folks behind php[architect] magazine have posted the second episode of their podcast - Episde #2: Embracing Change.

Welcome to the second episode of the php[podcast]. In this episode, we take a look at the September 2017 issue and the topic of managing changes both in your application and career.

Topics mentioned include using version control and testing as tools when projects change, an interview with Ben Ramsey about PHP TestFest and the keynotes at the upcoming php[world] conference. You can listen to this latest episode either using the in-page audio player or by downloading the mp3 of the show for listening at your leisure.

tagged: phparchitect podcast ep2 embracing change sept2017 issue benramsey oscarmerida

Link: https://www.phparch.com/podcast/episode-2-embracing-change/

php[architect]:
Community Corner: PHP TestFest Has Returned!
Sep 22, 2017 @ 13:31:08

On the php[architect] site they've posted an article from the September 2017 issue - the "Community Corner" from James Titcumb all about the return of PHP TestFest.

There is a new movement in the PHP community! Well, it isn’t exactly new, but an event called PHP TestFest is back. PHP TestFest is a global event organized by the PHP community at large, where an effort is made each time to increase the test coverage of the PHP engine itself. Around eight or nine years ago, user groups around the world coordinated to organize events spanning a few months each year, with some groups continuing events annually for several years after.

The article goes on to talk about some of the reasoning behind the TestFest and how you can help to set up an event for a local group to contribute. It then goes through the format of tests, creating new ones and how to execute them to test the result. You can find out more about PHP TestFest and how you can get involved on the main PHP TestFest site.

tagged: phptestfest phparchitect communitycorner article sept2017 issue

Link: https://www.phparch.com/2017/09/community-corner-php-testfest-has-returned/

php[architect]:
September 2017 Issue Release - Embracing Change
Sep 06, 2017 @ 13:18:34

php[architect] magazine has released their latest issue for September 2017: Embracing Change

Articles included in this issue include:

  • How I Git Along by Jason McCreary.
  • Karl Hughes shares True Tales of Building PHP Microservices.
  • Learn about Learning Machine Learning, Part One: Begin with What You Know by Edward Barnard.
  • How to evaluate a job offer in Jumping Ship: A Holistic Approach to Changing Jobs - Part Two by Andrew Koebbe.

...as well as many of the usual columns you know and love. You can check out the full list of articles on the php[architect] site and check out the free article for a sample of the issue's content.

tagged: phparchitect magazine september2017 embracing change issue release

Link: https://www.phparch.com/magazine/2017-2/september/

php[architect]:
August 2017 Issue Released - Who Goes There
Aug 09, 2017 @ 11:56:33

php[architect] magazine has released their latest issue with a focus on security, authentication and authorization for August 2017 - Who Goes There:

You’ve no doubt heard HTTP is stateless, meaning a web server doesn’t know anything from one request to the next for the same client. Beyond news and information sites, however, a web application typically will need to know who you are and what you can do with it to be useful. In this issue, we look at effectively handling authentication and authorization.

The issue also includes articles like:

Many of the usual columns are back this month including the Education Station, Security Corner and the Community corner. Head over to the php[architect] website for more information about this latest issue and to pick up a copy of your very own!

tagged: phparchitect magazine august2017 security whogoesthere issue release

Link: https://www.phparch.com/magazine/2017-2/august/