Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.

tags performance-optimization

Benchmarking PHP’s Magic Methods

November 4th, 2007

Larry Garfield has an interesting set of benchmarks covering many of PHP’s magic methods. His results correspond pretty well to my own benchmarks in the area. The thing to take away is that its not necessarily the overhead of the magic methods, but rather what you do inside them. Its hard to [...]

11 Comments | Read the full post »

Faster Page Loading

October 31st, 2006

Google engineer Aaron Hopkins wrote a good article on page loading times (via Harry). He talks about the impact of AJAX on page load times, focusing on connection limits, latency and the large number of external objects on your typical AJAX page. He offers a variety of tips on improving page [...]

3 Comments | Read the full post »

A Glimpse into the Future: PHP 6

November 22nd, 2005

Derick Rethans has posted the notes from the recent PHP 6 meeting in Paris. All I can say is wow! PHP has a bright future. Good job guys.
I’ve also been impressed with the new upgrade notes for 5.1. Good job there, too.
I’ve read over the whole thing and I like what [...]

8 Comments | Read the full post »

Of PHP References and Compatibility

October 20th, 2005

Following up on the Backward compatibilty and web host adoption of PHP 5 post from two weeks ago, I got a pretty good education about the problem with taking a reference of $this. The best summary is in this bug report.
It comes down to the fact that allowing references to be taken of $this [...]

4 Comments | Read the full post »

PHP Development From Java Architects Eye

April 23rd, 2005

Simple Thoughts blog has a post on PHP development from a Java architects eyes. This post highlights the paradigm difference between programming in PHP and programming in Java:

In PHP multi-threaded programming using ticks is rather primitive, to put it politely. I couldn’t find any way to share data between multiple invocations of the script, [...]

14 Comments | Read the full post »

Microbenchmarks of single and double qouting.

March 8th, 2005

I wrote earlier about flawed microbenchmarks. Today on sitepoint, there was a post on the performance of single versus double quotes in PHP based on a microbenchmark:

The reasoning behind this speedup is that when the PHP compiler encounters a string constant beginning with a double quote, the string itself must be parsed and special [...]

11 Comments | Read the full post »

PHP Scalability and Performance

June 30th, 2004

Troutgirl seems to have hit a hot button in her blog about Friendstar switching from JSP to PHP. This story has been picked up by a variety of bloggers. I originally saw it from Dynamically typed. Russell Beattie Notebook has some good discussion on the topic. Joe Grossberg talks about a redirection problems [...]

10 Comments | Read the full post »

ajax api-design benchmarks blogging books closures ezcomponents firefox google input-filtering java javascript language-comparison late-static-binding Mac mvc mysql object-oriented-programming oop Open Source pdo pear pear-installer performance-optimization PHP php-5 php-architect php-deployment php-frameworks php-scalability php-security phparch programming-language project-management properties refactoring ruby safari security simplicity test-pattern unit-testing Usability wordpress zend-framework
  • Search

  • Subscribe

    Subscribe All Posts
    Subscribe All Comments
    Subscribe All Bookmarks
    Subscribe with Bloglines Subscribe with My Yahoo Add to netvibes Subscribe in NewsGator Online Add to Google
  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (17)
    • Open Source (14)
    • PHP (97)
    • Software Design (29)
    • Usability (14)
    • WACT (7)
    • Web Design (20)
  • Recent Comments

    • goto in PHP  45
      wawa, Riccardo Tacconi, Steve [...]
    • Building a culture of objects in PHP  6
      MagicCleanerU, hafizan, [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  125
      ad, aankun, Hutch [...]
    • Comparing PHP with other languages  22
      ?????, ?y??, Olivier Lalonde [...]
    • WordPress BBCode Plugin  23
      AgeRLeloglalK, smolenskiy, wow [...]
    • Looking Towards the Cloud  15
      Robin, Mohammad, tsst [...]
    • Code Coverage, Feedback and Open Source  3
      rwer, sdfsdf, mayur
    • Firefox Extensions for Web Developers  16
      Salman, Markus, Mitch [...]
    • php | tek Wrapup  6
      Livetek Software, PHP Guru, Scott [...]
    • OOP is Mature, not Dead  15
      Fernando, Chabrell Igan, deltawing [...]
    • nofollow and comment spam  4
      Mozzgggos, sss, Nataly Marshak [...]
  • Pages

    • Tags
  • Archives

    • 2009: Mar Apr May
    • 2008: May
    • 2007: Jan Feb Mar Apr May Sep Oct Nov
    • 2006: Jan Feb Mar Apr May Jun Jul Oct Nov Dec
    • 2005: Jan Feb Mar Apr May Sep Oct Nov Dec
    • 2004: Apr May Jun Jul Aug Sep Oct Nov
  • Menu

    • Register
    • Log in