CiTi · Computer Coding · Year One · Unit 4

AMP Milestone Checklist

Everything your Aimee Mohr Photography site should have so far

Saved

Student Info

Name
Period
Date

How to Use This

Read first

Think you are done? Open your site in one tab and this list in another. Check each item against your real pages and files, not your memory. If you cannot check it, you are not done yet.

Not sure what to do next? Start at the top and work down. The first box you cannot check is your next job. Each group names the handout that teaches it, so go back to that handout for the steps.

The list has two parts: Part 1, the Front End (the public pages anyone can visit) and Part 2, the Admins (the private pages that change your data). Your checkmarks save in this browser only.

Your site lives at /citi/coding/2027/1/YOURINTS/amp/. Project files: Project Assets.

Your Own Look

This affects your grade

The walkthrough CSS is an example, not your design

The AMP Page CSS Walkthrough showed you how to build a page: rows, width classes, stacked classes, a fixed background. Use it for ideas and techniques. Your goal is to design your own look and feel for Aimee.

A project that copies the walkthrough CSS as-is gets less credit than a project with its own look and feel that still follows the client’s design rules.

Copied
  • Same green and gold colors
  • Same fonts, same glass panels, same pill buttons
  • Same three rows in the same places
  • You could not explain why a rule is there
Your own
  • A palette you chose, still low-color
  • Your own fonts, buttons, and navigation style
  • Your own layout: use the row and width classes however your design needs them
  • You can explain every rule in your style.css

Whatever you design, Aimee’s rules still apply: a low-color interface, a mega footer, a fixed background image, and hex or rgb colors only. They are on the list below.

Part 1: Front End

The public site
Part 1Front End
0 of 0 done

Project Setup from Aimee Mohr Project

  • My amp folder is at /citi/coding/2027/1/YOURINTS/amp/ with includes, css, and databases folders, plus one folder for each section of the site.
  • Every file and folder name is lowercase, with no spaces or hyphens (_ only).

Shared Parts: Every Page from AMP Page CSS Walkthrough

These are built once and used on every front-end page. The page lists below do not repeat them: if a page is on this site, it must pass every item here.

  • includes/vars.inc sets pathvar to my full amp path, plus cssvar, incvar, and dbvar built from it.No spaces around = and no space at the end of a value.
  • Every page is only: the vars.inc include (full path from the web root), its own titlevar, the header include, that page’s own content, and the footer include. No header, nav, or footer code is copied into a page.
  • header.inc holds the DOCTYPE, the head (title, viewport, fonts), my stylesheet link with ?v=[cart], and the top of the page: Aimee’s logo and the navigation.
  • The navigation is its own include (topnav.inc) with a link to every section of the site, plus an Admin link to my admin landing page. Every link uses [pathvar].The Admin link is out in the open for now. It gets locked behind a login later in the project.
  • footer.inc holds the mega footer and all the closing tags.
  • The mega footer is a row of 3 columns: 1. Site navigation, the same links as the top nav, from footernav.inc.
    2. Aimee’s social media links.
    3. Left open for now. Give it a heading and placeholder text so the column holds its space. You will fill it later.
  • The very bottom of footer.inc has a [closedatabase] line for country.db and state.db.
  • No page shows an Error: template ... not found message, no page shows a variable name like [pathvar] as plain text, and every nav and footer link opens a real page.

Site-Wide Style client rules from the brief

  • The design is my own: my colors, fonts, buttons, and layout, not the walkthrough copied as-is. (See Your Own Look above.)
  • Low-color interface: a quiet, neutral palette so the photos are the color on the page.
  • Colors are hex or rgb only. My style.css has no color names like white, black, or gray.
  • Every row of columns adds up to 100 (for example 25 + 50 + 25, or 50 + 50).
  • Aimee’s photos and logo load from /citi/coding/ampassets/. There are no copies of them in my own folders.
  • My style.css has no leftover rules that nothing on the site uses.

Landing Page amp/index.html

The homepage should already have the look and feel of your finished project.

  • Static background image: a photo behind the page that stays put while the content scrolls over it, and text over it is easy to read.A true parallax effect (background moving at a different speed) is a bonus.
  • Body copy in 3 columns: the main part of the page is a row of three columns of text.

About Page amp/about/index.html

  • A 2-column layout with lorem ipsum text in both columns, under a heading that says About.

The Other Section Pages one folder per area of the brief

