Skip to main content
corrected wording, and made two alternative approaches to answer my question
Source Link

im makingI am creating a cinema website forfocused on client serviceservices, where a clientclients can reserve a tickettickets for a movie,while he can navigatesmovies and browse the cinemacinema's schedule (dailyboth daily and week schedulesweekly) that. The schedules will be managed and generated by thean administrator which he, who has the privileges of adding and deletingauthority to add or remove movies from the daily and weekly schedules. I plan to display the week schedulecalendar as a UI element in my app, and I have already found a library that will facilitate this approach.

class diagram for cinema app enter image description here theThe Problem  : i need to know which implementation is better ? should i let the daily and weekly calendar (since i justI need to store every movie's date to use them later), is it necessary to keep these classes or there's another way to display the schedule toadvice on the clients best implementation approach?

  1. Should I keep the daily and weekly calendars as separate classes (since I primarily need to store movie dates for later use)?

  2. Should I keep only the dailyCalendar class to allow the admin to manage each day's schedule as a separate object in the calendar UI?

im making a cinema website for client service, where a client can reserve a ticket for a movie,while he can navigates the cinema schedule (daily and week schedules) that will be managed and generated by the administrator which he has the privileges of adding and deleting movies from the daily and the week schedule.

class diagram for cinema app the Problem  : i need to know which implementation is better ? should i let the daily and weekly calendar (since i just need to store every movie's date to use them later), is it necessary to keep these classes or there's another way to display the schedule to the clients ?

I am creating a cinema website focused on client services, where clients can reserve tickets for movies and browse the cinema's schedule (both daily and weekly). The schedules will be managed by an administrator, who has the authority to add or remove movies from the daily and weekly schedules. I plan to display the calendar as a UI element in my app, and I have already found a library that will facilitate this approach. enter image description here The Problem: I need advice on the best implementation approach?

  1. Should I keep the daily and weekly calendars as separate classes (since I primarily need to store movie dates for later use)?

  2. Should I keep only the dailyCalendar class to allow the admin to manage each day's schedule as a separate object in the calendar UI?

Source Link

Calendar modeling in class diagram

im making a cinema website for client service, where a client can reserve a ticket for a movie,while he can navigates the cinema schedule (daily and week schedules) that will be managed and generated by the administrator which he has the privileges of adding and deleting movies from the daily and the week schedule.

class diagram for cinema app the Problem : i need to know which implementation is better ? should i let the daily and weekly calendar (since i just need to store every movie's date to use them later), is it necessary to keep these classes or there's another way to display the schedule to the clients ?