When should you use PHP?

LinuxWorld.com |  Development 2 comments

Should you learn PHP? Probably so, if:

  • You're responsible for a Website
  • Others in your organization like using PHP
  • You want something "lighter" and easier to learn than Perl or Python
  • You favor free software
  • You need access to data locked in databases
  • You want to exploit Java
  • You already use PHP in one way, and have been wondering what else it can do for you


Humble beginnings



Rasmus Lerdorf wrote a rudimentary version of the PHP scripting language in late 1994 as an aid to managing his personal homepage. (Originally the name PHP stood for Personal Home Page Tools; it eventually became a recursive abbreviation for PHP: Hypertext Preprocessor). Several languages -- Perl, Python, and even exotica like Scheme and Icon -- can do what PHP does: compute HTML pages on the server side of a Web application. PHP is unique, though, in that it is specifically designed to simplify that one task. You might reasonably expect, then, that PHP does it best. That certainly seems to be the belief of the few hundred thousand developers worldwide who are now enjoying the fourth major PHP release.



Take a moment to understand clearly what server-side computation means for a Web application. A minimal Webpage might have source that looks like this:




      <HTML>


          <HEAD>


                 <TITLE>


                      Home page for John Smith


                 </TITLE>


          </HEAD>


             <BODY>


                 This is John Smith's first home page.


             </BODY>


      </HTML>



Suppose now, that John wants to replace

This is John Smith's first homepage.

with

This is John Smith's first homepage.
John has completed XXXX Webpages.

2 comments

    Anonymous 45 weeks ago
    PHP is popular programming language nowadays. It's open source and it is good for dynamic and website development.PHP Web Development
    Anonymous 2 years ago
    page is not visible

      Add a comment

      Post a comment using one of these accounts
      Or join now
      At least 6 characters

      Note: Comment will appear soon after you have activated your account.
      Obscene/spam comments will be removed and accounts suspended.
      The information you submit is subject to our Privacy Policy and Terms of Service.

      ITworld LIVE

      DevelopmentWhite Papers & Webcasts

      White Paper

      HP NonStop SQL Fundamentals whitepaper

      This whitepaper offers a detailed look into the fundamentals of HP NonStop SQL solutions. See how this system delivers unprecedented levels of application availability with fail-safe data integrity and meets the needs of enterprises with large-scale business critical applications.

      White Paper

      Nebraska Medical Center case study

      See how the Nebraska Medical Center implemented a SQL solution to make information more readily available to streamline operations, improve patient care and facilitate medical research with an enterprise solution running on HP NonStop servers.

      White Paper

      Concepts of NonStop SQL/MX

      For DBAs and developers who are familiar with Oracle solutions and want to learn about NonStop SQL/MX, this whitepaper provides an overview of the similarities and differences between the two products-with a specific focus on implementation.

      White Paper

      6 Things Your CIO Needs to Know About Requirements

      If your organization is not predictably successful on technology projects, there is likely an issue in requirements. CIOs must take action and own requirements maturity improvement. There are 6 main things a CIO must know about requirements.

      Webcast On Demand

      User Experience Monitoring

      In this webinar, you will learn hints & tips for improving end-user response times from Forrester Research analyst, Jean-Pierre Garbani.

      Sponsor: Nimsoft

      See more White Papers | Webcasts

      Ask a question

      Ask a Question