Professional PHP

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

Comparing PHP with other languages

February 9th, 2006

Chris Shiflett posted some thoughts on PHP and Ruby on Rails which has generated some interesting discussion. Chris divides programming languages into two categories:

Flexible and powerful: PHP, C, C++, and Perl.
Structured and organized: Java, Ruby, and ASP.NET.

I don’t disagree with the cultural grouping. PHP’s cultural heritage is definitely in the Unix programming, C/Perl [...]

43 Comments | Read the full post »

Building a culture of objects in PHP

January 13th, 2006

This is a follow up post to Why isn’t PHP the natural successor to Java?
Joshua Eichorn (among others) notices that active record can’t work as shown in the Zend Framework webcast. The syntax presented during the web cast is not possible in PHP because of inherited static methods are treated. Mike Naberezny notes [...]

11 Comments | Read the full post »

PHP Book sales trends versus Java and Ruby

December 8th, 2005

O’Reilly radar has an interesting graph of 2004 versus 2005 book sales for a variety of languages. The big news is that Ruby books sales are up 1552% and Java book sales are down 4%. This would be consistent with my observations from Why isn’t PHP the natural successor to Java. A [...]

8 Comments | Read the full post »

The rumors of PEAR’s demise are greatly exaggerated

December 1st, 2005

Tobias Schlitt has a lengthy comparison of the new ezComponents and PEAR. He goes to great lengths to show that ezComponents and PEAR do not compete.
I’ve also seen some ill informed speculation that Zend PHP Framework will kill off PEAR. Um, not gonna happen. PEAR is a library, not a framework. [...]

2 Comments | Read the full post »

PHP 5.1 is out

November 25th, 2005

PHP 5.1.0 is out. There is alot of good stuff in this release and it is a major milestone. May PHP 5.1.2 be as successful as PHP 4.1.2.
I say 5.1.2 because it looks like there are is going to be at least one, possibly two bug fix releases to follow. There is [...]

7 Comments | Read the full post »

Why isn’t PHP the natural successor to Java?

September 29th, 2005

Loud thinking declares that Java has lost its aura of invincibility. Jason Hunter sums it up nicely:
Ruby on Rails today looks poised to eat Java’s mindshare on the web tier. If not Rails, then something else.
It does seem like Java’s mindshare is on the decline, along with sun’s fortunes. There is some evidence that [...]

23 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, [...]

17 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 [...]

25 Comments | Read the full post »

PHP first impressions from a J2EE programmer

February 19th, 2005

I ran across Cedric Otaku’s blog entry about his first impressions working with PHP as an experienced Java programmer. Not surprisingly, he chose PHP partly because it was already available on his ISP.
He highlights syntax, available libraries and string handling as PHP’s strengths.
He has some problems with the scoping rules and with the [...]

3 Comments | Read the full post »

A Comparison of the PHP and Java Job Markets

October 15th, 2004

This is a followup on Marco Tablini’s discussion of the PHP programmer availablity and my earlier attempt at defining enterprise PHP.
Out of curiosity, I cataloged the required skills for 10 Java web developer positions and 10 PHP web developer positions from monster.com. I wanted to make the point that the constellation of skills for [...]

18 Comments | Read the full post »

« Previous Entries
Next Entries »
    Subscribe Feed
    Share Subscribe to this blog…
    Share Bookmark or share this page…
  • About

    My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.

    More about me…

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (18)
    • Open Source (14)
    • PHP (99)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • Why PHP is easier to learn than Java  51
      Brant Chamorro, Jay Marry, Jutta Trudel [...]
    • On the Perils of Inline API Documentation  16
      Glen Hollinger, Newton Boudoin, Chaussre Air Jordan [...]
    • un-Friendster: fired for blogging  5
      Un Hawse, Jim Skomo, Analisa Niccum [...]
    • PHP Book sales trends versus Java and Ruby  7
      Rosann Frederick, Glenn Leffingwell, byb bye blemish [...]
    • Let Your Properties be Properties  17
      Lupita Ziler, Lawrence Constanzo, nail dryer [...]
    • Upgraded to WordPress 1.2  3
      Laurence Morda, Ike Mcleish, Vilma Babers
    • PHP Coding Standards  12
      Twana Ventry, Luther Quelch, Rhett Ososki [...]
    • Commercial Zend versus Open Source PHP  11
      Loria Brendel, Billie Areola, Hans Stremmel [...]
    • A WordPress bug fix  7
      Malcolm Kinnon, Maximo Caoagdan, Kali Giesbrecht [...]
    • The PHP scalability saga continues  17
      Cameron Borah, Monty Gucciardo, Freddie Leaton [...]
  • Site

    • Archives
    • Log in
  • Search