The real content for these comes later in the brief. For now each one is a placeholder page that wears your full design.

  • venues/index.html: a 2-column layout, lorem ipsum in one column and an image in the other.
  • testimonials/index.html: a 2-column layout, lorem ipsum and an image.
  • gallery/index.html (My Work): a 2-column layout, lorem ipsum and an image.
  • blogjournal/index.html: a 2-column layout, lorem ipsum and an image.
  • members/index.html (Client Login): a 2-column layout, lorem ipsum and an image.
  • Each one has its own titlevar and a heading that says which section it is.

Databases from My First Search

  • amp/databases/ holds country.db, country.hdr, state.db, and state.hdr: the full lists from state_country.zip, not my 7-row sample.

Contact Page from HTML Forms, True or False, My First Search

This page is not waiting on anything. It should be finished and working right now, sending to you.

  • contactus/index.html is a 3-column layout: an image column, the form in the middle column, and another image column.
  • The form has name, address, email, and comments (the brief’s fields), each with a <label>.
  • The State / Province menu is written by WebDNA from my databases, grouped by country, and sends the abbreviation (AL, not Alabama).
  • The form uses method="post" and sends to thankyou.html, which also wears my full design.
  • A hidden field plus a [showif] around [sendmail] means opening thankyou.html directly sends nothing.
  • The email goes to my own address and holds every field from the form, including the state, plus the date, time, and IP address of the sender (the brief asks for all three).
  • Submitting the form delivers a real email to my inbox with every value filled in.

Part 2: Admins

The private pages
Part 2Admins
0 of 0 done

Shared Parts: Every Admin Page built once, used everywhere

Same rule as the front end: the admin pages share their parts. The State and Country lists below do not repeat these items.

  • My admin landing page is amp/27admin27/index.html, and the Admin link in my top nav opens it.No login yet. That comes later in the project.
  • Every admin page uses the same vars.inc, header, footer, and style.css as the public site, so it has the same look and feel.
  • An admin nav include (adminnav.inc) sits just below the header on every admin page, with links to the admin home, States, and Countries.
  • Every admin page is only: vars.inc, the processing block (add and edit pages only), titlevar, the header and admin nav includes, that page’s own content, and the footer include. Nothing shared is copied into a page.
  • In every [append] and [replace], each typed value is wrapped in [url]...[/url], pairs are joined with &, and the field names match the .hdr file exactly.

The State Admin from My First Admin

  • amp/27admin27/state/ has three pages: index.html, add.html, and edit.html.
  • The list shows every state, active or not, sorted by name, with country names (not numbers) from [lookup]. It has no form on it, links to Add, and each row has an Edit link that carries its SKU as skuvar.
  • Add: the form posts to [thisurl] with f_ field names, a hidden action, a country menu, and a status menu. The processing block appends with autonumber=SKU, closes the database, and redirects to the list.
  • Edit: every box is filled with [input], the right country and status are selected, and the [replace] uses eqSKUdatarq=[skuvar] so it changes only that one record.
  • A state added through the admin saves its full name, even with an ampersand (Trinidad & Tobago), and appears in the contact menu under its country. Set to Inactive, it leaves the menu.

The Country Admin same pattern as the State Admin

  • amp/27admin27/country/ has three pages: index.html, add.html, and edit.html, reached from the Countries link in the admin nav.
  • The list shows every country, active or not, sorted by name, with no form on it, a link to Add, and an Edit link on each row.
  • Add works the same way as the state add: [thisurl], f_ fields, hidden action, append with autonumber=SKU, close, redirect. The fields match country.hdr.
  • Edit fills every box with [input] and replaces only the one record by its SKU.
  • A country added through the admin appears in the State Admin’s country menu. Set to Inactive, it leaves the contact page menu.

Clean Data

  • No test records are left in state.db or country.db.

All Checked?

What comes next

If every box in both parts is checked, you are caught up. Your section pages exist, but the database-driven content for these is still ahead in Aimee’s brief. It is not on this checklist yet, but you can start planning it: sketch the page, list its database fields, and decide which tags it needs.

  • About Us, with a random gallery image
  • Venues, with photos tied to each venue
  • Testimonials / Reviews
  • My Work gallery with data-driven category buttons
  • Blog / Journal with comments and an archive
  • Client Login, with every login recorded
  • Admins for the rest of the tables, and a login for the admin
  • Include editor, client schedules, and calculators

My Notes