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

Sameer Borate's Blog:
Refactoring 2: Extract Method
Jan 13, 2009 @ 02:18:35

Sameer has posted the second part of his series looking at refactoring with a spotlight on the Extract method.

The ‘Extract Method’ is one of the most common refactorings you will ever do. It is also one you will frequently see implemented on the Refactor tool menu on various IDE’s. What this method basically does is to take a group of related code and convert it to a function with a appropriate name that easily explains the purpose of the code.

He gives a code example - converting hotel room price to points based on the currency its requested in - both with and without the Extract method in use.

tagged: refactor extract method example convert hotel price points

Link:

Zend Developer Zone:
Tim Bray Explains Why Solaris in a Good Choice for PHP Developers
Oct 20, 2006 @ 14:51:56

Over on the Zend Developer Zone, Cal Evans shares part of a mini-interview (one question, really) where Cal asked Tim about Solaris as a hosting and development platform for PHP.

Tim will be at ZendCon this year participating in a panel discussion titled "How Do The Stacks Stack Up?" I talked with Tim by phone because I was curious why PHP developers should consider Solaris as a development and deployment environment. Here's what Tim had to say.

His answer was based around three main points - observability, virtualization "stuff", and the ZFS filesystem all Solaris systems come installed with. And, of course, he explains the thought process behind each (briefly).

tagged: solaris interview timbray developer question three points solaris interview timbray developer question three points

Link:

Zend Developer Zone:
Tim Bray Explains Why Solaris in a Good Choice for PHP Developers
Oct 20, 2006 @ 14:51:56

Over on the Zend Developer Zone, Cal Evans shares part of a mini-interview (one question, really) where Cal asked Tim about Solaris as a hosting and development platform for PHP.

Tim will be at ZendCon this year participating in a panel discussion titled "How Do The Stacks Stack Up?" I talked with Tim by phone because I was curious why PHP developers should consider Solaris as a development and deployment environment. Here's what Tim had to say.

His answer was based around three main points - observability, virtualization "stuff", and the ZFS filesystem all Solaris systems come installed with. And, of course, he explains the thought process behind each (briefly).

tagged: solaris interview timbray developer question three points solaris interview timbray developer question three points

Link:

Aaron Wormus' Blog:
32 Cards - PHP Based World CUP 2006 Game
Apr 27, 2006 @ 11:40:30

Aaron Wormus notes in this new blog entry about a client-side card game he's been introduced to that comines great graphics, a smart AI and a powerful combination - PHP5 and the Winbinder library.

I remember the WTF moment I had a couple years ago when Frozen Bubble was released. The game was nice but the awesome bit was the it was based on PERL, which was my programming language of choice at the time.

I had that moment again this morning when an email arrived in my mail box from Rubem Pechansky (The WinBinder Guy) where he announced his Worldcup 2006 card game which is based entirely on PHP5 and Winbinder.

The game, 32cards is a digital card trading game with tons of data about each country for each card. On each turn, the topmost card is uncovered and five stats are compared. The player with the highest stats wins and points are awarded. You can gabs this great example of how flexible PHP really is (and try out a pretty cool game) by heading over to their site and grabbing the download.

tagged: card game world cup computer player points winbinder card game world cup computer player points winbinder

Link:

Aaron Wormus' Blog:
32 Cards - PHP Based World CUP 2006 Game
Apr 27, 2006 @ 11:40:30

Aaron Wormus notes in this new blog entry about a client-side card game he's been introduced to that comines great graphics, a smart AI and a powerful combination - PHP5 and the Winbinder library.

I remember the WTF moment I had a couple years ago when Frozen Bubble was released. The game was nice but the awesome bit was the it was based on PERL, which was my programming language of choice at the time.

I had that moment again this morning when an email arrived in my mail box from Rubem Pechansky (The WinBinder Guy) where he announced his Worldcup 2006 card game which is based entirely on PHP5 and Winbinder.

The game, 32cards is a digital card trading game with tons of data about each country for each card. On each turn, the topmost card is uncovered and five stats are compared. The player with the highest stats wins and points are awarded. You can gabs this great example of how flexible PHP really is (and try out a pretty cool game) by heading over to their site and grabbing the download.

tagged: card game world cup computer player points winbinder card game world cup computer player points winbinder

Link:


Trending Topics: