At Nelmio we love Symfony2. As contributors to the core development, we care a lot about not only the project itself, but the entire ecosystem.
And that's why we're thrilled to announce the immediate availability of the NelmioSecurityBundle!
This Symfony2 bundle provides security-enhancing features for your application. It is not a replacement for the core SecurityBundle, it provides generic purpose security features, not related to user management.
Signed Cookies: If you would like to make sure your...
Freek Lijten has put together a new post to his blog looking at a method for showing how complex an algorithm is without having to get too deep into how it works - the big O notation (with examples written in PHP).I'd like to share a topic today which was re-introduced to me by a lightningtalk of a colleague of mine. His talk was on the "big O notation". The big O notation is a tool you can use to express the order of complexity of an algorithm. It is useful because it lets you express the order of...
In a new post to his blog Martin Psinas talks about some of his pains experienced with upgrading his code to use PDO instead of the mysql extension for database interaction.I read not too long ago that the mysql library in PHP is being deprecated as of v6.0 in favor of mysqli or PDO, so of course I had to update all of my database code keep on top of things. I spent about 5 or 6 hours over the course of 2 days familiarizing myself with the new syntax and updating my code offline. Without any testing, I...
On the Zend Developer Zone today Cal Evans reminds you about the alumni discounts you can get for this year's ZendCon if you've attended the conference in the past years.Ah the memories of ZendCon...there are just so many of them. Great session, Keynotes that inspire you to think, and some of the parties can only be described as epic. Alumni, you know what I mean, so join us again and continue the tradition. You know why you should be there, you've done it before and experienced it yourself. So don't put...
Last week, Lukas and me went to Italy to join the CMF Camp. Thanks a lot Ideato for hosting and organizing the event! Apart from meeting friendly people from Italy and Germany, eating lots of pizza and other great italian food, we discussed the Symfony content management framework and did a lot of coding on the second day. I try to give a summmary of what we have as of now and of the planned work needed for a first release, so that you can see what you could do to bring the project further. Check at the...
On his blog today Matthew Weier O'Phinney has a new post looking at an alternative to some of the other PHPDoc-based documentation tools, DocBlox, a tool written in PHP.Until a few years ago, there were basically two tools you could use to generate API documentation in PHP: phpDocumentor and Doxygen. [...] phpDocumentor is practically unsupported at this time (though a small group of developers is working on a new version), and Doxygen has never had PHP as its primary concern. As such, a number of new...
Content with Style: Zend Framework with nginx and php-fastcgi
Kevin Schroeder's Blog: Your favorite PHP sites (based off of Facebook responses)
Shift8 Blog: Moving from CakePHP to Lithium: Helpers
Sean Coates' Blog: Arbitrary Incrementer in PHP
Sameer Borate's Blog: Parallel cURL execution in PHP
Kyle Brandt's Blog: Should Developers have Access to Production?
I'm very pleased to be able to announce that I'll be giving two talks at this year's FrOSCon conference in St Augustin near Bonn in Germany, on the 20th and 21st of August. The first is on the PHP track, and is an overview of the PECL/Cairo extension for PHP. The second talk is on the main track, and is about Making Software See, where I'll give an introduction to the OpenCV image processing library, including some examples in various popular programming languages.I'm extremely happy to have been...
The Zend Framework team announces the immediate availability of Zend Framework
1.11.10, our tenth maintenance release in the 1.11 series.
1.11.10 includes more than 50 bug fixes and may be downloaded from the
Zend Framework site .
Ah the memories of ZendCona€¦there are just so many of them. Great session, Keynotes that inspire you to think, and some of the parties can only be described as epic. Alumni, you know what I mean, so join us again and continue the tradition. Click on inside and get the details on how you can be apart of ZendCon again and save a few bucks in the process.
Until a few years ago, there were basically two tools you could use to generate
API documentation in PHP: phpDocumentor and
Doxygen. phpDocumentor was long
considered the standard, with Doxygen getting notice when more advanced features
such as inheritance diagrams are required. However, phpDocumentor is practically
unsupported at this time (though a small group of developers is working on a new
version), and Doxygen has never had PHP as its primary concern. As such, a
number of new projects are...
In response to this article from DevShed about creating a "simple and secure login script", Anthony Ferrara has written up this post to help dispel some of the inaccuracies, bad practices and security issues that could result from DevShed's code.I decided to click the link [in my feed reader] and give the article a read. Not overly shocking was the fact that I didn't find the content of the article to be, how shall I say this..., overly factual. It's not really a "tutorial", but more of a "here's some...
I've just released a new version of php-excel extension that exposes the new functionality offered by libxl 3.2.0.
The new functionality in this release includes the following:
- ExcelSheet::setPrintFit(int wPages, int hPages) that fits sheet width and sheet height to wPages and hPages respectively
- ExcelSheet::getPrintFit() that returns whether fit to page option is enabled, and if so to what width & height
- ExcelSheet::getNamedRange(string name) that gets the named range coordianates by name,...
On the Ibuildings techPortal today there's a new post from Marcello Duarte following up on his previous post looking at behavior driven development (here) with a look at PHPSpec, a port of RSpec that is the first PHP BDD framework.PHPSpec is the first ever PHP BDD framework. It is a port of RSpec to PHP created back in 2007 by Padraic Brady and Travis Swicegood. Development in this framework stopped for a while and was reignited last August (2010).He goes over how to get it installed via PEAR and how to...
On DZone.com today Giorgio Sironi has posted the results of a poll taken a little while back concerning what people thought was the best feature of the upcoming PHP 5.4 release.After two weeks, we have closed the poll among the PHP community of Web Builder Zone to establish which are the most wanted features, which will influence development of applications on PHP 5.4. Hopefully this poll would also shape our focus in tutorials in the future - I personally plan to dedicate more time to the winning...
Merchantware Payment Gateway
PDO Singleton Class
This is the second part of a series about Outside-in Behaviour Driven Development in PHP. The first part introduces outside-in development, and how to execute scenarios with Behat. Read this to catch up with the tools and the example we've used so far, then come back to find out how PHPSpec fits into this picture.
PHPSpec is the first ever PHP BDD framework. It is a port of RSpec to PHP created back in 2007 by PAˇdraic Brady and Travis Swicegood. Development in this framework stopped for a while and was...
Being at OSCON, I've attended one good talk about Python oddities, which got me thinking about language syntax in general.
PHP is notorious among scripting languages for it's verbose syntax - you have to spell out many things that are much shorter in other languages. Some people think it's very bad that they can't be a€oexpressivea€ť, meaning writing more clever code with less keystrokes. Sometimes they are right, sometimes they are not. Let's consider two examples:
From PHP:A 5.4 has a new array...
Last week I tweeted a poll with the question "Which PHP static analysis tools do you regularly use?". These are the results:
My interest was mostly because I'm working on a book chapter which includes some static analysis content, and there are a couple of these tools that I include in my own builds, but I don't do much with the output of them. However I didn't want to drop anything from the chapter if it was actually a valuable tool and I was just missing the point - pretty much all the tools got a...
Image via Wikipedia
Some time ago, in between working on Zend Framework, I booted up a couple of libraries that I really wanted to integrate into my workflow. Recently, I've been being putting these through the grindmill so they can be properly released and supported for public consumption across PEAR. Just as Mockery fell out of older work on PHPMock, Mutagenesis will fall out of another project called MutateMe. This is a short introductory article as to what Mutagenesis will do and why. In other words,...