PHP DevCenter

oreilly.comSafari Books Online.Conferences.

We've expanded our LAMP news coverage and improved our search! Search for all things LAMP across O'Reilly!

Search
Search Tips

advertisement

once you know PHP5, all the Java examples make sense

   Print.Print
Email.Email weblog link
Discuss.Discuss
Blog this.Blog this
Derek Sivers

Derek Sivers
Nov. 17, 2004 09:55 AM
Permalink

Atom feed for this author. RSS 1.0 feed for this author. RSS 2.0 feed for this author.

URL: http://www.zend.com/php5/andi-book-excerpt.php...

I've been prejudiced against Java ever since the early days on the web on my Mac, where any web page that included a Java applet would crash my browser. Years later, any web page with a Java applet makes my hard drive churn for 8 seconds, freezing the computer until it loads Java into memory I guess, just to run a stupid mouse-hovering menu on a website. So of course this experience made me think of Java as some ridiculous stupid bloated language.

(Plus Java was often mentioned with that word "enterprise" that always makes me run the other direction, because you know the suits are near.)

Being a guy that just makes websites, I always ignored (or scoffed-at) Java. But as I was learning the object-oriented style of programming, most of the examples were in Java.

PHP5 comes out, and I get to know it and love it. Then I realized as I'm reading Java examples in articles and books - they all make sense now! PHP5 is just similar enough to Java that if you know PHP5, you can at least understand Java.

Reading Robert Kaye's language musings, I'm feeling that PHP5 also fits the praise he's giving Python : the power of Java but much faster to type. I'm very very impressed with PHP5.

Derek Sivers is the founder, president, and sole programmer behind CD Baby, independent music distribution, and HostBaby, web hosting for musicians.

Comment on this weblog
You must be logged in to the O'Reilly Network to post a comment.
Post Comment
Main Topics Oldest First

Showing messages 1 through 3 of 3.

  • servlets or applets?
    2004-11-17 14:04:53  yogimind [Reply | View]

    A servlet wouldn't be any different than a cgi, or php page in its response . . . do you maybe mean an applet? curious
  • java perceptions
    2004-11-17 11:25:07  vikdavid [Reply | View]

    Wow, that's a long time to hold a grudge against Java. Applets on Macs crashing? :-) I'm sure you realize, but you've unknowingly enjoyed the benefits of Java (er "enterprise" Java) countless times without realizing it. It's just everywhere.
  • Servlets != applets
    2004-11-17 10:21:19  kalim1998 [Reply | View]

    Wow! At least show that you know something about J2EE. Applets are NOT servelts (which reside on the server and thus cannot be in your web browser).

Showing messages 1 through 3 of 3.

Return to weblogs.oreilly.com.



Weblog authors are solely responsible for the content and accuracy of their weblogs, including opinions they express, and O'Reilly Media, Inc., disclaims any and all liabililty for that content, its accuracy, and opinions it may contain.

Creative Commons License This work is licensed under a Creative Commons License.



Advertisement

Sponsored by:

O'Reilly Media

©2009, O'Reilly Media, Inc.
(707) 827-7000 / (800) 998-9938
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.
About O'Reilly
Academic Solutions
Authors
Contacts
Customer Service
Jobs
Newsletters
O'Reilly Labs
Press Room
Privacy Policy
RSS Feeds
Terms of Service
User Groups
Writing for O'Reilly
Content Archive
Business Technology
Computer Technology
Google
Microsoft
Mobile
Network
Operating System
Digital Photography
Programming
Software
Web
Web Design
More O'Reilly Sites
O'Reilly Radar
Ignite
Tools of Change for Publishing
Digital Media
Inside iPhone
O'Reilly FYI
makezine.com
craftzine.com
hackszine.com
perl.com
xml.com

Partner Sites
InsideRIA
java.net
O'Reilly Insights on Forbes.com