 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHP.net: PHP 5.5.0RC1 is available
by Chris Cornutt May 09, 2013 @ 10:27:24
As is mentioned on PHP.net today, the first release candidate for the PHP 5.5.x series, PHP 5.5.0RC1, has been released for testing:
The PHP development team announces the availability of the first release candidate of PHP 5.5. This release fixes some bugs as well as some possible leaks from our last beta. This is a development preview - do not use it in production!
Some of the more major changes in this release include an update to the FPM SAPI for QUERY_STRING, a fix for a build issue with libgd, bugs in SNMP and a problem with stream_select on Windows x64 systems. You can find the full list of changes in the NEWS file. Please download and test (Windows binaries here) this latest release to help the development team find issues and move along with the PHP 5.5.x releases.
voice your opinion now!
language release candidate development preview rc1
Anthony Ferrara: Our Failure As An Industry
by Chris Cornutt May 07, 2013 @ 09:19:34
Anthony Ferrara has a new post to his site today describing what he sees as a failure in our industry - letting security become an after-thought to the development process.
In the April issue of the PHPArch magazine (also published on her blog), Elizabeth Tucker Long wrote a really interesting editorial piece coining a concept she called Security-Driven-Development. She (quite correctly) identified a problem in the current development community where security has become an after-thought (if it's thought of at all). This isn't a new concept, in fact it's a concept that I and many others have been preaching for quite a while now. However I've been coming to realize that I've had it wrong the whole time. And I think the entire industry is getting it wrong today.
He talks some about the current state of web application development and how, even with more powerful technologies than ever, we still fall short in security testing. He suggests that the current way of doing things - treating security testing as a "throw it over the wall" or "someone else's job" problem - needs to stop. Security needs to be integrated with development and he suggests that managers and developers of open source projects should take the lead.
voice your opinion now!
failure industry security testing development opinion
Matt Setter: How Simplicity Leads to Greater Productivity, Quality & Satisfaction
by Chris Cornutt April 16, 2013 @ 09:39:44
Matt Setter has a quick new post that suggests a way you can get more done with less work - simplicity.
Though we can do so many things simultaneously - should we? Does it actually reduce effectiveness and productivity which are the antithesis of professional application development? [...] I had the thought, as is common in a western-based mentality, that to be busy, to be industrious, to try and multi-task a series of independent tasks and projects simultaneously was the right thing to do. It's meant to be a simple formula: "Greater productivity = Greater self-worth right?" Sounds almost like Thatcherism. I felt that this was not only right, but the sign of an intelligent and sophisticated developer, who truly had honed his craft. Perhaps you've felt the same at one time or another?
He points out that, while it's very easy for developers to fall into this trap and way of thinking, it's not sustainable. It leads to stress, bad code and even - possibly - an even higher bug count. Instead he suggests the good standby idea of "KISS" (essentially, simplicity).
Instead of trying to do everything at once - I stopped and decided to only do one thing at once. And that one thing, had my full attention and focus. When it was done, I then moved on to the next one. Not before and not after.
He includes some of his own experience trying to apply this in a Zend Framework 2 application.
voice your opinion now!
simplicity quality productivity satisfaction development
PHP.net: PHP 5.5 beta2 released
by Chris Cornutt March 29, 2013 @ 06:37:11
The PHP.net site has announced the release of the latest beta for the PHP 5.5 series - PHP 5.5 beta2:
The PHP development team announces the release of the second beta of PHP 5.5.0. This release fixes some bugs from beta one that could prevent the release from compiling. [...] Our next beta is expected for April 11th.
This is a development preview, so do not use it in production. Several bugs were fixed in this beta release - you can view the NEWS file for a complete list. If you'd like to help test it out in your environment and with your applications, go download it (Winodws) and give it a shot. You can provide issues you might find back to the bug tracker.
voice your opinion now!
beta release php55 development preview
Lukas Smith: Good design is no excuse for wasting time
by Chris Cornutt March 28, 2013 @ 11:51:51
In his most recent post Lukas Smith suggests that good design isn't an excuse for wasting time. He's basically saying that Symfony2, because of how it's designed and implemented, isn't a RAD (rapid application development) framework and that it's about time for some layers to be added to help get it there.
Symfony 1.x I would put into a category of frameworks focused on RAD, aka rapid application development. [...] So for those people who were happy focusing on the 80% use case Symfony2 is a step back. Suddenly the same features take longer to implement, take longer to modify later on and on top of that the learning curve is steeper.
He suggests that work be put into "RAD layers" that can sit on top of Symfony2 and provide some of the more familiar features people are used to from things like CakePHP, Yii and CodeIgniter. There's been a few tries to accomplish this with only one getting the closest in his opinion - the KnpBundle.
voice your opinion now!
good design symfony2 rapid application development framework layer
Justin Carmony: First Serious Attempts with PHPUnit, Composer, and the Omniture API
by Chris Cornutt March 20, 2013 @ 09:37:53
In a new post to his site Justin Carmony shares some of his experiences with doing test-driven development (TDD) for a new project he was working on interfacing with the Omniture API. In it he shares six lessons he learned during the work.
At work we use Omniture for our web analytics, and for a long time I've wanted query our Omniture Data to run some internal reports. I discovered that Omniture has a restful reporting api, and after using it for a little bit I decided it would be nice to write a wrapper library for it. Since I had recently taken the PHP Testing Bootcamp from Chris Hartjes, I decided I wanted write it using Test Driven Development and really get my feet wet. I also decided I wanted to make the library compatible with Composer. After the weekend was over, I had an almost finished library that just requires some more work to be done, but I learned a great deal that I thought I'd share.
He's broken the post up into sections, each with their own summary:
- TDD is 90% changing the way to write code, and 10% writing tests
- Understanding Mock Objects is the real key.
- It takes almost twice as long to write code and tests then just code
- Its extremely easy to get out of the habit of writing tests.
- You'll refactor quicker and more often when writing tests
- Having testable code made me feel much better about sharing the code.
voice your opinion now!
tdd testdriven development rest api omniture composer lessons
QaFoo.com: Behavior Driven Development
by Chris Cornutt March 08, 2013 @ 11:54:21
On the QaFoo blog today there's a new post looking at behavior driven development and a PHP-based tool that makes implementing it in your workflow simpler (Behat).
While unit, integration and system tests - especially combined with the methodology of Test Driven Development (TDD) - are great ways to push the technical correctness of an application forward, they miss out one important aspect: the customer. None of these methods verify that developers actually implement what the customer desires. Behavior Driven Development (BDD) can help to bridge this gap.
The introduce some of the basic concepts behind behavior driven development and include an example of a Gherkin-formatted test example checking a page to ensure if has the correct content. They briefly define the structure of the test then take it into a Behat context and show how it would be implemented.
Of course, the examples shown above are only very rudimentary, missing e.g. variables and other advanced features. However, they should have explained what BDD is all about: Communication
voice your opinion now!
behaviordriven development behat introduction rationale
|
Community Events
Don't see your event here? Let us know!
|