CiTi · Computer Coding · Year One · Unit 4

Aimee Mohr Project

The AMP project: read the brief before you build anything

Saved

Student Info

Name
Period
Date

Project Assets

Bookmark this

Your go-to page for this project

https://dev.citicoders.org/citi/coding/ampassets/

Images and other project files are here. The databases are released a few at a time as the project goes on, so check back often.

The Project

Your next big project starts with a client. Aimee Mohr is a professional photographer. She needs a website that shows her work, and she also needs a private place where she and her clients can run the business: log in, see previews, approve photos, and keep a schedule.

That is a data-driven web application. Today you are not building it. You are reading the client’s brief the way a developer does on day one: find out how big it is, how it breaks into pieces, and what you already know how to do.

Learning goals: understand the fundamentals of building a data-driven web application, and gain experience managing a full web project.

Two Layers

Public vs private

The brief describes two things stacked on top of each other. Everything in the top layer is open to any visitor. Everything below the login wall needs a password.

Public site

Anyone on the internet can visit these pages. Some pull their content out of a database.

Web application

Behind the login. The photographer and her clients use it to manage the business.

↑ public  ·  login wall (cookies remember who you are)  ·  private ↓

The Client’s Brief

Public site: 8 pages

Read each one. Underline every phrase that mentions a database, a login, or an email.

1Homepage

Top navigation with pull-down selections for admin forms. Include files for header, nav, vars, and footer. Shows a brief of the latest blog post and a randomly rotating image from the gallery.

2Contact Page

Form with name, address, email, and comments. Email is delivered with the date, time, and IP address of the sender. Other input items may be requested by the client.

3About Us Page

General body copy (text supplied by the client), coupled with a random gallery image to the left or right of the copy.

4Venues

A database-driven listing of venues the client has used or can use. Pictures from various gallery records are tied to each venue and show up dynamically when it is selected.

5Testimonials / Reviews

A database-driven area that displays reviews and testimonials about the client. Each one allows an image, the quote, and a link to a supporting album.

6Client Login

A database-driven area where clients log in, see, and approve preview albums of photoshoots. The admin also sees editing options for site content from this login. ALL logins MUST be recorded in a login database.

7My Work

A photo gallery with descriptions of the client’s categories. Each photo is clickable: a larger view, then a full-size view. Category buttons must be data driven, for addition and sorting. A JavaScript lightbox is acceptable.

8Blog / Journal

Title, date, and body copy, with an admin section to write posts. Logged-in users can comment; general visitors read the comments only. Body copy is edited with a JavaScript WYSIWYG editor. A full archive shows previous entries.

Design Direction

Public site: how it should look

Aimee also told us how the site should look. A photographer’s site is a frame for her photos, so the design has to stay out of their way.

ALow-Color Interface

Keep the interface quiet so it does not compete with the photos. The photos are the color on the page.

BMega Footer

A large footer on every page with site navigation and social media links.

CFixed Background Image(s)

Background images that stay put while the page scrolls, with the content floating on top of them. Also called a parallax background. A true parallax effect, where the background moves at a different speed than the content, is desirable.

Code Rule: Colors

Every color in your CSS must be a hex code or an rgb value, such as #333333 or rgb(51, 51, 51). Do not use HTML color names like white, gray, or navy.

In my own words, the site should feel

The design item I would have to look up how to do is

The Web Application

Behind the login: 5 parts

These are in addition to everything above.

9Password-Protected Section

Cookies record the login and keep a history of logins. Needs a logins table (usernames and passwords) and a user history table (time, date, IP address, login info).

10Include Editor

A form-based editor that lets admins edit the include documents from the browser, without FTP.

11Client Databases

Client contact info, with multiple contact types (such as email and phone).

12Image Categories & File Info

Tables for image categories and file information, with editing forms for adding new ones.

13Client Schedule & Calculators

Databases for client schedules and delivery of session previews. Clients get a specific login and an automated email with their login info. The system records when a client logs in and sees a session preview.

Sort the Brief

Check all that apply

For each of the 13 requirements, decide: does it need a database to store or look up information? Does it need a login so only certain people can use it? It can need both, one, or neither.

#RequirementDatabaseLogin
Public site
1Homepage
2Contact Page
3About Us Page
4Venues
5Testimonials / Reviews
6Client Login
7My Work
8Blog / Journal
Web application
9Password-Protected Section
10Include Editor
11Client Databases
12Image Categories & File Info
13Client Schedule & Calculators

What surprised me about how many need a database?

WebDNA Tags You Will Need

From the brief

The brief ends with a list of the WebDNA tags this project uses. Tick the ones you have already used. For every tag, write a guess at what it does. Guessing wrong is fine; this list is the map of what you are about to learn.

TagI’ve used itWhat I think it does
showif / hideif / if then
search / foundItems
replace / append
include
setcookie
getcookie
listcookies
sendmail
formvariables
listvariables
text
format
math
function
writefile

Questions for the Client

Always ask early

A real developer would not start coding yet. What would you ask Aimee first? (Example: what should happen when someone types the wrong password?)

Question 1

Question 2

My First Move

If I started building tomorrow, the first page or part I would build is

because

The part that looks hardest to me is

Success Criteria

Check before you leave
  • I can explain in my own words what the client is asking for
  • I can tell a public page from the web application
  • I know every CSS color must be hex or rgb, never a color name
  • I can name the three design requirements for the public site
  • I sorted all 13 requirements by database and login
  • I ticked the tags I have used and guessed at the rest
  • I know what I already know and what I still need to learn
  • I wrote two questions for the client

My Notes