PHP Basic Concept

What does PHP stand for?

PHP means – Personal Home Page, but it now stands for the recursive backronym PHP: Hypertext Preprocessor.

PHP code may be embedded into HTML code, or it can be used in combination with various web template systems, web content management system and web frameworks.

Php Syntax

What is PHP? Write your first PHP Program

A PHP file can also contain tags such as HTML and client side scripts such as JavaScript.

  • HTML is an added advantage when learning PHP Language. You can even learn PHP without knowing HTML but it’s recommended you at least know the basics of HTML.
  • Database management systems DBMS for database powered applications.
  • For more advanced topics such as interactive applications and web services, you will need JavaScript and XML.

The flowchart diagram shown below illustrates the basic architecture of a PHP web application and how the server handles the requests. 

What is PHP? Write your first PHP Program


Why use PHP?

You have obviously head of a number of programming languages out there; you may be wondering why we would want to use PHP as our poison for the web programming. Below are some of the compelling reasons.

  • PHP is open source and free.
  • Short learning curve compared to other languages such as JSP, ASP etc.
  • Large community document
  • Most web hosting servers support PHP by default unlike other languages such as ASP that need IIS. This makes PHP a cost effective choice.
  • PHP is regular updated to keep abreast with the latest technology trends.
  • Other benefit that you get with PHP is that it’s a server side scripting language; this means you only need to install it on the server and client computers requesting for resources from the server do not need to have PHP installed; only a web browser would be enough.
  • PHP has in built support for working hand in hand with MySQL; this doesn’t mean you can’t use PHP with other database management systems. You can still use PHP with
    • Postgres
    • Oracle
    • MS SQL Server
    • ODBC etc.
  • PHP is cross platform; this means you can deploy your application on a number of different operating systems such as windows, Linux, Mac OS etc.

What is PHP used for & Market share

In terms of market share, there are over 20 million websites and application on the internet developed using PHP scripting language.

This may be attributed to the points raised above;

The diagram below shows some of the popular sites that use PHP 

What is PHP? Write your first PHP Program

