Re: PHP Question

From: Tom Thackrey (use.signature_at_nospam.com)
Date: 01/17/04

  • Next message: Market Mutant: "vBullitin 3 Free Download?"
    Date: Sat, 17 Jan 2004 07:44:30 GMT
    
    

    On 16-Jan-2004, sarahrosen1@yahoo.com (sarah rosen) wrote:

    > For a NON-Technical person how easy is it to learn PHP ? (for website
    > changes - mostly minor changes)I have never done any programming.
    >
    > If any one would be kind enough to let me know I would appreciate it.

    As languages go PHP is pretty simple. However, the environment where PHP
    runs is not.

    PHP is a server side scripting language, which means it runs on the server.
    The client (browser) doesn't know PHP, it's language is HTML (plus
    JavaScript etc.) So, the PHP on the server has to send HTML to the browser
    and receive data from the browser. All this is done page by page making it
    complicated to 'remember' things between pages. To further complicate
    things, most PHP scripts access some kind of database (e.g. MySQL). So, in
    addition to PHP, HTML and JavaScript, you have to worry about SQL.

    Any one of these languages, PHP, HTML, JavaScript, and SQL, could fill a
    pretty large book. Combine them with their interactions and add on security
    concerns and you have the programming equivalent of rubbing your stomach and
    patting your head while singing Silent Night and tapping out 76 trombones
    with your feet. OK it's not quite that bad, but it's very complex for the
    beginner and unless you're prepared to do a fair amount of studying it will
    be very frustrating.

    The good news is the people who hang out here are really helpful. I've seen
    several threads where it was obvious that the original poster was a novice
    in way over his or her head and the replies were patient, helpful, polite
    and often quite extensive.

    If you decide to take the plunge, start by learning HTML. When you move on
    to PHP remember that the goal of PHP is to send HTML to the browser. Getting
    a good grasp of what's HTML and what's PHP will be a big help.

    Good Luck.

    -- 
    Tom Thackrey
    www.creative-light.com
    tom (at) creative (dash) light (dot) com
    do NOT send email to jamesbutler@willglen.net (it's reserved for spammers)
    

  • Next message: Market Mutant: "vBullitin 3 Free Download?"

    Relevant Pages

    • Re: how to run scripts after a page has already loaded and been sent to a users browser?
      ... > It's because PHP is a server side scripting language, ... > do stuff before you send stuff to user's web browser. ... As we've discussed on this newsgroup before, if a script starts ... that is after the last HTML is sent to a web browser. ...
      (alt.php)
    • Re: How do we get there from here?
      ... Unlike my dislike for PHP, my dislike for SQL is based on ... >>> up with at least html and php quite mixed into each other, ... Using a PHP script to send HTML ... code to a browser in no way taints that code. ...
      (comp.databases.pick)
    • Re: Form spam? What to do?
      ... >>> You will notice a php include at the top of the code. ... one example of a browser with such an Accept ... On contrast IE6 accepts the html 4.01 strict code as you can ... it has built in changes to process the true xhtml ...
      (alt.html)
    • Re: Browser Compatibility issues
      ... PHP is not the cause. ... PHP just outputs HTML ... browser and which features are implemented and which not differs per ...
      (comp.lang.php)
    • Re: How do we get there from here?
      ... > then sub the whole of that generated markup into the template? ... layed out on the fly, a simple IMG tag, or even an entire HTML document. ... PHP scripting provides 10 times the features of both of these ... idea as tokens can eliminate a huge amount of maintance, ...
      (comp.databases.pick)