← All Lessons Project Handout →

CiTi · Computer Coding · Year One · Unit 4

Meet the Client: The AMP Project

An introduction to the next large project: reading a real client brief for a data-driven website and web application

Program Computer Coding: Year 1
Unit 4: Building Data-Driven Websites & Client Management
Duration 1 class period (~45 min)
Grouping Whole class, then individual
Handout Brief + sorting sheet

Essential Question

From the Year 1 curriculum map
What purposes do databases serve? What distinguishes relational databases? What is normalization and why?

Today adds a project-sized version of the first question: what would a real business ask a data-driven site to do?

Curriculum Map Alignment

From Yr 1 curriculum

Concept / Knowledge / Content

  • Functional database concepts and business operations
  • Tables and forms in web design
  • Server-side technology for form processing

Skills / Tasks

  • Describe the role of databases in business
  • Connect HTML forms to server-side scripts
  • Preview of relational structure: primary and foreign keys
Standards touched: Site Planning and Design (reading a client brief) · Career Readiness (client communication)
  • Standard 3 Site Planning and Design
    • Obj 1 Create a website plan and pitch for a client

Program Connections

Skills & Portrait alignment

Program Skills: What I’m Building Toward

Hands-On:

#3 Build and deliver a website from a client brief
#4 Design a relational database (preview)
#6 Work a problem through Define → Prepare → Try → Reflect

Professional:

#1 Ask for help early
#4 Communicate to a non-technical audience
#5 Work through ambiguity

NYS Portrait of a Graduate

Critical Thinker Effective Communicator Reflective & Future Focused

Guaranteed & Viable Curriculum Framework

3 Dimensions for this lesson

Integrated Academic Knowledge

Reading a long technical document closely, sorting requirements by type, and explaining what a business needs in plain language.

Employability Skills

Turning a client’s wish list into questions, and being honest about what you know and what you still have to learn.

Technical Skills

Telling a public page from a database-driven page, spotting where a login is needed, and matching each requirement to the WebDNA tags that will carry it.

Learning Intention

“Unwrapped” from the standard

Students will read a client brief for a full web project and break it into parts, deciding which parts are plain pages, which need a database, and which need a login, so they can see the size of the project and where their skills stand today.

Success Criteria

  • I can explain in my own words what the client is asking for.
  • I can tell a public page from the password-protected web application.
  • I can say which requirements need a database and which need a login.
  • I can name the three design requirements for the public site.
  • I can match requirements to the WebDNA tags I will need.
  • I can name what I already know and what I still need to learn.
  • I can write two questions I would ask the client.

Authenticity Continuum

Where this project sits
Instruction & Skill Practice
Teacher-Designed Simulation
Realistic Industry Task
Authentic Audience / Client
Product, Service, Impact, Solution

The brief reads the way a working photographer would write it: a business that needs a public face and a private way to run clients, previews, and a blog. Students are not building it today. They are learning to read it.

Materials & Prep

  • Project assets page: https://dev.citicoders.org/citi/coding/ampassets/. Students use it all project long. Images are there now; databases are released gradually, so tell students to check it often.
  • Student handout (y1-u4-l4-so): the brief is printed on it, so nothing else is needed
  • The original two-page client brief PDF, if you want to show the real document on the projector
  • Whiteboard split into two columns before class: PUBLIC SITE and WEB APPLICATION
  • No computers needed for most of the period

Project at a Glance

Teacher answer key

The client is Aimee Mohr Photography. The brief has two layers: the public website anyone can visit, and a password-protected web application behind it where the photographer and her clients do the real work. Students will build both, so today is about seeing the whole shape.

