Jim Bird has a new post with links to a few different resources helping you "cheat" at application security - links to cheat sheets with highlights of key points to keep an eye out for.Developers need to know a lot in order to build secure applications. Some of this is good software engineering and defensive design and programming - using (safe) APIs properly, carefully checking for errors and exceptions, adding diagnostics and logging, and never trusting anything from outside of your code (including...
The PHP development team announces the immediate availability of PHP 5.4.7 and PHP 5.3.17. These releases fix over 20 bugs. All users of PHP are encouraged to upgrade to PHP 5.4.6, or at least 5.3.16.
Key enhancements in these releases include:
Fixed bug #62955 (Only one directive is loaded from "Per Directory Values"
Fixed bug #62460 (php binaries installed as binary.dSYM).
The full list of changes are recorded in the ChangeLog.
For source downloads of PHP 5.4.7 and PHP 5.3.17...
On the CodeIgniter blog there's a new announcement about a book published from one of the main CodeIgniter developers (Jaime Rumbelow) - the second volume in the CI Handbook series.Earlier this year I wrote and released The CodeIgniter Handbook - Vol. 1 - Who Needs Ruby? to critical acclaim. It's been several months since the release of Volume One and everybody's support, feedback and enthusiasm has been absolutely wonderful. To everyone who has purchased a copy, thank you. I'm thrilled to announce that...
Sebastian Göttschkes has a new post showing a method he's come up with to test email sending in a Symfony2 application.On my endless struggle to achieving 100% code coverage and catching every possible (and impossible) test case (I'm just kiddinh, please don't do this!) I was in need for some way to test the sending of emails. This blog post will show you how to test this within a symfony2 (I'm using symfony 2.1 RC2) application, using the default swiftmailer.It's not unit testing, it's functional...
Here's what was popular in the PHP community one year ago today:SitePoint Podcast: #129: Taking PHP to the Next Level with Lorna Mitchell
Kevin Schroeder's Blog: Zend Framework 2 Event Manager
Federico Cargnelutti's Blog: Building a RESTful Web API with PHP and Apify
NetTuts.com: How to Upload Files with CodeIgniter and AJAX
Community News: PHP 5.4.0beta1 Released for Testing
.Net Magazine: Create an SVG data visualization with PHP
Juozas Kaziukenas' Blog: Dependencies management in PHP projects
I haven't really talked much about my upcoming tutorial session at #phpnw12 next month before now, but I hope there's still time to convince you to come along and learn how to use Git as your team grows in size.
That's what I'm teaching: a strategy, plus supporting tools for Git called HubFlow, that will help you stay sane - and more importantly help you keep delivering - as your team starts to collaborate on your product.
It isn't my strategy: the credit must go to Vincent Driessen, who first blogged...
This posts highlights some great scripting language sessions coming
up at the Oracle OpenWorld and MySQL Connect conferences. These
events are happening in San Francisco from the end of September. You
can search for other interesting conference sessions in the Content Catalog. Also check out what is happening at JavaOne in
that event's Content Catalog (I haven't included sessions from it in this
To find the timeslots and locations of each session, click their
respective link and check the...
The PHP development team announces the immediate availability of PHP 5.4.7 and PHP 5.3.17. These releases fix over 20 bugs. All users of PHP are encouraged to upgrade to PHP 5.4.6, or at least 5.3.16.Key enhancements in these releases include:Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry).Fixed bug #62460 (php binaries installed as binary.dSYM).The full list of changes are recorded in the ChangeLog.For source downloads of PHP 5.4.7 and PHP 5.3.17 please visit...
This blog posting is in German as the event it relates to is German-only.Sorry for the inconvenience.
Im Dezember startet der nAchste PHP Summit in Berlin!
Es erwartet Sie ein klar strukturiertes Trainingskonzept mit einem komplett aktualisierten Programm. Im PHP Summit erhalten PHP-Entwickler ein hervorragendes Update ihres Wissens, aber auch einen fundierten Einstieg in neue Themen. Innerhalb von drei Tagen kAnnen Sie Ihre persAnlichen Schwerpunkte aus insgesamt 18 Workshops zu allen wichtigen...
At work I had the pleasure to
implement a bridge between JIRA (issue tracker) and Gitorious
(open source Git repository web interface and management tool).
On the company's blog I wrote about ways to connect JIRA to Git repositories,
why none of them worked for us and how we used BSOAD to re-implement
the FishEye API for Gitorious in PHP:
Klonfisch: Connecting JIRA with Gitorious.
On NetTuts.com there's a new article posted that introduces you to the concept of a persistence layer in a PHP application:One of the most confusing design pattern is persistence. The need for an application to persist its internal state and data is so tremendous that there are likely tens - if not hundreds - of different technologies to address this single problem. Unfortunately, no technology is a magic bullet. [...] In this tutorial, I will teach you some best practices to help you determine which...
In his latest post Robert Basic looks at working with custom view helpers in your Zend Framework 2 application and shows how to implement a simple one to display a simple greeting.I took the skeleton [Zend Framework 2] application, made it even skinnier by throwing out some (for me) unneeded parts and just put it all besides my old ZF1 code. [...] The first problem I ran into was using custom view helpers, especially view helpers that are more general and don't fit into one specific module. Where to put...
Scott Mattocks has a new post to his site today about a set of development principles he's proposing called "LUCID" (similar in idea to SOLID) - Logs, Unit Tested, Configurable, has Isolated features and is fully Documented.Building software with a clear set of use cases and requirements is a relatively straight forward process. Various design patterns exist to help you solve problems which others have come across already. You can use principles like SOLID to help separate your classes and simplify your...
Processing XML with a single PHP call
By Manuel Lemos
PHP provides several extensions to parse XML documents but you still have to write a lot of custom code to validate and extract data from the parsed XML.
Read this article to learn how to use this XML parser class to validate and extract the parse data from XML documents with a minimal amount of code that only requires a single call to the class.
JUI templating system
Extract Name from Email Address
Multi Armed Bandit
My validation class
Array Sort Utility
Check uniqueness of articles and search for plagiarism
CodeConnexx (8-9 November, 2012, Indianapolis, IN, USA)
is a two-day, one track conference that aims to bring together men and women of all ages, races, backgrounds,
and skillsets interested in talking about code. The first day is focused on technical talks, centered around
PHP and related topics. The second day is dedicated to all the other things that we encounter as developers:
mentoring, working together on a diverse team, getting started in open source, and other topics. Free onsite
On Reddit.com there's a recent post talking about an API-centric architecture that would separate out business logic from user logic.I'm in a fairly unique position of being able to refactor an existing site that gets a moderate amount of traffic (~10k per day). Technically speaking, it probably does not NEED to be rebuilt from ground up, but as this is somewhat of a hobby project for me, I am choosing to rebuild it because I think there are significant long term benefits and because of the learning...
If you're interested in the latest release from the Zend Framework project (2.0.0 stable) you should check out this webinar from Zend. Matthew Weier O'Phinney, project lead on the Zend Framework team, will be presenting all about this latest version of the popular framework.ZF2 is here! Learn the basics so you can get started developing with ZF2 today. We'll cover the basics of creating your first controllers and views, as well as some core principles such as manipulating services and listening to...
Latest PECL Releases:
So I decided to take 2 months off this summer, quite on short notice so I would like to thank the Liip management to be so flexible on this. Of course I don't really ever take off from open source, so I have spent a fair bit of time working on the Symfony CMF. Gathering feedback from the community via multiple blog posts, which taught me some things about OSS and then doing something with it like starting documentation, a simpler initial setup and adding some missing features. I also gave talks about...