Latest PECL Releases:
Connection Handling with the MongoDB PHP driver
Tuesday, December 4th 2012, 09:07 GMT
The 1.3 release series of the PHP MongoDB driver features a rewritten connection handling library. This is quite a large change and changes how the PHP driver deals with persistent connections and connection pooling.
Connections in the 1.2 series
The 1.2 release introduced connection pooling into the driver. This means that any time the driver needs to use a connection to run queries, it would request...
Mobile is a special, fun place to be a web developer. On one hand, pretty much all of the browsers are new and support cool things. On the other, processors, graphics, and network are all slow, and you should care about battery life. Additionally, input on even the best phones is still unpleasant and error-prone.
But, because the browsers are new, we can make things a lot better.ValidationSince you're doing server-side input validation anyway (right?), client-side validation is just to make the user...
The latest issue of php|architect includes an article of mine on Building a Hypermedia API in CouchDB. The article's description:
This article demonstrates how to create a hypermedia data API using CouchDB, a document database and application server that is accessed through an HTTP API. URIs identify CouchDB resources such as databases, documents, attachments, and configuration sections. HTTP methods define actions on these resources. Requests from CouchDB clients-and responses to CouchDB clients-are...
Phil Sturgeon has reposted an answer he gave in response to this Quroa entry about why people "think PHP sucks".There are a lot of reasons people "hate" PHP, or at least look down on it. Some of them are founded, some are not, and some of them are circumstantial.He mentions seven of the reasons people commonly give for not liking PHP:
"Inconsistent haystack / needle"
PHP is a HTML file, with logic
Lack of Quality Packages
Misconception (about the current PHP features)
You were doing it...
Chris Hartjes (aka "The Grumpy Programmer") has made a name for himself in the PHP community as a big proponent of testing of all sorts in web applications. He's taking things to the next level with his own "Grumpy Learning" grouping.As I also create more products I need a place for them all to live. I have books, and now a course I can teach and I am planning on producing screencasts for sale as well. With that in mind, I am happy to announce I have created Grumpy Learning, an umbrella site for all my...
On PHPMaster.com there's a new tutorial from Vito Tardia about using the Mozilla Persona authentication system in your PHP application - an abstracted authentication system that keeps only a token representing the user in your system.Mozilla Persona is built upon the BrowserID technology also developed by Mozilla. You can find an expanded explanation of the concepts in the article How BrowserID Works by Lloyd Hilaiel. [...] An email address is an identity and it's verified by the email provider [then...
if you've ever considered contributing to a PHP (or any other technology conference) but weren't sure about how to even get started writing up a proposal for a session, you should check out this recent post from Ben Ramsey with a good guide (and some advice experienced speakers could use too).Earlier today, I was asked "Any tips on how to write a proposal for a major conf?" I've never shared tips on this, and since the calls for proposals for Sunshine PHP and Midwest PHP both end tomorrow, I thought it...
Lars Strojny has written up a new post about the current state of metaprogramming (software that writes other software) and how it sits in today's PHP functionality including some current features to make it happen.Metaprogramming is quite an interesting sub-discipline and knowing about certain techniques and tools allows you to cut corners quite dramatically for certain tasks. As always, don't overdo but to find out when you are overdoing, first start doing, get excited, overdo, find out the right dose....
From the folks that have brought you the PHP Advent series of posts in the past (Chris Shiflett, Sean Coates and all of their great contributing authors) comes this year's more general selection of articles - webadvent.org.Christmas is upon us once again, and it's time to have a look at what's under the Web Advent tree. Join us each day as our wonderful authors provide presents of tips, tricks, & tidbits to usher in the new year.This years posts are (list will be updated as more are added)
The first time I saw a line of code was probably mid-2009. I had just graduated from university with a business degree, and it occurred to me that I should have a personal web site. At the time, I don't think I had a single friend who knew how to build web sites, but that didn't matter, because I moved to China in 2009, and a friend with html and CSS skills probably wouldn't have helped much, anyway. Like a lot of people do when they're first learning about how the Web works, I found my way around using...
Metaprogramming is the writing of computer programs that write or manipulate other programs (or themselves) as their data, or that do part of the work at compile time that would otherwise be done at runtime
Metaprogramming is quite an interesting sub-discipline and knowing about certain techniques and tools allows you to cut corners quite dramatically for certain tasks. As always, don't overdo but to find out when you are overdoing, first start doing, get excited, overdo, find out...
Recent releases from the Packagist:liip/rmt (0.9.2)
evert/sabredav (1.8.1, 1.7.3)
sabre/dav (1.8.1, 1.7.3)
Web development is a profession that has one of the lowest barriers to entry that I can think of. It requires a computer, an Internet connection, and time. While some may consider these prerequisites too high for many people on the planet less fortunate than us (and indeed, they would be right), programs such as OLPC are attempting to bridge this gap.
In addition to a low barrier to entry, a somewhat unfortunate side-effect of the current ecosystem is that many people (especially those new to web...
Recent releases from the Packagist:atukai/at-php-settings (1.0.0)
ocramius/ocra-cached-view-resolver (0.1.3, 0.1.2)
backend/base (0.1.1.1, 0.2.1, 0.2)
backend/core (0.5.2.1, 0.5.2)
Debugging is perhaps the skill that I find programmers have the hardest time exercising. It is also the most difficult to teach. Debugging, to me, is both a scientific discipline and an art. It often requires you to reach beyond analytical thinking to rely upon your own intuition in order to solve a problem.
Many devlopers use empirical approaches, systematically addressing each possible problem branch. If A, then B. If B, then C. If C, then D. This analytical approach works well and is easy to teach....
Earlier today, I was asked a€oAny tips on how to write a proposal for a major conf?a€¯ I've never shared tips on this, and since the calls for proposals for Sunshine PHP and Midwest PHP both end tomorrow, I thought it would be a good idea to share my approach to writing conference proposals.
If you're new to PHP (or just want to move up beyond the "beginner" level in your code) you should check out the PHPKnowHow.com site. It offers a complete (and growing) guide to some of the basics of using PHP "in plain English".PHPKnowHow is a web site about PHP. Our objective is to teach you PHP using simple explanations and digestible examples. If you are new to PHP, begin with Role of PHP in Web Applications. [...] his site is for sharpening your PHP skills. Whether you are an absolute beginner or...
As Paul Jones mentions in this new post to his site, the Aura Framework project has just released it's 1.0 stable version of all of its packages. The Aura project provides independent library packages for PHP 5.4+. These packages can be used alone, in concert with each other, or combined into a full-stack framework of their own.The Aura Project for PHP 5.4 is happy to announce its first release of 1.0.0 stable library packages. [...] In addition, we have initial beta releases of four new libarary...
Latest PHP Tweets