The Goal Of The Projects Throughoutthis Semesteris To Implement A P
The goal of the projects throughout this semester is to implement a “prototype” database system application for a eCommerce social-network system called UCOnline where users can explore information about books/music/software, rate your purchase, identify purchase price and see ratings of their friends. Below you will find the ERD deliverable requirements.
BUSINESS REQUIREMENTS ACROSS ALL ASSIGNMENTS
You will work with book/music/media information, user information, ratings of books, and users’ social network.
Each book has an id, title, publication date, publisher, ISBN, functional category, page count, price (publisher), and product description. There are 3 categories of book: fiction, non-fiction, and specialty. There are 2 categories of music: digital and media-based. An author can write one or more books. A musician can be a solo artist, part of a group, or both. An author can also be associated with one or more publishers. A musician/group/act can be associated with one or more music houses.
An author’s book can have one or more editions. A song and/or album can have more than one version/edition (i.e., EP, LP, CD, DVD, etc.). A publisher can have many authors and many books. A record company can have many artists associated and many albums associated with it. A record company can also be the publishing company (i.e., self-publishing). Many ISBNs can also be associated with a given publisher but only one ISBN per form of medium (i.e., the ISBN is the primary key regardless of the medium).
An author can write many books. An artist can write many songs, albums, etc. UCOnline needs to keep track of user ratings for each item sold in the online store (e.g., 1-5 and 1 for ‘Dislike’, to 5, for ‘Awesome!’). A particular user rates a particular item at a given time. A user cannot rate the same multiple times unless there are multiple editions of the item. Each edition can be rated separately.
Each user who submits a rating will be identified by a unique id and has a name, gender, age, and location. Nothing is anonymous. There is also a social network between users.
Users can send communication requests (i.e., instant messages/emails) to other users. Such requests can be accepted or ignored. Once accepted, the two users are considered ‘book buddies’. If ignored, the user can send the request again. We want to add a store when the requests were sent (timestamp), the result of the
requests, and when the request was answered (timestamp).
Paper For Above instruction
The implementation of a comprehensive database system for UCOnline requires meticulous attention to its multifaceted requirements encompassing media information, user interactions, and social networking features. This paper presents an analysis and design approach aimed at building a robust and scalable database prototype that aligns with the outlined business needs.
Media Data Management
Central to UCOnline's functionality is the management of various media types—books, music, and software—each characterized by distinct attributes and relationships. Books are catalogued with attributes like ID, title, publication date, publisher, ISBN, category, page count, price, and description. They are further differentiated into fiction, non-fiction, and specialty categories. Likewise, music media are classified into digital and media-based forms, with associated metadata such as editions and versions.
Entity relationship modeling involves creating entities for Books, Authors, Publishers, Editions, Musicians, Groups, Music Hoses, Songs, Albums, and Record Companies. Relationships such as authorship, publishing, editions, and the association between musicians and their groups or acts are modeled to capture the complex interconnections. For instance, a Book entity can be linked to multiple authors, illustrating authors' contributions across different works.
User Engagement and Rating System
UCOnline’s social interaction component necessitates detailed user data management, capturing fundamental information like name, gender, age, and location, assigned unique identifiers. The rating system requires tracking ratings for each item, recorded with timestamps, and differentiated by editions when applicable. This allows users to rate multiple editions of the same item separately while preventing multiple ratings of the identical edition by the same user.
Social Networking and Communication
The platform facilitates a social network where users can send friend requests—forming bonds termed 'book buddies' upon acceptance. Request metadata—such as timestamps, request results, and response times—are maintained to monitor interactions. If requests are ignored, users can resend requests, reinforcing the social connectivity.
This relational structure supports efficient querying of user relationships, communication history, and social interactions, forming the backbone of UCOnline’s social networking features.
Database Design and ER Modeling
Design consistency and integrity are prioritized by implementing normalization principles to reduce redundancy and enhance data consistency. Entities and relationships are depicted through an Entity-Relationship Diagram (ERD), capturing all business rules—such as one-to-many relationships between publishers and books, and many-to-many associations between authors and publications, or musicians and labels.
Implementing the ER diagram into a relational schema involves defining primary keys, foreign keys, and appropriate constraints. For example, ISBNs are primary keys per medium, ensuring unique identification across media formats. The user’s social relationships are modeled using associative entities to manage friendship requests and their statuses.
Conclusion
The development of UCOnline’s database system embodies a sophisticated integration of media management, user interaction, and social networking components. By adhering to detailed business requirements and employing sound database design principles, the prototype aims to deliver a scalable, efficient, and user-friendly platform that supports exploration, ratings, and social connectivity for multimedia content.
References
Elmasri, R., & Navathe, S. B. (2015). *Fundamentals of Database Systems* (7th ed.). Pearson.