PHPNews

For your consideration

Written by CSI: PHP - Published on CSI: PHP
Aggregated on Friday February 3, 2012 - Permalink

This was sent along anonymously, along with the question: “Does this count as horror code or pure evil genius code?” What say you, dear reader? I cut and paste, you decide. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 <?php function cli_parsestr($string, $config, $mainconf, $options, $custom = array()) { if (empty($string)) { return ''; } …

Continue reading »


Chunked Transfer-Encoding in PHP with Guzzle

Written by - Published on
Aggregated on Friday January 27, 2012 - Permalink

The problem with Content-Length HTTP/1.0 requires a client to specify a Content-Length header before sending a request to a server. This means that requests can not be sent with a dynamically created entity body until the entire length of the entity body is known. A lot of HTTP clients that support HTTP/1.1 still require that the data sent over the wire is sent through a string or includes a …

Continue reading »


Create your own framework... on top of the Symfony2 Components (part 12)

Written by Fabien Potencier - Published on Fabien Potencier's blog
Aggregated on Wednesday January 25, 2012 - Permalink

This article is part of a series of articles that explains how to create a framework with the Symfony Components. It is OBSOLETE but an up-to-date version can be found in the Symfony documentation . In the last installment of this series, we have emptied the Simplex\\Framework class by extending the HttpKernel class from Symfony. Seeing this empty class, you might be tempted to move …

Continue reading »


What's new in Guzzle 2.1

Written by - Published on
Aggregated on Tuesday January 24, 2012 - Permalink

There were some major improvements added to Guzzle in the last week. Guzzle is now more flexible, easy to use, and more powerful than ever. Here’s a list of the major features introduced in the 2.x series: Guzzle now uses the Symfony2 EventDispatcher component Guzzle now uses the Symfony2 Validator component Persistent connections are now shared between single requests and …

Continue reading »


Create your own framework... on top of the Symfony2 Components (part 11)

Written by Fabien Potencier - Published on Fabien Potencier's blog
Aggregated on Monday January 23, 2012 - Permalink

This article is part of a series of articles that explains how to create a framework with the Symfony Components. It is OBSOLETE but an up-to-date version can be found in the Symfony documentation . If you were to use our framework right now, you would probably have to add support for custom error messages. Right now, we have 404 and 500 error support but the responses are hardcoded in the …

Continue reading »


Create your own framework... on top of the Symfony2 Components (part 10)

Written by Fabien Potencier - Published on Fabien Potencier's blog
Aggregated on Saturday January 21, 2012 - Permalink

This article is part of a series of articles that explains how to create a framework with the Symfony Components. It is OBSOLETE but an up-to-date version can be found in the Symfony documentation . In the conclusion of the second part of this series, I've talked about one great benefit of using the Symfony2 components: the interoperability between all frameworks and applications using …

Continue reading »


Create your own framework... on top of the Symfony2 Components (part 9)

Written by Fabien Potencier - Published on Fabien Potencier's blog
Aggregated on Thursday January 19, 2012 - Permalink

This article is part of a series of articles that explains how to create a framework with the Symfony Components. It is OBSOLETE but an up-to-date version can be found in the Symfony documentation . Our framework is still missing a major characteristic of any good framework: extensibility . Being extensible means that the developer should be able to easily hook into the framework life …

Continue reading »


Zendcon, ACL talk, conferences and other stuff

Written by Wim Godden's professional blog - Published on Wim Godden's professional blog
Aggregated on Tuesday October 25, 2011 - Permalink

ACL talk (Zend Webinar) Remember I promised to post the code of my ACL Webinar somewhere in August ? That didn’t really happen, partly because of a lack of time, partly because after my initial hard drive crash (which made me lose my slides and code), I had another crash in August and then my … Continue reading Zendcon, ACL talk, conferences and other stuff →

Continue reading »


How Diaspora Connects Users

Written by Sarah Mei - Published on Sarah Mei
Aggregated on Saturday September 17, 2011 - Permalink

Note: this is the first in a series of technical posts about Diaspora’s software architecture and code, and is a slightly modified version of the original on the Diaspora blog . If you have topics you’d like to see covered in future installments, please let me know. A single installation of the Diaspora software is called a pod . The Diaspora distributed network is made up of hundreds of …

Continue reading »


Talks done and talks to come

Written by Wim Godden's professional blog - Published on Wim Godden's professional blog
Aggregated on Monday June 27, 2011 - Permalink

I haven’t really been updating my blog lately because of time constraints. I do have a few interesting topics to write about, although some of those have already been converted to talks I want to give at conferences over the next few months (if I get accepted ofcourse). About those talks : I gave a … Continue reading Talks done and talks to come →

Continue reading »