DBMS Lab Presentation (1) (1)
DBMS Lab Presentation (1) (1)
Database
System
Ubaid Bin Waris 2212416
Connectivity to
03 Frontend 06 Conclusion
Introduction
Key Features
Purpose
1. Data Management:
● A web-based platform designed to enhance university
○ Handle student records, course details, faculty assignments,
administration by automating tasks and improving efficiency.
and schedules.
○ Maintain examination timetables with accurate data
Technologies Used
integration.
2. CRUD Operations:
● Backend: A robust relational database ensures secure and
○ Supports adding, updating, and deleting records for students,
efficient data storage.
courses, and faculty.
● Frontend: Built with Next.js for an interactive and responsive user
○ Simplifies administrative processes with real-time data
interface.
updates.
● Automation: Reduces manual tasks, saving time and effort for
3. Reporting:
university staff.
○ Generate real-time reports for academic performance,
attendance, and schedules.
○ Provides insights for decision-making at all levels of university
operations.
Benefits
Library
● Fields:
○ book_id (PK): Unique identifier for
each book.
○ title: Title of the book.
○ author: Author of the book.
○ isbn (Unique): Unique identifier for
the book.
○ status (ENUM): Indicates if the book
is Available or Loaned.
○ loaned_to_student_id (FK): Links to
the student who has borrowed the
book.
● Purpose:
○ Manages library books and loans
efficiently.
Database Connectivity with Frontend (Next.js)
2- Database Connection
Use a connection utility to connect API routes to your database (SQL or NoSQL).
● SSR (Server-Side Rendering): Use getServerSideProps to fetch data on the server for pre-rendered pages.
● CSR (Client-Side Rendering): Use useEffect and fetch to load data dynamically on the client.