RequirementDatabase?Login?Main WebDNA tags
Public site
Homepage. Top nav with pull-downs; header, nav, vars, footer includes; brief of the latest blog post; random gallery imageYesNoinclude search foundItems
Contact. Name, address, email, comments; mail with date, time, and IP of senderNoNoformVariables sendmail showif
About Us. Body copy plus a random gallery image, left or rightYesNoinclude search
Venues. Database-driven list; gallery pictures tied to each venue, shown when selectedYesNosearch foundItems showif
Testimonials / Reviews. Image, quote, and a link to a supporting albumYesNosearch foundItems
Client Login. Clients log in, see and approve preview albums; every login recorded; admin sees editing optionsYesThis is the doorsearch append setcookie getcookie showif
My Work. Gallery with data-driven category buttons, thumbnail then full size, JavaScript lightbox is acceptableYesNosearch foundItems formVariables
Blog / Journal. Title, date, body; logged-in users comment, visitors read-only; WYSIWYG editor; full archiveYesTo commentsearch append replace getcookie format
Web application (behind the login)
Password-protected section. Cookies keep the login; a logins table and a user history table (time, date, IP)YesYessetcookie getcookie listCookies append
Include editor. Form-based editing of the include files from the browser, no FTPNoYesformVariables writefile include
Client databases. Contact info with more than one contact type (email, phone)YesYessearch append replace
Image categories and file info. Tables plus editing forms for adding new onesYesYesappend replace search
Client schedule and calculators. Schedule and preview-delivery data; client logins with automated login email; record when a client sees a previewYesYesmath format function sendmail append

Tag lists are the best fit for each requirement, not the only possible answer. Accept any reasonable match and ask the student why.

Design Direction

Public site, from the client

Besides the pages, the client set three design requirements. They are short, but each one points at something students will have to build.

Low-Color Interface

The interface should not compete with the photos. Talk about neutral palettes and letting the images carry the color. This is a design judgment, so it makes a good discussion: what makes a page “loud”?

Mega Footer

A large footer with navigation and social media links. Connects straight to footer.inc: build it once as an include and every page gets it.

Fixed Background Image(s)

Also called a parallax background, which is the term students will find when they search. The background stays put while the content scrolls over it. A true parallax effect, where the background moves at a different speed than the content, is desirable. Students will need a CSS background that is fixed to the window, plus a content container that floats above it. Watch for readability: text sitting directly on a busy photo is hard to read, so the container needs its own background or some transparency.

Code Rule: Colors

All colors in the students’ CSS must be hex or rgb values. HTML color names (white, gray, navy) are not allowed. This pairs well with the low-color requirement: a restrained palette is easier to control with exact values.

Today students only name these and say which one they would have to look up. Do not teach the CSS yet.

Lesson Flow

One period
PhaseWhat happens
Hook
5 min
Before the handout: “A professional photographer hires you. What does she need on the internet?” Take answers on the board (gallery, contact, prices). Then: “What does she need that visitors never see?” (client previews, a calendar, a way to edit her own site). Keep the second list; the brief will confirm it.
Read the Brief
10 min
Hand out the sheet. Read each section aloud, students following along. Pause on the unfamiliar: WYSIWYG, lightbox, cookies, include files. Students underline every phrase that says database, login, or email. Then read the Design Direction together and have students fill in how the site should feel, in their own words.
Two Layers
8 min
Draw the line on the board: public site above, login wall, web application below. Ask where each hook-lesson idea belongs. Land the point: the login is the doorway between the two, and the brief says every login must be recorded. Name cookies as the thing that remembers who walked through.
Sort the Brief
10 min
Students fill the sorting table on the handout: for each of the 13 requirements, does it need a database, a login, both, or neither? Circulate. Use the answer key above. The usual surprise: almost everything needs a database, including the About page, because of the random image.
Skills Map
7 min
Show the 15 WebDNA tags the brief lists. Students tick the ones they have already used and guess what the rest do. Expect text, include, formVariables, sendmail, and showif / hideif to be ticked. Say plainly: this list is the map of the next several weeks, and nobody is expected to know the rest yet.
Closure
5 min
Students write two questions they would ask the client and the page they would build first, with one reason. Share two or three aloud. Collect nothing; the handout is theirs.

Teacher Notes

What to expect

Keep it an introduction

The brief is large on purpose. Resist walking through how each page will be built. The goal is that students leave thinking “that is a lot, and I can see how it breaks into pieces,” not “that is impossible.”

Connect back: includes, text variables, forms with sendmail, showif / hideif, and the relational-database lesson all show up in this brief. The Venues requirement (pictures from gallery records tied to a venue) is the relational idea from the game-store data map, one table pointing at another.

Not set here: grouping, point values, due dates, and the milestone plan. Add those when the build begins.

Assessment

Formative only: no grade today. Circulate during the sorting table and check that students can say why a requirement needs a database or a login. The skills map and the client questions show where each student starts, which is useful when you plan the build.