Skip to content
Menu
  • Web Design Business
  • Web design Fundalmentals
City Kitty Design

Web Design Lezione 1

Posted on October 3, 2017


Web Design Lezione 1
Sviluppo della traccia di progetto per l’esame di Web Design

—————————————————–
Project Requirements

The task is to create a book review website. The first page contains the menu and a welcome message.
The menu can be found on every page and includes the following items: Register, Login, Review, Books, Delete registration, Log out, that are links looking buttons.
The Registration page contains a form with the following types of fields: text, password, number, select, radio, checkbox, submit, and fieldset, legend elements. Each field must have “label” attribute correctly implemented.
The Login page contains two input fields: one for user name, and one for password, and the submit button.
On the Books page will be listed all books in a table, with their attributes, reviews, and the review’s username. The table must contain some header cells that span many columns. In the table each normal (td) cell must have “headers” attribute correctly implemented.
If the user is not logged in, the Review page contains only the text: “You must be logged in to review.” If the user is logged in, the Review page contains a form for the purpose of recording a book (fields like author, title, etc.), including a textarea field for review, and a submit button. Each field must have “label” attribute correctly implemented.
The site works as follows. If a user wants to review, he must log in (of course, for this purpose, he must register once before). After logging in, if the user wants to review several books, for each book he must click on the Review link (button), enter the book data and the review, of course, without having to login again for a new book review.
When the user clicks on the Delete registration or Log out menu items, the appropriate action will be executed, provided that the user had been logged.
In order to track user switching between different pages you must implement session tracking, that will also have to be functional, when the user disables cookies. This mean, that the session tracking must be implemented not only using session_start(); but also using hidden form field and URL rewriting methods.
To solve this problem the object-oriented approach should be used.
The database and data tables should be set up as follows automatically. When you need to insert a new row of data in the database, you have to check whether the database and the table already exist and, if not, you have to create them. To connect to the database server you have to use the user name “root” and the password is ” (empty string), as the default is in XAMPP, and the name of the database must be ‘books’.
For the Books page you should prepare a dedicated CSS file for print styling which will take effect automatically when the user wants to print the page, and in which the content, the units and formatting are set in accordance with the printed page as follows:
the menu will not be printed;
you can not use pixels on the printed page;
the user does not want to waste the paper, therefore the entire width of the printed page shall be filled with content.
Only XHTML or HTML5, CSS and PHP languages can be used to solve the problem.
The CSS codes should be written as separate files, so the (X)HTML files do not contain CSS codes. Whenever possible, the PHP codes should also be placed in separate files.
All the client-side (ie generated HTML) pages of the project must conform to the XHTML 1.0 strict or HTML5 standard requirement system. The fulfillment of standardization (validity of the page) can be checked on the http://validator.w3.org/ website.
Do not use programs downloaded from the Internet and libraries.
The project should be uploaded to the system CooSpace in the Tasks part. There is no deadline for the submission of the project, but I need 2-3 weeks for evaluation.
—————————————————–

Recent Posts

  • The Ultimate Guide to Choosing the Right Marketing Company in Charlotte
  • Unlocking Growth: How a Marketing Company in Charlotte Can Elevate Your Business
  • Top Marketing Companies in Charlotte: How to Choose the Right One
  • Finding the Right Marketing Company in Charlotte: A Guide for Local Businesses
  • Finding the Best Marketing Company in Charlotte: A Comprehensive Guide

RSS feed: Web Design News Web Design News

  • JavaScript SpeechSynthesis API November 20, 2025
    As the web continues to be the medium for all users, standards bodies need to continue to provide new APIs to enrich user experience and accessibility. One underused API for unsighted users is speechSynthesis, an API to programmatically direct the browser to audibly speak any arbitrary string. The Code You can direct the browser to […]
  • Fix “This video format is not supported” on YouTube TV November 17, 2025
    Setting up a new computer is bliss — no old, unused apps and the machine performs much better than the previous. Unfortunately, you may encounter new problems based on the new hardware. One such issue I encountered with my new MacBook was a “This video format is not supported” message when I went to YouTube […]
  • Easy way to upload, transform and deliver files and images (Sponsored) March 24, 2025
    Managing media is a really difficult task if you try to do all of it yourself, especially if the media comes from other sources. The file can be submitted in any state and size, but what if you need something really specific? You can code it all yourself or you can use an awesome service […]
  • How to Download a YouTube Video or Channel September 4, 2024
    The ability to download media on the internet almost feels like a lost art. When I was in my teens, piracy of mp3s, movies, and just about everything else via torrents and apps like Kazaa, LimeWire, Napster, etc. was in full swing. These days sites use blob URLs and other means to prevent downloads. Luckily […]
  • How to Add a Header to a curl Request August 3, 2024
    curl is one of those great utilities that’s been around seemingly forever and has endless use cases. These days I find myself using curl to batch download files and test APIs. Sometimes my testing leads me to using different HTTP headers in my requests. To add a header to a curl request, use the -H […]
  • Case Insensitive CSS Attribute Selector June 19, 2024
    CSS selectors never cease to amaze me in how powerful they can be in matching complex patterns. Most of that flexibility is in parent/child/sibling relationships, very seldomly in value matching. Consider my surprise when I learned that CSS allows matching attribute values regardless off case! Adding a {space}i to the attribute selector brackets will make […]
  • How to Set Date Time from Mac Command Line June 17, 2024
    Working on a web extension that ships to an app store and isn’t immediately modifiable, like a website, can be difficult. Since you cannot immediately deploy updates, you sometimes need to bake in hardcoded date-based logic. Testing future dates can be difficult if you don’t know how to quickly change the date on your local […]
  • How to Retrieve WiFi Password on Windows May 13, 2024
    Remembering the WiFi password when on a guest network is never easy. Even worse is when it’s no longer posted and someone else is asking you for it. Luckily there’s a built in Windows command to recover the password of a given WiFi network. The Shell Code Open cmd and execute the following command: netsh […]
  • How to Fix: Windows WASD Keys Reversed with Arrow Keys May 2, 2024
    This past weekend I had the opportunity to be what every father wants, if only for a moment: the “cool dad”. My wife was out of town and my youngest son wanted to play PUBG. I caved in, taught him the basic FPS key binds, and he was having a great time. While he was […]
  • HTML popover Attribute April 15, 2024
    Modals have been an important part of websites for two decades. Stacking contents and using fetch to accomplish tasks are a great way to improve UX on both desktop and mobile. Unfortunately most developers don’t know that the HTML and JavaScript specs have implemented a native modal system via the popover attribute — let’s check […]

Related Sites

CatNFTs.io

©2026 City Kitty Design