A newspaper is setting up a website where people can write, read and comment on news stories. Your job is to design a database that can record the information needed for the website to work. The website lists a number of stories, each classified within one of about 10 sections ('Local news', 'World news', 'Opinion', 'Sport', Technology' etc). Each content of each story consists of a piece of text (the manager would prefer there to be no limit on the size) as well as a headline and a short "lede" (a lede is a sentence of 10 to 20 words that summarizes the story). Each story is written by one or more of our authors, who submit the story to our database on a particular date. If a story is considered worthy, it is edited by one of our editors, assigned to a section, and then published on a particular date. Authors and editors are staff members. It is not possible to be both an author and an editor. About each staff member we store their name and when they join (and later leave) the newspaper. We want to organize the website so that readers can click on a section, or an author's name, and see a list of all the relevant stories. On the main page we list each story's title (shown as a headline) and lede. Then if the reader clicks on the headline, we display the entire story. Our readers, if they wish, can choose to register themselves in our database, recording a username and password (they do not need to record their real name). Readers who register can then comment on stories, and on other readers' comments. They can also click "Like" on a story – and if they change their mind later, they can "Unlike" it. When we display a story we show the number of Likes the story has received and list out the comments below it. With each comment we show the username of the person who commented, and the time they commented. We aim for brevity in comments, and restrict them to 1024 characters.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

our task for this assignment is to complete a database design for the given case studies. Model the system described in the case study and draw a Physical Data Model using MySQL Workbench. Your diagram must conform to the notation used in this subject (object notation = ‘Workbench Simplified’, relationships notation = ‘Crows Foot’, show data types). If you include sub-types, place them inside a Layer with a note explaining their relationship to the super-type.

Open with ▼
CASE 1
A newspaper is setting up a website where people can write, read and comment on news stories. Your job is to
design a database that can record the information needed for the website to work.
The website lists a number of stories, each classified within one of about 10 sections ('Local news', 'World news',
"Opinion', 'Sport', 'Technology' etc). Each content of each story consists of a piece of text (the manager would prefer
there to be no limit on the size) as well as a headline and a short "lede" (a lede is a sentence of 10 to 20 words that
summarizes the story). Each story is written by one or more of our authors, who submit the story to our database on
a particular date. If a story is considered worthy, it is edited by one of our editors, assigned to a section, and then
published on a particular date. Authors and editors are staff members. It is not possible to be both an author and an
editor. About each staff member we store their name and when they join (and later leave) the newspaper.
We want to organize the website so that readers can click on a section, or an author's name, and see a list of all the
relevant stories. On the main page we list each story's title (shown as a headline) and lede. Then if the reader clicks
on the headline, we display the entire story.
Our readers, if they wish, can choose to register themselves in our database, recording a username and password
(they do not need to record their real name). Readers who register can then comment on stories, and on other
readers' comments. They can also click "Like" on a story – and if they change their mind later, they can "Unlike" it.
When we display a story we show the number of Likes the story has received and list out the comments below it.
With each comment we show the username of the person who commented, and the time they commented. We aim
for brevity in comments, and restrict them to 1024 characters.
Transcribed Image Text:Open with ▼ CASE 1 A newspaper is setting up a website where people can write, read and comment on news stories. Your job is to design a database that can record the information needed for the website to work. The website lists a number of stories, each classified within one of about 10 sections ('Local news', 'World news', "Opinion', 'Sport', 'Technology' etc). Each content of each story consists of a piece of text (the manager would prefer there to be no limit on the size) as well as a headline and a short "lede" (a lede is a sentence of 10 to 20 words that summarizes the story). Each story is written by one or more of our authors, who submit the story to our database on a particular date. If a story is considered worthy, it is edited by one of our editors, assigned to a section, and then published on a particular date. Authors and editors are staff members. It is not possible to be both an author and an editor. About each staff member we store their name and when they join (and later leave) the newspaper. We want to organize the website so that readers can click on a section, or an author's name, and see a list of all the relevant stories. On the main page we list each story's title (shown as a headline) and lede. Then if the reader clicks on the headline, we display the entire story. Our readers, if they wish, can choose to register themselves in our database, recording a username and password (they do not need to record their real name). Readers who register can then comment on stories, and on other readers' comments. They can also click "Like" on a story – and if they change their mind later, they can "Unlike" it. When we display a story we show the number of Likes the story has received and list out the comments below it. With each comment we show the username of the person who commented, and the time they commented. We aim for brevity in comments, and restrict them to 1024 characters.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Enhanced ER Model
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education