In a new post to his site today Andrew Podner takes a look at NPATH and tries to "demystify" some of the concepts around it."NPATH, which counts the acyclic execution paths through a function, is an objective measure of software complexity related to the ease with which software can be comprehensively tested." This is the definition from an article written in 1988 by Brian Nejmeh. As informative as this is, my eyes glazed over half way into it. So what the heck is acyclic execution anyway?He defines...
There's nothing as universallyA controversialA in this world as change. Change can be (in aggregate) for the better or for the worse, yet people will always be split down the middle. Some will believe that the change is a good thing, and others will see it as a bad thing. Often your view points will be dictated by your perspective and how the change will directly effect you. When it comes to software projects and change, what's the right thing to do?Read more A»
The Voices of the ElePHPant podcast has published their latest interview with a PHP community member - this time it's Nate Abele of the Lithium framework project (as recorded in theCal's three questions talk mostly about his work on the Lithium framework
What started you on the road to building another framework?
What makes Lithium special?
What is your favorite piece of the framework?
You can listen to this latest episode either through the in-page player, by downloading the mp3 or subscribing to their...
Recent releases from the Packagist:amazonwebservices/aws-sdk-for-php (1.5.17)
Easy chart based on Google API chart
Citrix GoToWebinar PHP Library
PHP MySQL Wrapper Class
CakePHP Captcha Library
HTML Manipulation like jQuery
A little journey exploring job queue models and debunking some programming folklore around the effects of batching on latency.
Today we are happy to announce that Benjamin Eberlei will join the Qafoo
family as a consultant and trainer in the beginning of 2013. Benjamin is lead
developer of the Doctrine project, part of the Symfony 2 community, well
known speaker and trainer. Beside that, he is an expert in software
architecture and design, especially in the area of business logic modelling.
On PHPMaster.com there's a continuance of a previous article about security in PHP applications talking about a few more considerations when trying to make things secure.In a previous article, I talked about some common security vulnerabilities that can affect your PHP web application. But there are other things besides those ten (okay, seven) attacks to think about when you're developing. And so, this article offers a compendium of miscellaneous things that are security related; things you should do,...
PHPClasses.org has posted the latest episode of their "Lately in PHP" podcast series - episode #29, Should PHP be Copying the Java features and practices?.Particularly since version 5.0, PHP has been copying many of Java features and practices of Java programmers. This means that if Java programmers practices tend to be bureacratic and less productive, PHP programmers that use those features or adopt those Java practices may also become less productive. This was one of the main topics discussed by Manuel...
On NetTuts.com today there's a new post with several resources and screencasts talking about what to expect from the upcoming release of the Laravel framework.If you're keeping up on the latest news in the PHP community, then you likely know that Laravel 4 is on the near horizon. Its creator, Taylor Otwell, recently recorded a handful of screencasts to demonstrate what we can expect, including resourceful controllers, improvements to Eloquent, Composer support, and much more! Take a look after the...
The Atlanta PHP User Group has announced their December 2012 meeting happening on the 6th. The presenter this time will be Jonathan Hill covering multi-tasking in PHP.When it comes to multi-tasking and interacting with the operating system, PHP is no lightweight. In this talk we'll explore PHP's little-known POSIX, Process Control, and Semaphore extensions and show you how to introduce a parallel dimension to your applications.A "mini-talk" will also be given by Jason Bouffard about screen scraping with...
Michelangelo van Dam has shared something new he learned at the recent ZendCon conference about using fixtures with his PHPUnit testing.In my previous post I already mentioned Sebastian Jerzy WilczyÅ„ski (@dj_sebastian_w) and his uncon session "Unit Testing for Databases using fixtures and phpunit". It made me wonder how much difference it would make if you use fixtures instead of testing database interactions using predefined sets of data. Since I work a lot with Zend Framework I was looking at how I...
Martin Shwalbe has a new post that wants to help you get started using the Zend Framework 2 for creating REST web services quickly and easily.Today i want to show you how to build a rest application. This tutorials assume you have completed the Getting Started. I will be repeating lot of the steps allready explained in there. There is also a sample Album module which you can install from here.He starts off by setting up the Album module to load via the module autoloader and sets up its controllers and...
Recent releases from the Packagist:silverstripe/quickaddnew (0.1.0)
davidbadura/fixtures-bundle (v1.0.4, v1.0.3)
Latest PECL Releases:
In my previous post I already mentionedA Sebastian Jerzy WilczyA„ski (@dj_sebastian_w) and his uncon session "Unit Testing for Databases using fixtures and phpunit". It made me wonder how much difference it would make if you use fixtures instead of testing database interactions using predefined sets of data.Since I work a lot with Zend Framework I was looking at how I could use fixtures and mock objects to follow Sebastian's guidelines. So I gave it a try. This is what I came up with.I use the domain...
On NetTuts.com there's a great list of tips and things to keep in mind if you're a budding programmer - a set of common pitfalls to watch out for as you hone your skills.Regardless of our current skill level, we all were beginners at one point in time. Making classic beginner mistakes comes with the territory. Today, we've asked a variety of Nettuts+ staff authors to chime in with their list of pitfalls and solutions - in a variety of languages. Learn from our mistakes; don't do these things!The article...
In this new tutorial posted to PHPMaster.com, Hari K T takes a look at internationalization in a Symfony2-based application using its own translation component.If you've ever worked to develop a site which needed to be available in multiple languages then you know how difficult it can be. With the help of Symfony2â€²s Translation component you can easily make internationalized sites. I'll show you how with some sample code and some discussion on its API.He includes a basic example of how the component...
The Dutch PHP Conference has posted their latest podcast in their DPCRadio series as recorded at this year's Dutch PHP Conference - Elizabeth Smith's SPL in the Wild:The standard PHP library (SPL) is growing in both maturity and use. But a lot of developers still aren't aware of the tools in SPL or simply haven't seen good examples of how to use the code. From interfaces to an autoload stack to classes that make objects act like arrays, there are tools to make every application leaner and faster, or...
Latest PHP Tweets