PHPNews

Refactoring the Cat API client - Part I

Some time ago I tweeted this: I didn't mention this yet, but I'm working on a series of videos about the subject matter of my Principles of Package Design book. — Matthias Noback (@matthiasnoback) May 14, 2015 It turned out, creating a video tutorial isn't working well for me. I really like writing, and …

Continue reading »

Written by Matthias Noback - - Aggregated on Tuesday July 14, 2015


Symfony 2.7.2 released

Symfony 2.7.2 has just been released. Here is a list of the most important changes: bug #15248 Added 'default' color (jaytaph) bug #15243 Reload the …

Written by Symfony blog - - Aggregated on Monday July 13, 2015


What’s new in PHPStorm 9

PHPStorm 9 has just been released a few days ago, and as a PHP developer you should definitly give it a try. This new release does not come with a dramatic game-changer feature, but with lots of deep under-the-core improvements. Let’s have a look: New features regarding PHP parameter refactoring / postfix refactoring …

Continue reading »

Written by Dev Metal - - Aggregated on Monday July 13, 2015


Experimenting with Broadway

Event sourcing with Broadway At the Dutch PHP Conference I attended a workshop by Beau Simensen and Willem-Jan Zijderveld . They showed us some examples of how to work with Broadway , a framework for event sourcing, with full Symfony integration, created by the smart people at Qandidate . During my two …

Continue reading »

Written by Matthias Noback - - Aggregated on Monday July 13, 2015


You Need To Do What You Need To Do

One of the topics in The Art of Asking that I think more developers should be aware of is that you need to do what you need to do to do your thing. This sounds vague, but it is true. In the book, Amanda Palmer uses several examples of how this works for artists, but I think it is equally true for developers …

Continue reading »

Written by Stefan Koopmanschap - - Aggregated on Wednesday July 8, 2015


You Need To Do What You Need To Do

One of the topics in The Art of Asking that I think more developers should be aware of is that you need to do what you need to do to do your thing. This sounds vague, but it is true. In the book, Amanda Palmer uses several examples of how this works for artists, but I think it is equally true for developers …

Continue reading »

Written by Stefan Koopmanschap - - Aggregated on Wednesday July 8, 2015


A Factory Should Create, Not Retain

In a recent Reddit conversation , some of us went off on a tangent about factories . I maintained then, and do now, that a “factory” always-and-only returns a new instance. If you have a “factory” that returns anything other than a new instance, it’s not a factory alone. In the case of factory methods, it is a …

Continue reading »

Written by Paul M. Jones - - Aggregated on Tuesday July 7, 2015


A Factory Should Create, Not Retain

In a recent Reddit conversation , some of us went off on a tangent about factories . I maintained then, and do now, that a “factory” always-and-only returns a new instance. If you have a “factory” that returns anything other than a new instance, it’s not a factory alone. In the case of factory methods, it is a …

Continue reading »

Written by Paul M. Jones - - Aggregated on Tuesday July 7, 2015


PHP 7 Benchmarks

If you know anything at all about PHP7, you probably know it's fast. But did you know how fast? The alpha is out and looks very robust, so I decided I would create a new set of benchmarks to include it. Graphs first, disclaimers later :) This graph shows the time it takes for each version of PHP to perform the …

Continue reading »

Written by Lorna Jane - - Aggregated on Monday July 6, 2015


PHP 7 Benchmarks

If you know anything at all about PHP7, you probably know it's fast. But did you know how fast? The alpha is out and looks very robust, so I decided I would create a new set of benchmarks to include it. Graphs first, disclaimers later :) This graph shows the time it takes for each version of PHP to perform the …

Continue reading »

Written by Lorna Jane - - Aggregated on Monday July 6, 2015


Introducing the SymfonyBundlePlugins package

Bundles, not extensible A (Symfony) bundle usually contains just some service definition files as well as some configuration options which allow the user of that bundle to configure its behavior (e.g. provide server credentials, etc.). Bundle maintainers usually end up combining lots of these options in one bundle, …

Continue reading »

Written by Matthias Noback - - Aggregated on Monday July 6, 2015


"Create your Own Framework" Series Update

Three years ago, I published a series of articles about how to create a framework on top of the Symfony components on this blog. Along the years, its contents have been updated to match the changes in Symfony itself but also in the PHP ecosystem (like the introduction of Composer). But those changes were made on a …

Continue reading »

Written by Fabien Potencier - - Aggregated on Sunday July 5, 2015