PHPNews

Cursors and the Aggregation Framework

Cursors and the Aggregation Framework London, UK Wednesday, April 9th 2014, 09:29 BST With MongoDB 2.6 released, the PHP driver for MongoDB has also seen many updates to support the features in the new MongoDB release. In this series of articles, I will illustrate some of those. …

Continue reading »

Written by Derick Rethans - - Aggregated on Wednesday April 9, 2014


What Your Conference Proposal Is Missing

As a developer, doing talks at tech conferences is great for lots of reasons: boosting your career, promoting your company, and getting more excitement into other parts of your life. As an introvert, though, the best perk as far as I’m concerned is the stream of people who come up and talk to me. No more awkward …

Continue reading »

Written by Sarah Mei - - Aggregated on Monday April 7, 2014


Desktop Wallpaper: Llyn Cwm Llwch

Last weekend was our warm-up day for the 3 Peaks Challenge. We walked up to the summit of Pen-y-fan and back twice in just over 5 hours. I was expecting my knee to be a major doubt for the walk, but it turned out that I’m so unfit that the knee was the least of my worries I did take the camera with me for the …

Continue reading »

Written by Stuart Herbert - Blog - - Aggregated on Friday April 4, 2014


What's new on Vagrant 1.5

Vagrant 1.5 was released in March, bringing great new features and a lot of improvements. This post gives you a quick overview on what's new. Vagrant Cloud and Vagrant Share The first and most important new feature on Vagrant 1.5 is the Vagrant Cloud . Now, we have a central and official place to share and discover …

Continue reading »

Written by Erika Heidi - - Aggregated on Monday March 31, 2014


Guzzle 4.0

Guzzle 4.0 has arrived! The new version of Guzzle is now simpler, faster, more flexible, and more powerful than ever. You can install Guzzle 4 using Composer: { "require": { "guzzlehttp/guzzle": "4.*" } } View the documentation at http://guzzlephp.org View the source and contribut…

Continue reading »

Written by unknown - - Aggregated on Saturday March 29, 2014


Desktop Wallpaper: Passing By

Directly opposite the bright lobby display in the gym are the circular walls of the Museum of London, and attached to those walls is are a couple of multi-segmented art deco lizards. You can’t see them from the skywalk entrances to the museum above – you have to come down to street level to be able to enjoy them. …

Continue reading »

Written by Stuart Herbert - Blog - - Aggregated on Wednesday March 26, 2014


Desktop Wallpaper: Smithfield Market

Last week, I was in London for this year’s Scale Summit, and afterwards I went for a wander through the City of London to try my hand at some night photography. I’d been in the City exactly a month earlier, speaking at the PHP UK Conference, and had spotted all of these interesting sights – but hadn’t had my camera …

Continue reading »

Written by Stuart Herbert - Blog - - Aggregated on Monday March 24, 2014


Domain Events on Creation

When not enjoying my funemployment , I’ve been talking to a lot of folks lately about domain events. One of the questions that’s come up multiple times is how to properly raise events when creating something. Say, a batch of noodles. I’m a simple man, so I reckon this is fine: class Noodles { use EventGene…

Continue reading »

Written by Ross Tuck - - Aggregated on Thursday March 20, 2014


Load balancing Node.js

This month I started the second professional Node.js contract of my career - building a multinational news website. I love Node.js and I consider myself lucky to be working on huge websites that use it as a technology. Node.js, however, is still considered a “new” technology, and is an emerging technology to use in …

Continue reading »

Written by Keith Cirkel - - Aggregated on Thursday March 20, 2014


Dynamic form modification in Symfony2

Sometimes (or actually, a lot of the time), handling forms will go beyond the basics. And even though symfony2 gives you out-of-the-box a really clean way of creating forms, it sometimes just isn’t enough. Fortunately, you are not alone in writing forms, and many posts exists with information on how to handle …

Continue reading »

Written by Joshua Thijssen - - Aggregated on Wednesday March 19, 2014


Favor Hash Lookups Over Array Searches

A common programming requirement is to match a string against a set of known strings. For example, let’s say you were iterating over the words in a forum post and testing to see if a word is in a list of prohibited words. A common approach to this problem is to create an array of the known prohibited words and then …

Continue reading »

Written by unknown - - Aggregated on Monday March 17, 2014


Favor Hash Lookups Over Array Searches

A common programming requirement is to match a string against a set of known strings. For example, let’s say you were iterating over the words in a forum post and testing to see if a word is in a list of prohibited words. A common approach to this problem is to create an array of the known prohibited words and then …

Continue reading »

Written by unknown - - Aggregated on Monday March 17, 2014


Some thoughts on pair-programming styles

Over the past 10 years of practicing extreme programming, I've done a lot of pairing; I've worked in traditional pairing styles, and I've written code with people in less-traditional places. I've worked with folks who have been pairing much longer than I have, and other who had never written code like this before. …

Continue reading »

Written by Corey Haines - - Aggregated on Sunday March 16, 2014