7,341 comments

  1. 3 sport competition

    you are truly a good webmaster. The website loading pace is incredible.
    It kind of feels that you are doing any unique trick. In addition, The contents are masterpiece.

    you have performed a excellent job in this subject!

  2. 10cric owner

    Heya just wanted to give you a quick heads up and let you
    know a few of the images aren’t loading properly.
    I’m not sure why but I think its a linking issue. I’ve tried it in two
    different internet browsers and both show the same outcome.

  3. カジノエックス

    Hello there! I could have sworn I’ve visited this web site before but after browsing through many of the posts I realized it’s new to me.
    Regardless, I’m definitely pleased I came across it and I’ll be bookmarking it and checking back regularly!

  4. blackjack punjabi bagh

    Greetings from Ohio! I’m bored at work so I decided to browse your blog on my iphone during lunch break.
    I enjoy the knowledge you provide here and can’t wait to take a look
    when I get home. I’m shocked at how fast your blog loaded on my phone ..
    I’m not even using WIFI, just 3G .. Anyhow, superb blog!

  5. hearing aids tucson

    It’s nearly impossible to find educated people in this particular subject, however, you seem like you know what you’re talking about!
    Thanks

  6. online sports betting

    Useful info. Lucky me I found your website
    by chance, and I am shocked why this coincidence did not came about in advance!
    I bookmarked it.

  7. mobile bet365

    hello!,I really like your writing so a lot! proportion we keep up
    a correspondence extra approximately your article on AOL? I require an expert in this space
    to resolve my problem. Maybe that is you! Taking a look
    ahead to peer you.

  8. 桃乃木かな スロット

    Howdy fantastic website! Does running a blog similar to
    this require a massive amount work? I have no expertise in computer programming but I was hoping to start my own blog in the near future.
    Anyways, should you have any ideas or tips for new
    blog owners please share. I understand this is off subject however I simply
    needed to ask. Appreciate it!

  9. titanium rings

    You made some really good points there. I checked on the web for
    more information about the issue and found most individuals will go along with
    your views on this website.

  10. internet marketing proposal

    I’m extremely impressed with your writing skills
    as well as with the layout on your weblog. Is this a paid theme or did you customize
    it yourself? Anyway keep up the nice quality writing, it is
    rare to see a nice blog like this one these days.

  11. 1xbet

    I’ve been browsing online greater than three hours lately, but I never found
    any interesting article like yours. It’s lovely worth enough for me.
    Personally, if all webmasters and bloggers made just
    right content material as you did, the internet will be
    a lot more helpful than ever before.

  12. dmv appointment wv

    For newest news you have to pay a visit web and on the web I found this website as a finest
    web site for most up-to-date updates.

  13. 더나인카지노

    Hello there! I know this is kind of off topic but I was wondering which blog
    platform are you using for this site? I’m getting fed up of WordPress because I’ve had issues with hackers
    and I’m looking at options for another platform.
    I would be fantastic if you could point me in the direction of
    a good platform.

  14. xo 카지노

    Its like you read my mind! You seem to grasp so much about this,
    like you wrote the guide in it or something. I believe that you could do with some
    % to drive the message home a bit, however instead of
    that, that is magnificent blog. A great read. I’ll certainly be back.

  15. guo media

    There is definately a lot to learn about this
    issue. I like all of the points you have made.

  16. HappyLuke

    I’ve been browsing online more than 2 hours today, yet I never found any interesting article
    like yours. It is pretty worth enough for me. In my opinion, if all
    website owners and bloggers made good content as you did, the
    net will be a lot more useful than ever before.

  17. 메리트카지노

    You really make it seem really easy together with your presentation but I find this topic to
    be actually one thing which I feel I would never
    understand. It seems too complex and very huge for me.
    I am having a look ahead to your next put
    up, I’ll attempt to get the hang of it!

  18. 더나인카지노

    Asking questions are in fact fastidious thing if you are not understanding something fully, but this
    post offers nice understanding yet.

  19. urban barbecue

    Outstanding post but I was wondering if you could write a litte more on this topic?
    I’d be very thankful if you could elaborate a
    little bit more. Cheers!

  20. Titanium TV

    I’m gone to inform my little brother, that he should also pay a quick visit this weblog on regular basis to obtain updated from most recent
    gossip.

  21. bet

    Fantastic goods from you, man. I have understand your stuff prior to and you’re simply
    extremely excellent. I actually like what you’ve
    obtained right here, certainly like what you are saying and the way in which in which you say it.
    You are making it entertaining and you continue to take care of to stay
    it sensible. I can not wait to read much more from you. This is actually a
    great web site.

  22. roulette games

    I am no longer certain the place you are getting your information, but good topic.

    I must spend a while studying more or figuring out more.
    Thanks for wonderful info I used to be searching for
    this info for my mission.

  23. men's life jacket

    I’m not that much of a online reader to be honest but your blogs really nice, keep it up!

    I’ll go ahead and bookmark your site to come back in the future.
    Cheers

  24. turmeric skin care

    Hi, I check your blog regularly. Your writing style is awesome, keep doing what
    you’re doing!

  25. system development skills

    Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog
    that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite
    some time and was hoping maybe you would have some experience with something
    like this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward
    to your new updates.

  26. keep inc fitness

    Hey there just wanted to give you a quick heads up and let you know a few of the
    images aren’t loading correctly. I’m not sure why but I think its
    a linking issue. I’ve tried it in two different browsers and both show the same results.

  27. พนันออนไลน์

    It’s in fact very complicated in this active life to listen news on Television, so I only use the web for that purpose, and take the most up-to-date news.

  28. dafabet

    Good post. I will be experiencing a few of these issues as
    well..

Leave a Reply

Your email address will not be published. Required fields are marked *