This entry is part 1 of 4 in the series Sylius for Magento and PHP Developers. Later posts include Symfony's Service Container, Symfony: Autowiring Services, and A Brief Look at Every Symfony Service Configuration. I recently took a few days to kick the tires of the Sylius Open Source eCommerce framework and came away impressed. [...]
astorm
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
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
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
In 1995, Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides — via their publisher Addison-Wesley — released a book titled Design Patterns. This book describes 23 different approaches for
astorm
On a "what they do level", interfaces are pretty simple. Consider the following PHP class
astorm
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
After spending a bit of time poking around a Magento 1 codebase (I still do that -- say hi if you need my help), I was reminded that Magento 2 is going to be some developer's first major experience with PHP namespaces. Beyond Magento
astorm
Laravel's error handling is one of its most noticeable developer facing features. Like many modern PHP frameworks, Laravel ships with its error reporting set to E_ALL, and strives for Notice free PHP code. Additionally, Laravel includes the Whoops framework, which creates readable stack traces
astorm
If you're a long time reader, you're probably aware of my article on Magento's many 404 pages. It's been one of the more useful articles I've written here — I own the Google results for the phrase "Which 404 page" in Magento land.
astorm
If you haven't heard, PHP Composer is a package management system for PHP. It's closest thing the PHP community has to something like Ruby Gems. The goal of package management systems is to make it super simple to add a new library and/or third
astorm
Last week's Bypassing a slow Composer Repository post shook a few interesting things from the internet underbrush.
astorm
This week I had a long standing to do item I was looking forward to tackling
astorm
Two weeks ago, a new online retail company announced itself to the world. Sellvana promises that
astorm
When I first saw PHP: The Right Way floating around my twitter feed, I was a little skeptical. I can't remember where I first saw the link, but my general memory is its promotion came from the camp of PHP developers who seem to
astorm
Quick definitions: PHP-FIG is the PHP Interoperability Group, a coalition of individuals representing many of the most popular PHP projects in the world.
astorm
It's a daily event across the PHP development world. Somewhere, someone is thinking, and possibly typing
astorm