Categories


Recent Posts


Archives


Category: Modern PHP

Below you'll find all the Modern PHP articles on the site, followed by a chronological listing of the same. You may also browse the 6 series directly via the following links. Modern PHP, PHP Error Handling, Sylius for Magento and PHP Developers, Magento 2 and Composer, Async PHP, and, Shopware's Development Environment.

Modern PHP

  1. Bypassing a Slow Composer Repository
  2. Slow Composer Followup
  3. Getting Started with PHP Composer and Magento
  4. PHP: The Right Way; A Review
  5. PSR and Code Style Guidelines
  6. Sellvana: Developer's Alpha Review
  7. PHP Primer: Type Hints
  8. PHP Primer: Namespaces
  9. PHP Primer: Interfaces
  10. Design Patterns, PHP, and Magento
  11. PHP-FPM and File Permissions
  12. Why did the Elephant join the Guild?

PHP Error Handling

  1. A Survey of PHP Error Handling
  2. Magento's Mini Error Framework
  3. Laravel's Custom Error Handler

Sylius for Magento and PHP Developers

  1. Five First Impressions of the Sylius eCommerce System
  2. Symfony's Service Container
  3. Symfony: Autowiring Services
  4. A Brief Look at Every Symfony Service Configuration
  5. Symfony Routes and Stand Alone Controllers
  6. Symfony Routing Configuration Keys
  7. Basic and Advanced Sylius Routing

Magento 2 and Composer

  1. Magento 2: Composer, Marketplace, and Satis
  2. Magento 2: Composer Plugins
  3. Magento 2: Composer and Components
  4. Magento, Composer, and Autoload Patterns

Async PHP

  1. Async PHP: Symfony's HttpClient 4.3

Shopware's Development Environment

  1. Composer Path Repositories
  2. Shopware's psh.phar Command Line Tool
  3. Shopware: Code that's theirs, Code that's yours
  4. Composer vs. History
  5. Wrap Up on "Shopware's Development Environment"

On WordPress’s Posts Loop

I need a quick “non-quickies” post to unjam a page generation issue with this website so why not use it as an excuse to talk about how I create this website? I have a WordPress install that runs locally on my computer. Once a day I use a command line script to generate a full static site from this system and then rsync those [...]

astorm

Async PHP: Symfony’s HttpClient 4.3

This entry is part 1 of 1 in the series Async PHP. This is the first post in the series. One luxury afforded to the average PHP programmer is never having to worry about threads or asynchronous programming. Unlike other dynamic languages of its era (ruby, python, etc.), PHP has no built-in concept of a thread. PHP also came along early [...]

astorm

Generics Programming for Beginners

Coming up through the dynamic languages and having my “typed” language be C, I mostly missed out on the whole “generics” thing. Cue the late 2010s and generics are a thing in TypeScript and every so often there’s a push to get generics into PHP. A few years back I figured it was time to learn what was going [...]

astorm

Magento, Composer, and Autoload Patterns

This entry is part 4 of 4 in the series Magento 2 and Composer. Earlier posts include Magento 2: Composer, Marketplace, and Satis, Magento 2: Composer Plugins, and Magento 2: Composer and Components. This is the most recent post in the series. A few weeks ago I set out to put Magento composer package support into pestle, and then I got [...]

astorm

PHP Generators From Scratch

Generators landed back in PHP 5.5 and I’ve mostly ignored them. I had a vague understanding that they were a feature that allowed you to build iterators that didn’t require loading up a huge data structure with all your information. This also seemed to be the gist of most online generator tutorials. So, in the practical world [...]

astorm

Why did the Elephant join the Guild?

This entry is part 12 of 12 in the series Modern PHP. Earlier posts include Bypassing a Slow Composer Repository, Slow Composer Followup, Getting Started with PHP Composer and Magento, PHP: The Right Way; A Review, PSR and Code Style Guidelines, Sellvana: Developer's Alpha Review, PHP Primer: Type Hints, PHP Primer: Namespaces, PHP [...]

astorm

PHP-FPM and File Permissions

This entry is part 11 of 12 in the series Modern PHP. Earlier posts include Bypassing a Slow Composer Repository, Slow Composer Followup, Getting Started with PHP Composer and Magento, PHP: The Right Way; A Review, PSR and Code Style Guidelines, Sellvana: Developer's Alpha Review, PHP Primer: Type Hints, PHP Primer: Namespaces, PHP [...]

astorm

PHP Primer: Type Hints

Today we're going to give you a quick overview of PHP type hints. While the debate over how strongly PHP should be typed rages on, many PHP frameworks have started using type hints as metadata for implementing features like dependency injection. Whatever you think

astorm
email hidden; JavaScript is required