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

Jonathan Street's Blog:
Lightning Fast Sites & Better Benchmarks
Sep 25, 2007 @ 12:56:00

Jonathan Street has a few tips for developers out there looking to speed things up on their site - seven tips towards "lightning fast sites".

I was recently creating a small tool in PHP and found myself hitting the max execution time and getting a fatal error. As it was only for my personal use I just bumped up the max execution time but it made me stop and think about how I could improve the speed of those scripts I do put up for public use. Most people aren't going to wait for 60 seconds for a page to load. Naturally I hit the internet looking for tips.

The tips he came across (each including the simple benchmarks to show the differences) were:

  • sizeof vs count
  • is_int vs is_integer
  • chop vs rtrim
  • doubleval vs floatval
  • fwrite vs fputs
  • implode vs join
  • ini_alter vs ini_set

Be sure to also check out his follow up post talking about building better benchmarks to test the sorts of tips he's given above.

tagged: lightning fast tip benchmark lightning fast tip benchmark

Link:

Jonathan Street's Blog:
Lightning Fast Sites & Better Benchmarks
Sep 25, 2007 @ 12:56:00

Jonathan Street has a few tips for developers out there looking to speed things up on their site - seven tips towards "lightning fast sites".

I was recently creating a small tool in PHP and found myself hitting the max execution time and getting a fatal error. As it was only for my personal use I just bumped up the max execution time but it made me stop and think about how I could improve the speed of those scripts I do put up for public use. Most people aren't going to wait for 60 seconds for a page to load. Naturally I hit the internet looking for tips.

The tips he came across (each including the simple benchmarks to show the differences) were:

  • sizeof vs count
  • is_int vs is_integer
  • chop vs rtrim
  • doubleval vs floatval
  • fwrite vs fputs
  • implode vs join
  • ini_alter vs ini_set

Be sure to also check out his follow up post talking about building better benchmarks to test the sorts of tips he's given above.

tagged: lightning fast tip benchmark lightning fast tip benchmark

Link:

Community News:
PHP Appalachia Conference Schedule Posted
Sep 25, 2006 @ 07:24:56

Elizabeth Naramore has been kind enough to let us know that the schedule for this year's PHP Appalachia conference has been posted over on their site.

The schedule includes plenty of relaxing time spent camping, hiking and even a few PHP-related discussions thrown in, just for something different. Two official speakers are giving their talks first thing on Day Two and Day Three:

  • Ben Ramsey on REST
  • Chris Spruck on Regex
There will also be some Lightning Talks for those interested during Day Two. Check out the full schedule for everyhting happening in this great three day event.

tagged: phpappalachia2006 schedule posted hiking camping lightning talk phpappalachia2006 schedule posted hiking camping lightning talk

Link:

Community News:
PHP Appalachia Conference Schedule Posted
Sep 25, 2006 @ 07:24:56

Elizabeth Naramore has been kind enough to let us know that the schedule for this year's PHP Appalachia conference has been posted over on their site.

The schedule includes plenty of relaxing time spent camping, hiking and even a few PHP-related discussions thrown in, just for something different. Two official speakers are giving their talks first thing on Day Two and Day Three:

  • Ben Ramsey on REST
  • Chris Spruck on Regex
There will also be some Lightning Talks for those interested during Day Two. Check out the full schedule for everyhting happening in this great three day event.

tagged: phpappalachia2006 schedule posted hiking camping lightning talk phpappalachia2006 schedule posted hiking camping lightning talk

Link:

Zend Developer Zone:
Sometimes It's Not the Post, It's the Conversation.
Aug 14, 2006 @ 07:32:17

On the Zend Developer Zone today, Cal Evans looks back some more at his experiences at this year's OSCON and mentions his personal favorite session attended while there - the PHP Lightning talks.

The absolute best session I attended at OSCON 2006 was the "PHP Lightening Talks". Some of the presentations were interesting, others were hilarious. Theo Schlossnagle's Why PHP Sucks was both. Theo is a facilitating to sit and listen to, as you'll soon see when I post my interview with him. He's also quite funny when he wants to be. His presentation was interesting. It was part tongue-in-cheek and part dead serious but Theo left it to you to decide which was which.

He also points out another post about the talk from Chris Shiflett where a rather large discussion started about the contents of Theo's slides. And Cal hits the nail on the head:

