The Voices of the ElePHPant podcast has posted its latest interview with a member of the PHP community.This time it's Moses Ngone of the Atlanta PHP User Group.Cal's "three questions" for Moses involve his involvement in the community and experience in the language:
Tells us about you, what you do and how you got started in PHP
Talk to us about the Atlanta PHP group and the wider area web group (from a member perspective)
How do you see the market for PHP developers in the southeast U.S.?
You can listen...
On PHPMaster.com today there's a new tutorial showing you how to use Swift Mailer, a popular (and well-established) mailing tool.Sending emails programmatically is a common task that programmers must deal with often. Although you can use PHP's native functions, they can be too low-level, especially when you want to attach one or more files to your message. If you don't want to use the native functions, or if you want to send mail using an object-oriented approach, then this is the article for you. I'll...
Continuing on with his look at the newly released version of the MongoDB driver for PHP Derick Rethans has posted more detail about the advanced connection handling options this new driver version provides.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.He starts with an example of a v1.2 driver connection, how the connection is requested...
In another of his series looking "under the covers" at what actually happens in the PHP language during its use, Sharif Ramadan has posted this look at the object handling in PHP's OOP functionality.I would love to take a good long look under the hood at just how PHP objects and classes do the work that they do, and hope that you could benefit from that knowledge. [There are] many questions that come across my desk, on a regular basis, from developers and beginner PHP enthusiasts that I've worked with...
Recent releases from the Packagist:eloquent/typhoon (0.5.2, 0.5.1, 5.0.1)
srtfisher/codeigniter-features (0.5, 0.3)
webignition/web-page-model (0.4.1.1, 0.4.1, 0.4.2)
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...