A new release of PHP Manager for IIS (version 1.1.2) is available for download. This release includes translations into 5 languages:
German - the translation is provided by Christian Graefe
Dutch - the translation is provided by Harrie Verveer
Turkish - the translation is provided by Yusuf OztA¼rk
Japanese - the translation is provided by Kenichi Wakasa
Russian - the translation is provided by Ruslan Yakushev
Thanks to above mentioned people for providing these high quality translations! The PHP...
In a recent post to the "PHP and Me" blog they look at how to type less $this in your PHPUnit tests using some handy tricks and a bit of custom code.Lately I've been writing a few tests (using PHPUnit), and when you do there's one thing you end up doing a lot, which is typing $this- whenever you need to do pretty much anything. It's not that bad (and PHP can be quite verbose itself) but it can become a bit of a bore I guess, especially after a while. [...] Those were valid points [about the global...
I just remade this site using Lithium (something I'll blog about later), and I wanted to note a change that relates to Drew McClellan's post on OpenID.
I'm no longer supporting OpenID.I still really like OpenID, but I don't think the lack of adoption can be blamed on misuse or misunderstanding. I think the failure, as Drew describes it, is that it's too complicated for users and too troublesome for providers.The idea is great. I really like using shiflett.org as my identity. (I just went through the...
Dan Horrigan, one of the members of the development team for the Fuel PHP framework has a recent post to his blog of an overview of the the security features of the framework and how it handles things like input and output filtering.There are many ways to handle security in a web application, and many things to think about. This is by no means an in-depth look on application security. It is meant to be an overview of how to use the security features included in FuelPHP.The framework lets you set up...
This week I'm in Chicago, IL - US attending DrupalCon '11. This conference is different than most of the conferences I attend in several way, the most important being scale. This conference is huge. It is on the scale of OSCON as opposed to most of the conferences I attend, which are on the scale of ZendCon. Click on in, check out my thoughts and leave one of your own.
On the Zend Developer Zone there's a recent post from Ralph Schindler talking about an update that's been made to the Zend Framework to improve generated testing stubs for Zend_Tool generated projects starting in ZF versions 1.111.4.At the time of Zend_Tool's initial release, the standard application structure you are familiar with today was just being released as well with Zend_Application. In addition, the testing controllers from this newly standardized application layer, were too, in their infancy....
In a recent post to his blog Marco Tabini talks about what he calls the lost art of using your brain, the fact that people seem to be relying more on the contents of other peoples' brains instead of their own.The world of technology is riddled with inhabitants who treat tools as if they were religions. OOP, unit tests, patterns... these are all instruments that are supposed to make some jobs better, and not theological formulas that will magically make every single line of code written on the face of the...
I've been doing conferences since July of 2006, when I attended OSCON in Portland, OR. Since then I've been to 4 or 5 a year, mostly as a speaker (#humblebrag) but sometimes as an attendee plebian as well. They have included joints like:
Open Source Bridge
php|tek & works
So I've gotten to see quite a range of conferences, from 10,000 people at SXSW, to 150 people at Brooklyn Beta. And after several years of this, I've come to the conclusion that the best conferences are:...
The Voices of the ElePHPant has posted their latest episode today - an interview with Ian Barber, an employee of IBuildings. Cal's "three questions" this time focus on some of the experience Ian has had with managing software projects.
Is project management different when working with PHP and related technologies as opposed to desktop software development?
What was the hardest problem you had to face with remote developers and how did you overcome it?
What's the best advice you have for project managers...
I've been investigating ways to incorporate third-party repositories and
libraries into my Git projects. Subversion's
svn:externals capabilities are one compelling feature for that particular VCS,
and few, if any, other VCS systems, particularly the DVCS systems, have a truly
viable equivalent. Git submodules aren't terrible, but they assume you want the
entire repository -- whereas SVN allows you to cherry-pick subdirectories if
Why might I want to link only a subdirectory? Consider a...
In a new post to his Test.ical.ly blog Christian Schaefer shows you how to iterate over XML in a more efficient way with the help of the XMLReader and Iterator features that come with PHP.One of the things I have been working on lately was a simple XML parser. It's a simple XML structure in my case though it could be more complex without much change. My solution was a quite powerful yet simple combination of XMLReader and the Iterator interface.He includes a sample XML document similar to the one he was...
Here's what was popular in the PHP community one year ago today:Brian Swan's Blog: mssql vs. sqlsrv: What's the Difference? (Part 1)
Phil Sturgeon's Blog: CodeIgniter 2.0: Everything you need to know
php|architect: Programming: you're doing it wrong
Matthew Weier O'Phinney's Blog: Module Bootstraps in Zend Framework: Do's and Don'ts
Johannes Schluter's Blog: Future of PHP 6
Matt Butche's Blog: MongoDB: 5 Things Every PHP Developer Should Know About MongoDB
Template Monster Blog: It's coming! WordPress...
Thanks to all the people who attended my talk on the APC and Memcached yesterday at Confoo. The slides are now available to download at: http://ilia.ws/files/confoo_APC_MEM2011.pdf
If you have any feedback, or comments they would be much appreciated via Joind.In (http://joind.in/2806)
My first private TYPO3 project went live
www.neatful.de, homepage of a
graffiti artist who happens to be my cousin.
I did everything apart from the initial design and learned a lot of things
as you see in the blog's typo3 section.
Validating PHP Form Inputs Depending Other Inputs
By Manuel Lemos
Sometimes you have PHP generated pages with forms that have fields which you may want to validate or not depending on the state of other fields.
This article tells how you can easily implement conditional validation logic by explaining how to make one field be validated only if a radio or checkbox is site or some other special custom logic that you need to implement.
Ever since I started playing around with Unix ~13 years ago, I've been a fan of automating things. What started out as writing little (maybe pointless) shell scripts slowly but surely morphed into infrastructure automation today.
As for my, or maybe anyone's, motivation to do these things, I see three main factors:
I'm easily bored - because repeating things is dull.
I'm easily distracted (when I'm bored).
I'm German: Of course we strive for perfection and excellence. ;-)
Being on Unix (or Linux) it's...
As of the 1.11.4 release of Zend Framework, the generated testing stubs just got a little saner. At the time of Zend_Tool's initial release, the standard application structure you are familiar with today was just being released as well with Zend_Application. In addition, the testing controllers from this newly standardized application layer, were too, in their infancy. In short, we had known that the stubs being produced in the tests/ directory were incomplete, but we were waiting to see if there were...
In his latest post Volker looks at something he sees more and more projected implementing as a simple way to not have to manually define paths all over their applications - creating autoloaders. His post shows how to create one such autoloader for a legacy, non-framework type of project.The first argument usually is "ease of use". It can get pretty annoying when you have to clutter your whole application with "require this file here and that file over there" statements. [...] The main motivation for...
People in the PHP community are excited about the upcoming PHP Community Conference (happening in April) and a few have even blogged about it. Both Paul Reinheimer and Lorna Mitchell have shared some of their thoughts about the upcoming event, both as speakers.The PHP Community conference is happening April 21st and 22nd in Nashville, Tennessee and includes a day of tutorials and a day of regular conference sessions. To say "regular" doesn't do it justice though - this event is more about the passion...
Last year, a new conference launched, Brooklyn Beta.
The buzz I heard about it from attendees was amazing; words like "inspiring,"
"intimate," and "energizing" were all used to describe the experience. I found
myself wishing I'd made time in my schedule to attend.
Fast forward a few months, and a new conference has been announced,
the PHP Community Conference. It has similar goals to
Brooklyn Beta: create a conference where we can talk about the language we love
Latest PHP Tweets