News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Giorgio Sironi's Blog:
The dangers of Late Static Bindings
April 14, 2010 @ 07:06:41

Giorgio Sironi has a new post that warns you of the dangers that could come from the use of a technology just recently introduced to PHP - late static binding.

There's a lot of (justified) excitement about PHP 5.3 new features, such as the support of namespaces and anonymous functions. Though, some glittering capabilities of the language are definitely not gold: the goto statement is probably the most debated example, but also the long-awaited Late Static Bindings support is an hammer which may hurt your fingers...

He talks about how two of the characteristics of late static binding - the fact that it involves something being static and that there's a sort of hierarchy involved. He gives a code example of how it could be used and notes that static functions should be used sparingly since they are a more procedural way of doing things.

The post also includes a good example - an abstract Factory method - and a bad example - Active Record that doesn't evolve towards a Repository pattern being used.

0 comments voice your opinion now!
latestaticbinding danger procedural static hierarchy


Brandon Savage's Blog:
Marketing for PHP Developers
April 01, 2009 @ 09:34:16

Brandon Savage has a new look at an old problem in the PHP community - the importance of a developers' understanding of marketing in applications.

Technical people seem particularly bad at marketing effectively. I think this is because we're fact-oriented, focused on the features and neat ideas our products include. We'll spend pages and pages talking about the cool things that our tool or application can do. And then we'll wonder why our client didn't buy it. Why do we do this? Because we forget that marketing isn't about features it's about meeting needs.

He points to the hierarchy of needs as an example of what really has to be considered when developing software. The further down the pyramid you and your software can go, the more effective your marketing can be. An application can do everything under the sun, but if it doesn't do what the customer wants, it'll be tossed aside.

0 comments voice your opinion now!
marketing developer need want pyramid hierarchy



Community Events





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


framework series opinion podcast introduction voicesoftheelephpant library community language api bugfix deployment laravel unittest install zendserver interview symfony package release

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