Archives for March 31, 2010

  1. Mar 31 10

    Reading: Intro to PHP

    Read the first part of PHP Intro: Your first PHP-enabled page and PHP Intro: Something Useful. You don’t have to read the comments.

    Download hello-world.zip. Open it in TextWrangler (or whatever text editor you prefer) and read through it.

    Be ready to answer the following question next class:

    What is the Client? What is the Server? What is a Server-side [...]

    Continued…
  2. Class: Intro to PHP

    Follow along with the class tonight: Download hello-world.zip.

    Using MAMP

    MAMP is a Server-in-a-box. Basically, it turns your computer into a local web server. To use MAMP:

    Launch MAMP. Start the Servers. Wait until the dots are green. Visit http://localhost:8888/ in your browser. This is your web root. It can only be viewed on your computer. Place PHP programs in Applications/MAMP/htdocs/.

    Comic [...]

    Continued…