Jeff Moore makes a very nice post here about Richard's passing. He is survived by his wife and daughter, among others. Please consider donating to their assistance fund.
I was first acquainted with Cyberlot by email and blog posts, and met him in person more than once at various conferences. He was always kind and [...]
Yesterday saw the release of the two latest versions of PHP in both the 5.2.x and 5.3.x series - 5.2.15 and 5.3.4. Here's a bit from each release announcement.For 5.2.15:The PHP development team would like to announce the immediate availability of PHP 5.2.15. This release marks the end of support for PHP 5.2. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3. This release focuses on improving the security and stability of the PHP 5.2.x branch with a small number, of predominately security...
I've received some sad news. A Three weeks ago, A colleague ofA mine, Richard Thomas, passed away of a heart attack. A Those in the PHP community may have known him by his cyberlot handle or by his phpjack web site.
I worked with Richard for a year and a half. A Richard liked solving problems and was always quick to offer solutions when help was needed. A He was an enthusiastic programmer with good attitude. He was well liked.
Richard enjoyed attending PHP conferences. A Richard was active on the Solar...
Brian Swan has a new post to his blog about how you can change the database settings in your SQL Server database (with a connection using the PDO_SQLSRV driver) through a SQL query.The short story is this: If you are using the PDO_SQLSRV driver and you want to execute a query that changes a database setting (e.g. SET NOCOUNT ON), use the PDO::query method with the PDO::SQLSRV_ATTR_DIRECT_QUERY attribute. If you use PDO::query without that attribute, the database setting you expected to change may not be...
Lorna Mitchell has a new post to her blog today talking about static methods and how to use them correctly in your code (as discovered accidentally in her own code).I was confused recently to realise that I had accidentally called a static method in PHP dynamically from another part of my code; I expected PHP to output warnings when this is done. On closer inspection I discovered that: static functions can be called dynamically and dynamic functions generate an E_STRICT error if called statically.She...
Popular posts from PHPDeveloper.org for the past week:CodeIgniter.com: CodeIgniter in 2011: Reactor, Core, & UserVoice
Richard Smaizys' Blog: Improve your code style with simple tips
Joshua Thijssen's Blog: Top-5 certifications for every PHP programmer
PHP North West: PHPNW10: Harrie Verveer: Database version control without pain
Label Media Blog: Test Driven Development with PHPUnit
Phil Sturgeon's Blog: EllisLab react with CodeIgniter Reactor
LearnComputer.com: PHP Interview Questions and Tips
Since we moved our mails and calendars to Google Apps a few weeks ago, we're also starting to use the Google Groups feature more. It's great that we can use it for our internal mailinglists and everyone can set new ones up easily.
But those private Google Groups have one big disadvantage, they don't provide an RSS feed like the public ones (eg. for webtuesday-announce). Actually they are provided, so if you go to something like https://groups.google.com/a/example.org/group/somelist/feeds, you see all...
I was confused recently to realise that I had accidentally called a static method in PHP dynamically from another part of my code; I expected PHP to output warnings when this is done. On closer inspection I discovered that:Static functions can be called dynamicallyDynamic functions generate an E_STRICT error if called statically
This made a lot more sense when I thought about it a bit more and wrote some toy code:class MyClassA A A A A A A A A A A A A A A A A A A A A A A A A A ...
PHP Manager 1.1 for IIS 7 has been released today. This is an incremental release that contains all the functionality available in PHP Manager 1.0 for IIS 7 plus additional features listed below:
Improved detection logic for existing PHP installations. Now PHP Manager detects the location to php.ini file in accordance to the PHP specifications.
Configuring date.timezone. PHP Manager can automatically set the date.timezone directive which is required to be set starting from PHP 5.3.
Ability to add new...
A year ago today, I started at Facebook. I've been using PHP for the last twelve
years, and before I got there, I thought I had seen most PHP-related problems.
I had deployed software on all manners of systems, but since I've worked at
Facebook, my appreciation for how important PHP is has changed.
Earlier this year, another implementation of the PHP runtime emerged.
This is nothing really new, as over the last few years, there had been several
I just released OCI8 1.4.5 on PECL. It is the same code base included in PHP 5.3.4. It can be used to upgrade OCI8 on older PHP releases. OCI8 1.4.5 has one change since OCI8 1.4.4 made as part...
The PHP development team is proud to announce the immediate release of PHP
5.3.4. This is a maintenance release in the 5.3 series, which includes a
large number of bug fixes.
Security Enhancements and Fixes in PHP 5.3.4:
Fixed crash in zip extract method (possible CWE-170).
Paths with NULL in them (foo\0bar.txt) are now considered as invalid (CVE-2006-7243).
Fixed a possible double free in imap extension (Identified by Mateusz
Fixed NULL pointer dereference...
Court Ewing has written up a post looking at an alternative to a commonly used bad design pattern - the global registry dependency - a method that uses a singleton to control access to a class-wide instance of an object.This gives you flexibility when configuring and setting your adapter, and it allows you to instantiate a new service without having to explicitly set commonly used dependencies, but you are ultimately just replacing one hardcoded object call with another. This means you are still limited...
On PHPBuilder.com there's a new tutorial from Jason Gilmore about how to create a PHP-based witter client with the help of the Services_Twitter package from the PEAR repository.Entirely reinventing the wheel seems foolhardy, and so I wanted to base the project on a solid foundation, including a quality PHP-based Twitter library. That library turned out to be PEAR's Services_Twitter package. In this article I'll introduce you to this powerful package, which although still in beta already offers all of the...
The PHP development team would like to announce the immediate
availability of PHP 5.2.15. This release marks the end of support
for PHP 5.2. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3.
This release focuses on improving the security and stability of the
PHP 5.2.x branch with a small number, of predominatly security fixes.
Security Enhancements and Fixes in PHP 5.2.15:
Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
Fixed crash in zip...
Lorna Mitchell has a new post to her blog continuing her look at using the Google Analytics API. This time the focus is on pulling data out of the API (if you're looking for connection advice, see her previous post).Recently I started playing with the google analytics API, looking at ways to bring analytics onto dashboards and generate simple reports from the data in there. Very shortly after I started to look at the API, I had working data retrieval, so I thought I'd share my experiences (and code!).She...
On PHPFreaks.com there's a new tutorial posted to introduce you to using MongoDB with your PHP applications.Most of us grew up on the concept of LAMP(Linux apache mysql and php) but there are times when that basic setup can become a real pain to maintain and scale. Generally the hardest part to scale out of a LAMP setup is MySQL. When running a large site with lots of data and traffic optimizing/scaling MySQL can be a really complicated undertaking. That is where NoSQL comes into play.You'll need to have...
In Open Source projects, the new shiny is NoSQL databases. Everywhere I look there are more and more projects deploying them and with great results. However, in corporate teams, the adoption rate is slower. Come on in, let's take a look at at least one developer's decision process, and the conclusion he came to.
Snapshot from Bertrand's presentation in the Amsterdam IKS workshop: what does being an Apache project bring to the table?
The answer is sustainability. IKS is an EU-funded project which will eventually end. Proper project governance handled together with the Apache Software Foundation can help the software to survive and thrive for long after that.
Sustainability is something that is critical for all libraries and infrastructure software. If you want adoption, you need to ensure potential users and...
Latest PHP Tweets