CiTi · Computer Coding · Year One · Unit 4
Everything your Aimee Mohr Photography site should have so far
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.
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.
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.
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._ only).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.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.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.footernav.inc.footer.inc has a [closedatabase] line for country.db and state.db.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.style.css has no color names like white, black, or gray./citi/coding/ampassets/. There are no copies of them in my own folders.style.css has no leftover rules that nothing on the site uses.amp/index.htmlThe homepage should already have the look and feel of your finished project.
amp/about/index.htmlThe 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.titlevar and a heading that says which section it is.amp/databases/ holds country.db, country.hdr, state.db, and state.hdr: the full lists from state_country.zip, not my 7-row sample.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.<label>.method="post" and sends to thankyou.html, which also wears my full design.[showif] around [sendmail] means opening thankyou.html directly sends nothing.Same rule as the front end: the admin pages share their parts. The State and Country lists below do not repeat these items.
amp/27admin27/index.html, and the Admin link in my top nav opens it.No login yet. That comes later in the project.vars.inc, header, footer, and style.css as the public site, so it has the same look and feel.adminnav.inc) sits just below the header on every admin page, with links to the admin home, States, and Countries.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.[append] and [replace], each typed value is wrapped in [url]...[/url], pairs are joined with &, and the field names match the .hdr file exactly.amp/27admin27/state/ has three pages: index.html, add.html, and edit.html.[lookup]. It has no form on it, links to Add, and each row has an Edit link that carries its SKU as skuvar.[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.[input], the right country and status are selected, and the [replace] uses eqSKUdatarq=[skuvar] so it changes only that one record.amp/27admin27/country/ has three pages: index.html, add.html, and edit.html, reached from the Countries link in the admin nav.[thisurl], f_ fields, hidden action, append with autonumber=SKU, close, redirect. The fields match country.hdr.[input] and replaces only the one record by its SKU.state.db or country.db.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.
and one