Difference between revisions of "Week Two (MGDP2050)"
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) (→In class) |
||
Line 79: | Line 79: | ||
=== In class === | === In class === | ||
− | ... | + | ==== MAMP ==== |
+ | |||
+ | * Run [[MAMP]] (if available). | ||
+ | * Locate the <code>htdocs</code> folder -- this is the [[Local root folder]] for MAMP | ||
+ | * Copy your class exercise files into <code>htdocs</code> | ||
+ | ** Copy <code>index.html</code>, the <code>bootstrap</code> folder, your custom external style sheet | ||
+ | ** Only copy the contents of your Local root folder, not the folder itself (<code>htdocs</code> serves this purpose) | ||
+ | |||
+ | ==== localhost ==== | ||
+ | |||
+ | Open a web browser, and browse: | ||
+ | |||
+ | * http://localhost | ||
+ | |||
+ | You should see your Home page. | ||
=== For next week === | === For next week === |
Revision as of 06:54, 19 January 2016
Lecture notes and exercises for Week Two of Web Design and Development II (MGDP2050).
Contents
HTC web creative dot com
The domainhtcwebcreative.comis available for student use, with some cautions and restrictions.
See: http://htcwebcreative.com
File Transfer Protocol (FTP)
File Transfer Protocol (FTP) is a standard tool for transferring files between computers over networks.
Working with FTP is a fundamental skill in this class.
We will start using FTP next week. If you are not familiar with FTP, do your own reading on the subject.
LAMP, MAMP, XAMPP, etc.
Update: this section postponed until Week Two.
LAMP stands for:
- The Linux operating system
- The Apache HTTP Server
- The MySQL relational database management system (RDBMS)
- The PHP programming language, and the Perl scripting language
LAMP allows you to run a web server as a desktop application. This is very useful for web development.
See LAMP (software bundle) for more detailed information.
See also:
Bootstrap
Bootstrap is a framework for responsive web design.
General discussion:
Getting started, and download Bootstrap:
Responsive web design (RWD)
Responsive web design is a set of web design techniques for creating web pages which look good on a wide range of devices.
Techniques include proportion-based grids, flexible images, and media queries:
- The proportion-based (or fluid) grid concept calls for page element sizing to be in relative units like percentages, rather than absolute units like pixels or points.
- Flexible images are also sized in relative units, so as to prevent them from displaying outside their containing element.
- Media queries allow the page to use different CSS style rules based on characteristics of the device the site is being displayed on, most commonly the width of the browser.
Devices include:
Naming conventions
...
See Web page conventions (MGDP2050).
Exercises
In class
MAMP
- Run MAMP (if available).
- Locate the
htdocs
folder -- this is the Local root folder for MAMP - Copy your class exercise files into
htdocs
- Copy
index.html
, thebootstrap
folder, your custom external style sheet - Only copy the contents of your Local root folder, not the folder itself (
htdocs
serves this purpose)
- Copy
localhost
Open a web browser, and browse:
You should see your Home page.
For next week
...
By end of semester
...