Week One (MGDP2060)

From Wiki @ Karl Jones dot com
Revision as of 20:18, 27 August 2015 by Karl Jones (Talk | contribs)

Jump to: navigation, search

This article lists topics for week one of Web Design and Development III (MGDP2060).

Topics

Review:

New topics:

Week one exercises

  • Run XAMPP
  • Fix the Apache HTTP Server configuration
    • Revert to default setting
  • Browse http://localhost
  • Observe that there are no files in the web server root folder

]

    • Edit the HTML to reference your local Bootstrap files
    • Enter your name, "Home page", and other text content of your choice
    • Be creative, your choice of font, colors, etc.
  • Browse http://localhost
    • Confirm that your Bootstrap page displays correctly
  • Change the name of your home page file from index.html to index.php
  • Refresh the browser, observe that the page looks the same
  • Somewhere in the body section of index.php, enter this code:
<?php

?>
  • Update the PHP to look like this:
<?php
echo "<h1>Hello World</h1>"
?>

Finishing up

  • At the end of your session at the workstation, copy your working files (the htdocs folder) to your jump drive, or other external storage device
    • Workstation files are wiped overnight
    • Next week, copy files from your jump drive to the workstation, to continue your work
    • You may also copy the files to another computer with XAMPP installed, and work there

See also