The talk was good, don't get me wrong, but the conversation it inspired is much more interesting.
tagged: post lightning talk oscon2006 conversation why sucks post lightning talk oscon2006 conversation why sucks

Link:

Zend Developer Zone:
Sometimes It's Not the Post, It's the Conversation.
Aug 14, 2006 @ 07:32:17

On the Zend Developer Zone today, Cal Evans looks back some more at his experiences at this year's OSCON and mentions his personal favorite session attended while there - the PHP Lightning talks.

The absolute best session I attended at OSCON 2006 was the "PHP Lightening Talks". Some of the presentations were interesting, others were hilarious. Theo Schlossnagle's Why PHP Sucks was both. Theo is a facilitating to sit and listen to, as you'll soon see when I post my interview with him. He's also quite funny when he wants to be. His presentation was interesting. It was part tongue-in-cheek and part dead serious but Theo left it to you to decide which was which.

He also points out another post about the talk from Chris Shiflett where a rather large discussion started about the contents of Theo's slides. And Cal hits the nail on the head:

The talk was good, don't get me wrong, but the conversation it inspired is much more interesting.
tagged: post lightning talk oscon2006 conversation why sucks post lightning talk oscon2006 conversation why sucks

Link:

Christopher Jones' Blog:
OSCON, PHP 5.2 Windows Installer, and Testing
Aug 04, 2006 @ 06:01:12

Christopher Jones has posted his wrapup of this year's OSCON over on his Oracle blog today, mentioning specifically the PHP 5.2 Windows installer and some of the mentions of testing happening at the conference.

OSCON is a busy conference. I met some sharp minds. I missed catching up with others. In my spare time, I'm testing the PHP 5.2 Windows installer that John Mertic is writing. At the moment John is working hard on getting the installer neat and reliable.

He notes that testing applications, once something a bit more buried in the development process, had three different mentions at this year's conference, at the PHP Lightning Talks.

tagged: oscon2006 lightning talk windows installer testing oscon2006 lightning talk windows installer testing

Link:

Christopher Jones' Blog:
OSCON, PHP 5.2 Windows Installer, and Testing
Aug 04, 2006 @ 06:01:12

Christopher Jones has posted his wrapup of this year's OSCON over on his Oracle blog today, mentioning specifically the PHP 5.2 Windows installer and some of the mentions of testing happening at the conference.

OSCON is a busy conference. I met some sharp minds. I missed catching up with others. In my spare time, I'm testing the PHP 5.2 Windows installer that John Mertic is writing. At the moment John is working hard on getting the installer neat and reliable.

He notes that testing applications, once something a bit more buried in the development process, had three different mentions at this year's conference, at the PHP Lightning Talks.

tagged: oscon2006 lightning talk windows installer testing oscon2006 lightning talk windows installer testing

Link:

Chris Shiflett's Blog:
Six Reasons PHP Sucks
Aug 04, 2006 @ 05:52:40

Chris Shiflett mentions in this new post today Theo Schlossnagle's Lightning Talk from this years OSCON. The topic? "Six Reasons PHP Sucks".

Theo has posted the slides of his PHP lightning talk in PDF format. The topic? Why PHP sucks.

I've never disputed the fact that PHP has problems, but for some reason, everyone who tries to explain why PHP sucks misses most of the actual reasons it does. It's astonishing.

Chris also makes the comment that he doesn't actually give six reasons, but the first three of the ones he gives are solid ("No lexical scoping", "No namespacing", and "World's worst configure system").

tagged: sucks reasons list lightning talk slides pdf problems sucks reasons list lightning talk slides pdf problems

Link:

Chris Shiflett's Blog:
Six Reasons PHP Sucks
Aug 04, 2006 @ 05:52:40

Chris Shiflett mentions in this new post today Theo Schlossnagle's Lightning Talk from this years OSCON. The topic? "Six Reasons PHP Sucks".

Theo has posted the slides of his PHP lightning talk in PDF format. The topic? Why PHP sucks.

I've never disputed the fact that PHP has problems, but for some reason, everyone who tries to explain why PHP sucks misses most of the actual reasons it does. It's astonishing.

Chris also makes the comment that he doesn't actually give six reasons, but the first three of the ones he gives are solid ("No lexical scoping", "No namespacing", and "World's worst configure system").

tagged: sucks reasons list lightning talk slides pdf problems sucks reasons list lightning talk slides pdf problems

Link: