الأسبوع 4 · الوحدة ٢ «متطلبات ومراحل إنتاج المشروع» (١) مرحلة تصميم صفحات الموقع: مراحل المشروع الثلاث، مخطط صفحات الموقع، وظيفة كل صفحة، صفحتا الترويسة والاتصال تُكتبان مرة وتُضمَّنان · 3 دروس
1
Plan the pages before building
ICT Secondary 2 Term 1, Unit 2, Topic 1: pp. 29–39
GoalExplain why the pages are designed before they are built, and read a site scheme.
New words
page-design stage · the first stage of production, in which the pages, their jobs and their links are decidedsite scheme · a diagram showing the pages of a site and the links between themhome page · the start page from which a visitor reaches the other pageshyperlink · a piece of text or a picture that opens another page when clicked
Explanation
The dictionary project is produced in stages: first design the pages, then create the database tables, then create the site pages. In the design stage you decide the name of each page, what it is for, and what it contains. You also decide how a visitor moves around: from the home page to each task page, and back again. Time spent here is not wasted. A builder who starts typing without a design often has to rebuild pages when he finds a missing link or a forgotten task. The result of the stage is a site scheme. In ours the home page, index.php, links to five pages: add a term, search for a term, edit a term, delete a term and help. A good scheme is simple enough to read at a glance, and a classmate can understand it without any explanation.
Worked examples
Hana plans a small site for an invented reading club. Her scheme has a home page that links to three pages: books, members and loans. A classmate reads it and says at once what the site is for.
Page
Links lead to
index.php
add, search, edit, delete, help
add_term.php
home, search, help
help.php
home
A scheme must also show the way back. Omar lists, for each page, where its links lead. Every task page has a link back to the home page, so a visitor never gets stuck.
Class activity
Draw a scheme on paper for your own small site (a school club or a family recipe book): one home page and four other pages. Add arrows so that each page leads back home. Give your drawing to a classmate and ask what the site is for.
Practice
1
Name the three stages of producing the dictionary project in order.
Design the pages, create the database tables, create the site pages.
2
What is decided in the page-design stage?
The pages, what each is for, what it contains, and the links between them.
3
How many pages does the home page index.php link to in the scheme?
Five: add, search, edit, delete and help.
4
Why should every task page have a link back to the home page?
So that a visitor can always go back and never gets stuck.