News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

Emran Hasan's Blog:
Beware of the so called "Senior PHP Developers"
August 18, 2008 @ 07:55:09

Emran Hasan has a recommendation for those looking to hire on a "senior PHP developer" - beware.

With the rise of PHP developer as career, many are trying to get their share in the pie. Lately I've met a number of developers who have worked for more than one/two years in developing PHP applications in various companies and they consider themselves as "senior" developers.

Key things to keep an eye out for are the "more talk, less code" they tend to do and the lack of dedication to the tasks at hand. These bad developers then follow up with the typical blame to the junior developers, noting that it was them being difficult that caused all of the "real" problems.

0 comments voice your opinion now!
beware senior developer career interview negative



Felix Geisendorfer's Blog:
False == 0, or not?
August 14, 2007 @ 08:45:00

Felix Geisendorfer has come across something interesting in his coding - an issue where false might not be false in the right situation.

So far I've always thought false would evaluate to 0 when used in a computational context. Turns out that this isn't always the case.

His code example tries to check is a false value is greater than or equal to a negative number. The result, however (despite the thinking that false is a zero value) turns out to be false.

I randomly stumbled upon this when arguing with Mariano today if setting Model::recursive to 'false' has the same effect as setting it to '-1'. Turns out that cake uses a statement like this: if ($recursive > -1) in the core which in turn makes -1 and false do exactly the same thing.
0 comments voice your opinion now!
false zero evaluate compare negative false zero evaluate compare negative


Stefan Esser's Blog:
Suhosin Extension 0.9.17 released
March 05, 2007 @ 12:57:00

Stefan Esser has released the latest version of his Suhosin security patch for PHP:

Yesterday I released Suhosin 0.9.17 in response to a bug report by Ilia Alshanetsky and some crash problems with PHP 4 that were reported during the last weeks.

The issue dealt with a method to "bypass the hard_memory_limit of Suhosin due to a bug in PHP" that could result in memory consumption up into the gigabyte range for a single script. The patch takes care of the issue by not allowing negative memory_limit settings, preventing the problem from happening.

0 comments voice your opinion now!
suhosin extension release memorylimit bug crash problem negative suhosin extension release memorylimit bug crash problem negative


Pádraic Brady's Blog:
Filter Extension Issues - A Storm in a Teacup?
November 10, 2006 @ 11:23:00

Responding to the recent comments about the filter extension included in recent PHP 5 releases from other members of the community, Pádraic Brady has posted comments on the matter including his experience with the extension and his worry about the other comments tarnishing the extension's reputation.

Personally I haven't tested ext/filter. I should no doubt be shot like a rabid dog for daring to post about this for that reason alone. Commenting idly without any knowledge of an extension is obviously illegal somewhere, possibly China.

He notes that some of the comments (the more inflammatory ones) were a bit out of place, and that feedback about issues has its place - not in major public view. He worries that the negative comments will cast a negative shadow on the extension and that the "back and forth" that's a result of it only serves to cause more trouble than it's worth.

5 comments voice your opinion now!
extension filter comments storm teacup negative extension filter comments storm teacup negative


PHPit.net:
No more spam; Akismet and PHP to the rescue!
May 22, 2006 @ 05:57:31

If you're tired of spam comments or people flooding your PHP application with junk text and links, you'll definitely want to check out this new tutorial from PHPit.net. It looks at how to integrate the Akismet anti-spam service into your application.

I've started using Akismet myself recently, and it has completely cut down all the spam I was receiving. Normally I'd get about 700 spam comments a day on my various blogs and websites (including PHPit), but since installing Akismet I've only received four. That means that approximately 99,5% is being caught by Akismet, which is an extremely good rate, and what's even better is that Akismet hasn't caught one good spam comment (no positives). Sounds pretty good, right?

In this article you'll learn how to use the Akismet anti-spam service to prevent any spam from being added to your PHP website. Live examples and demo's are included.

To start off right, you need to know how the service works and what kind of methods you'll need to access it. They show a simple connection to the service as well as two functions to mark something as spam and to mark it as non-spam (or 'ham' as he calls it). He also links to their development page and to the WordPress plugin that performs the same action.

0 comments voice your opinion now!
php spam block akismet connection positive negative php spam block akismet connection positive negative



Community Events









Don't see your event here?
Let us know!


mysql zendframework security PHP5 cakephp framework database zend package developer job PEAR releases example conference code release book application ajax

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework