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

Web Design Lezione 2

Posted on October 9, 2017


Web Design Lezione 2
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

  • How to Hire a Web Designer: 5 Steps
  • 5 Benefits Of Hiring Professional Web Design Companies
  • 8 tips for hiring a Web designer for your business
  • Top 5 Tips for Choosing a Web Designer
  • 7 Qualities of a Great Website

RSS Web Design News

  • Specify Node Versions with .nvmrc August 9, 2022
    I’ve heavily promoted nvm, a Node.js version manager, over the years. Having a tool to manage multiple versions of a language interpreter has been so useful, especially due to the complexity of Node.js package management. One tip I like to give new developers is adding a .nvmrc file to their repositories. The file contents is […]
  • How to Inject a Global with Web Extensions in Manifest V3 August 8, 2022
    For those of you not familiar with the world of web extension development, a storm is brewing with Chrome. Google will stop support for manifest version 2, which is what the vast majority of web extensions use. Manifest version 3 sees many changes but the largest change is moving from persistent background scripts to service […]
  • How Plugins Enhance The WYSIWYG Editing Experience (Sponsored) August 2, 2022
    WYSIWYG editors are one of the core components of any content management system (CMS). A well-coded, feature-filled WYSIWYG HTML editor can distinguish between a CMS users love and one they can’t stand.  While all WYSIWYG editors have a set of basic functionality, the power of plugins enhances the editing experience. Plugins allow WYSIWYG editors to […]
  • JavaScript Event.defaultPrevented July 27, 2022
    Whether you started with the old on_____ property or addEventListener, you know that events drive user experiences in modern JavaScript. If you’ve worked with events, you know that preventDefault() and stopPropagation() are frequently used to handle events. One thing you probably didn’t know: there’s a defaultPrevented proptery on events! Consider the following block of code: […]
  • 7 Ways to Optimize Performance for Your WordPress Site (Sponsored) July 18, 2022
    The vast majority of blogs, news websites, and information websites run on WordPress. While the WordPress developer team and community do their best to ensure wordPress is performant, there are a number of practices you can implement to keep your site blazing fast. Let’s look at some of them! Use Cloudinary WordPress Plugin for Media […]
  • How to Get Extension Manifest Information July 10, 2022
    Working on a web extension can be kinda wild — on one side you’re essentially just coding a website, on the other side you’re limited to what the browser says you can do in the extension execution environment. One change in that environment is coming January 2023 — pushing extensions to move to manifest version […]
  • How to Reverse an Animated GIF June 23, 2022
    Modifying visual media via code has always been a fascination of mine. Probably because I’m not a designer and I tend to stick to what I’m good at. One visual effect I love is seeing video reversed — it provides a sometimes hilarious perspective on a given event. Take this reversed water effect for example: […]
  • CSS :optional May 22, 2022
    A decade ago HTML and CSS added the ability to, at least signal, validation of form fields. The required attribute helped inform users which fields were required, while pattern allowed developers to provide a regular expression to match against an ‘s value. Targeting required fields and validation values with just CSS and HTML was very […]
  • Get a Random Array Item with JavaScript May 9, 2022
    JavaScript Arrays are probably my favorite primitive in JavaScript. You can do all sorts of awesome things with arrays: get unique values, clone them, empty them, etc. What about getting a random value from an array? To get a random item from an array, you can employ Math.random: const arr = [ "one", "two", "three", […]
  • Legacy String Methods for Generating HTML April 26, 2022
    I’m always really excited to see new methods on JavaScript primitives. These additions are acknowledgement that the language needs to evolve and that we’re doing exciting new things. That being said, I somehow just discovered some legacy String methods that you probably shouldn’t use but have existed forever. Let’s take a look! These legacy string […]
©2022 City Kitty Design