This last weekend Manchester (UK) was buzzing PHP all over the place, because PHPNW12was held in the city center! I arrived on Thursday, a day before the tutorial day and had an opportunity to talk to a bunch of early attendees and got to meet new faces in the community.For the past 4 years I've been attending this community driven conference, seeing it grow into a professional organized event run by professionals that know their stuff on both PHP and organizing a good gig. And I was really honored to be...
The latest issue of the Web & PHP Magazine has been published - Issue #7, "Full Throttle". Articles included in this issue are:
Introduction into scaling for Big Data: Cory Isaacson's new column
What can developers learn from the road? - By Arne Blankerts
How to be an open source rockstar in 7 easy steps - By Jen Kramer
PHP security for the real world - By Michael Stowe
Developing Web Applications in Haskell - By Patrick Brisbin
Speed up your applications using IIS & WinCache - By Arno Hollosi
Wan Qi Chen has started a new series that looks at using PHP port of the resque (a Ruby based tool) to do background processing for parts of his PHP applications - PHP-Resque. So far, there's three parts to the series (with one more on the way):
Part one introduces the idea behind working with a background queue, the general workflow a process would follow and some of the benefits/drawbacks of using them.
In part two he gets more into the actual queue system and discusses the concept of a "job".
In this recent post to the Web Mozarts site, Bernhard Schussek "gives Traversable some love" and introduces you to the Traversable interface and how it might work better for certain things than an Iterator.Let's start with a simple use case. Let's create an interface ArrayInterface that demarcates objects that behave like PHP arrays. The interface should allow for counting, iterating and array access.He shows how to create this interface based off of a "ArrayInterface" that implements "Countable",...
NetTuts.com has posted an interview they've done with Chris Hartjes (aka "The Grumpy Programmer") about his stance on testing in PHP applications and some of his background as a developer.Questions from Jeffery Way include:
You recently self-published "The Grumpy Programmer's Guide to Building Testable Applications." What made you want to write this specific title?
In your opinion, what is the single biggest advantage to testing your applications?
Testing applications is a bit odd, in that, overall, the...
Recent releases from the Composer:analytics/factset (v0.1.2)
Process MaxMind Countries, Regions and Cities Files
Painless OAuth with PHP
By Manuel Lemos
OAuth is a widely used protocol to access APIs of certain Web sites on behalf of users of those sites.
Despite OAuth is relatively easy to explain, it is not easy to implement it without dealing with the headaches of the multiple protocol settings, the different protocol versions, the details of specific site implementations, and the worst of all having to know more about the details of the protocol than you would like to care.
Read this article to learn how to...
Yes, there was beer - picture by Akrabat
This year I spent more time replying aoI don't know yeta to people who were asking if I was going to PHPNW12 then I did submitting to conferences. I think 75% of all the prominent members of the European Community told me at one point or another that i simply could not miss this conference. After stalling everyone for a while until I sorted out other problems i finally decided (yes, on the week before the conference) that I should go and got budget approval from...
Jacob Mather has written up a (somewhat lengthy) post about things for developers to consider when wanting to improve at their jobs.At Symfony Live San Francisco 2012, I gave a little talk. No, really. A little talk. Seven minutes. I'm not even sure I used all of it. That's not a lot of time, but I think I managed to at least provoke some thinking. At least I hope I did. Hmm. How do you act like you care about your work, as a developer?He has the post broken up into several different categories including...
I'm pleased to share that Red Hat and Zend today announced a partnership and the immediate availability of Zend Server for Red Hat OpenShift. With this partnership Red Hat and Zend are joining forces to support professional PHP Cloud developers. A developer can now spin up a gear of Zend Server on the OpenShift platform as a service and instantly get access to a full ready to go enterprise class development environment. Even better, we've integrated this PHP platform as a service offering with Zend...
On the Symfony blog, there's an announcement from Fabien Potencier about the framework's new release process (details here).To make a long story short, Symfony now manages its releases through a time-based model. If you want to learn more about the Symfony release process, or about the first Symfony Long Term Support release, or about the release date for next version of Symfony, please take a minute to read the new process. You are also going to learn when we will start working on Symfony 3!The full...
PHPMaster.com has a new tutorial posted sharing a few helpful hints about speeding up CakePHP-driven sites to help squeeze the most performance out of your site.By applying a few simple modifications, and even some more complex enhancements, CakePHP can be sped up quite a bit. By the time you work your way through even half of these changes, the performance of your your CakePHP site will be comparable to many other popular PHP frameworks, with the advantage that your development speed will never...
Ben Ramsey, an organizer of the PHP Community Conference, has written up some of his thoughts about the recent rise of "community conferences" that's been happing in the PHP community (and other communities around the world).The PHP world is exploding with community conferences. In fact, web development technologies in general are seeing a wide range of community-driven conferences springing up around the world. I think there are many reasons for the proliferation of these conferences, and in this post,...
Following the release of the phpspec SpecBDD tool, Evert Pot has posted this new article talking about SUSes ("Subject Under Specification") and how they relate to the functionality phpspec offers.First of all, phpspec2 is not a testing framework. It's a SpecBDD tool. It means, testing is not our primary aim. Tool's job is to enforce and make SpecBDD in project flawless and phpspec2 uses all available methods to do that - state of the artformatters, class and method generators and lot of othe fancy...
Latest PECL Releases:
Tuesday, October 9th 2012, 09:43 BST
In the past 10 years I have given plenty of presentations. Since I started, I've always used the same presentation format. Because I am getting more and more questions about this, here is some information on what I use.
The presentation tool that I use is called "pres2". Or rather, it is simply the name derived from its oroginal directory name. It is an evolution of Rasmus' original "pres" tool that he used to give PHP related presentations...
In my previous article I wrote about how to build dynamic sidebars using widgets. We used also custom taxonomies to create some filter criteria for single posts or pages. This article is about how to use custom post types to build an FAQ or testimonial section. What are custom post types? The custom post type [...]
Sebastian Göttschkes has a new post to his site showing you how to test secure pages within your Symfony2 applications using a simple "requestWithAuth" method.If you develop a web application, more often than not you have some kind of user section or admin panel where some kind of login identifies the user and protects your actions against usage from unauthorized people. It can be difficult to do functional tests with this kind of pages as you need to simulate some session or cookie context. In this...