PHP. To be or not to be. Or. To use or not to use.

This comes as a result of discussion in the newsgroups.

Is PHP slow or fast? Is PHP an advanced enough language to consider it to be a serious platform?

Well, accordingly to information available on PHP.NET web-site there are about 20,000,000 domains running PHP as of today.

PHP is 5th popular language in the world after Java, C, C++ and VB. We cannot say the same about Delphi, which comes 13th:

There is more statistics here

Well. Why question was raised?

There is this misconception about PHP not being serious enough language with luck of features and slow speed.
This is simply not true. Or: it is true about any language or software platform when it comes to implementation. Bad code can be written with any language. Some has better protection against bad practices (Hurray for Delphi and Pascal!!!) but it comes to knowing what you are doing.

Can you write better code with PHP? Definitely!

First, PHP is something which produces HTML for you, so make sure that HTML you are producing is fast. Can you use JS, CSS where appropriately? Use them. It will improve your visitor’s experience. Use cached pages. List might be endless here…

This is something to read about benchmark of PHP code and what to avoid.,id,546,nodeid,114.html

Also visit and read around for good and bad practices.
Also see into using closest to newest version since your speed improvement will be significant

I have personally running PHP based web-site since 1998. I can tell you that if there is a lousy code then there is lousy speed.

This entry was posted in Delphi. Bookmark the permalink.

Leave a Reply

  • About

    From a junior developer through Sr Manager position, I was always interested in new technologies. Passionate speaker, IT junky, developer, architect, team lead, and development manager - many hats, one goal - making software better and being closer to people’s needs. For the most part I am using my blog as a scratch pad, writing small articles on things which I came across, was asked about more then once, and which would otherwise require additional research again and again.

    View Serguei Dosyukov's profile on LinkedIn
  • Testimonials

    I’m a huge fan of this theme. I’ve got more than 90,000 pictures in my gallery3 running on a Ubuntu...


    I've been using this [theme] since the start. It is by far the most attractive, feature packed and stable of...


    The greydragon theme is fantastic. It’s clean, stable and feature rich. It took me a while to decide to move...



  • Categories