Managing Events Using Calendar Page - Part 36

Tech Mining
16 Dec 202208:41

Summary

TLDRThis Tech mining video tutorial guides viewers through creating an event calendar with an event report page, an event form page for modifications and new event generation, and a calendar page with interactive features. It covers the setup of a 'demo tasks' database table, the creation of pages for displaying and managing events, and the implementation of a drag-and-drop utility for rescheduling events. The video also demonstrates how to modify event details and reflects changes in real-time on the calendar, offering a comprehensive guide to building a functional event management system.

Takeaways

  • πŸ“… The video outlines the creation of an event calendar with specific pages for reporting and managing events.
  • πŸ” The first page is an 'event report page' that displays data from the 'demo tasks' database table.
  • πŸ“ The second page is an 'event form page', allowing modification of existing events and creation of new ones.
  • πŸ“† Clicking on a date number on the calendar page brings up the event form page for that specific date.
  • 🎢 The script mentions the use of music in the video, indicating a multimedia learning experience.
  • πŸš€ The video provides steps to add a 'demo tasks' table and related data to the database.
  • πŸ’Ύ Viewers are instructed to download source code from the video description for further reference.
  • πŸ–₯️ The 'demo tasks' table creation is shown with sequence and a trigger, and can be viewed in the SQL Workshop.
  • πŸ“Š The calendar page creation process is detailed, including options for date and time display settings.
  • πŸ”— The script explains how to create an event report and form page, and how to check them in the page designer.
  • πŸ”„ The video covers the functionality of changing an event's date and the corresponding database update.
  • πŸ”„ It also introduces a drag and drop utility for moving events to new dates, with immediate database reflection.
  • πŸ”‘ The script mentions using the primary key value for calendar events in the drag and drop feature.
  • πŸ› οΈ The final part of the script discusses the PL SQL code involved in the event calendar, including Apex substitutions for start and end dates.

Q & A

  • What is the main purpose of the video?

    -The main purpose of the video is to guide viewers through the process of creating an event calendar with an event report page and an event form page, which allows users to display, modify, and generate new events.

  • What are the two primary pages created in the event calendar system?

    -The two primary pages created are the event report page, which displays data from the database, and the event form page, which allows users to modify existing events and generate new ones.

  • How does the calendar page interact with the event form page?

    -When a user clicks on a date number on the calendar page, the event form page appears, enabling the user to either create a new event or modify an existing one.

  • What feature allows users to change the date of an event?

    -The drag and drop utility allows users to change the date of an event by dragging it to a new date on the calendar.

  • How does the system handle the time component of the date?

    -If the start date or end date columns do not include time components, they will be shown as 12 am. Users can choose to display the time portion of the date by selecting 'Yes' for the Showtime option.

  • What is the significance of the 'class' column in the event table?

    -The 'class' column helps in styling events using different colors, allowing for better visual differentiation and organization of events.

  • How can users create a new task from within the calendar?

    -Users can create a new task by clicking on any empty cell in the calendar, which will open the event form page where they can input the task details.

  • What happens when a user clicks on an existing entry in the calendar?

    -When a user clicks on an existing entry, the event form page opens, allowing the user to access and modify the details of the existing task.

  • What are the status field options available in the demo task table?

    -The status field in the demo task table has four options: open, on hold, pending, and closed, which can be used to indicate the current state of a task.

  • How does the drag and drop feature affect the database?

    -When a task is dragged and dropped to a new date, the date change is reflected in the demo tasks table in the database, updating the event's date accordingly.

  • Where can viewers find the source code used in the video?

    -Viewers can download the source code from the video description, specifically in the 'part 11' folder.

Outlines

00:00

πŸ“… Creating an Event Calendar System

This paragraph introduces the video's objective to create an event calendar system. It involves setting up an event report page to display data from the 'demo tasks' database table and an event form page for modifying existing events and generating new ones. The calendar page is interactive, allowing users to click on a date to bring up the event form and change event dates. The video also promises to cover the creation of a drag-and-drop utility for events, which will update both the calendar display and the database. Initial steps include adding the 'demo tasks' table and its data to the database, followed by downloading the source code provided in the video description.

05:04

πŸ” Exploring the Event Calendar Pages

The second paragraph delves into the functionality of the event calendar system. It describes how to check the created pages, including the calendar page, event report, and event form pages. The 'supplemental information' property is highlighted to show the user assignment of tasks, while the 'class' column is used for styling events with different colors. The paragraph explains how to create a new task from the calendar and access existing tasks. It also details the process of creating and modifying tasks, including changing task status options in the 'demo task' table. The video concludes with a demonstration of the drag-and-drop feature, which allows users to move events to different dates and see the changes reflected in real-time in the database.

Mindmap

Keywords

πŸ’‘Event Calendar

An 'Event Calendar' is a digital or physical tool used to organize and display events in chronological order. In the context of the video, it is a key component of the project where the calendar page is created to display and manage events. The script mentions the creation of a calendar page that interacts with other pages to display and modify events.

πŸ’‘Event Report Page

The 'Event Report Page' is a specific type of interface within the system that displays data from a database, in this case, from the 'demo tasks' table. It is one of the pages created in the video to visualize the events and is integral to the overall event management system being developed.

πŸ’‘Event Form Page

The 'Event Form Page' is a user interface that allows users to input, modify, or generate new events. It is a crucial part of the video's project, enabling interaction with the event data, such as creating new tasks or changing the date of existing events.

πŸ’‘Database

A 'Database' is an organized collection of data, typically stored and accessed electronically. In the video, the database is where the 'demo tasks' table and its data are stored, and it is the backend storage for the event calendar system being created.

πŸ’‘Drag and Drop

The 'Drag and Drop' feature allows users to move items on a graphical interface by clicking and dragging the item to a new location. In the video, this utility is implemented to change the date of an event visually on the calendar and correspondingly update the database.

πŸ’‘Primary Key

A 'Primary Key' is a unique identifier for a record in a database table. In the context of the video, the primary key value for calendar events is used to uniquely identify each event for the drag and drop functionality, ensuring accurate updates in the database.

πŸ’‘PL/SQL

PL/SQL is Oracle's procedural language extension to SQL for developing database applications. In the video, PL/SQL code is used to handle the logic for the drag and drop feature and to update the start and end dates of events in the database.

πŸ’‘Apex

In the context of the video, 'Apex' likely refers to Oracle Application Express (APEX), a low-code development platform for creating web applications. The script mentions 'Apex dollar' which is a substitution variable used within APEX to reference new values in the database.

πŸ’‘Status Field

The 'Status Field' in a database table is used to indicate the state or condition of a record. In the video, the status field in the 'demo tasks' table has options like 'open', 'on hold', 'pending', and 'closed', which are used to track the progress or status of tasks.

πŸ’‘Supplemental Information

Supplemental Information provides additional details beyond the primary data. In the video, the 'Supplemental Information' property is mentioned as displaying the name of the user to whom the task is assigned, offering more context about the task's ownership.

πŸ’‘Class Column

A 'Class Column' in the context of the video is used for applying CSS styles to differentiate and color-code events in the calendar. This helps in visual organization and quick identification of events based on their type or category.

Highlights

Introduction to creating an event calendar with an event report page and an event form page.

The event report page displays data from the 'demo tasks' database table.

The event form page allows modification of existing events and creation of new ones.

Calendar page interaction: clicking a date number brings up the event form page.

Changing an event's date number moves the event to a new date on the calendar.

Introduction of a drag and drop utility for event date changes.

Drag and drop updates both the calendar and the database.

Instructions on adding the 'demo tasks' table and data to the database.

Source code for the project is available for download.

Demonstration of creating the 'demo tasks' table with sequence and trigger.

Viewing the table and data fields in the database using SQL Workshop.

Creating the calendar page with options for date and time display.

Details on how to create the event report and form pages.

Checking the functionality of the created pages in the page designer.

Using the supplemental information property to display user assignment names.

Styling events with different colors using the 'class' column.

Creating a new task from the calendar by clicking an empty cell.

Accessing and modifying an existing task through the event form page.

Status field options in the 'demo task' table: open, on hold, pending, and closed.

Immediate reflection of task creation in the calendar and 'demo tasks' table.

Switching event dates and observing the update on the calendar and in the database.

Enabling drag and drop functionality for calendar events.

PL SQL code explanation for handling start and end date substitutions and primary key values.

Final demonstration of event movement through drag and drop and its effect on the database.

Conclusion of the tutorial with a thank you note to the viewers.

Transcripts

play00:00

a very warm welcome to Tech mining

play00:02

in this video we are going to create an

play00:05

event calendar

play00:06

to complete this task we need to create

play00:09

some pages

play00:10

this first page is an event report page

play00:13

which is displaying the data of database

play00:15

table demo tasks

play00:17

this second page is an event form page

play00:19

through which we can modify existing

play00:22

events

play00:23

and can also generate new events

play00:28

on the calendar page when we click on a

play00:30

date number that event form page appears

play00:32

again

play00:32

[Music]

play00:36

changing the date number of an event

play00:38

will move that event to the new date

play00:42

here we'll also create the drag and drop

play00:44

utility of events

play00:46

this drag and drop action will change

play00:48

the date of an event and database also

play00:52

[Music]

play00:55

let's start creating this segment

play00:58

first execute these following steps to

play01:00

add demo tasks table and its regarding

play01:02

data to the database

play01:04

[Music]

play01:08

now download the source code from this

play01:11

video description then in part 11 folder

play01:13

you will get the material used in the

play01:15

video

play01:15

[Music]

play01:37

foreign

play01:43

as you can see demo tasks table is

play01:46

created along with its sequence and a

play01:48

trigger with zero errors you can view

play01:51

this table in the database by expanding

play01:53

SQL Workshop menu then click object

play01:55

browser

play01:57

these are the columns and data fields of

play01:59

this table

play02:00

by clicking this data tab we can see the

play02:03

existing data in this table

play02:04

[Music]

play02:10

let's create the calendar page

play02:13

foreign

play02:15

[Music]

play02:45

foreign

play02:49

[Music]

play03:19

foreign

play03:22

if the start date or end date columns do

play03:24

not include time components they will be

play03:27

shown as 12 am

play03:28

selecting the end date column will

play03:30

display the duration of events

play03:34

if you want to also display the time

play03:37

portion of the date then select yes for

play03:40

Showtime

play03:41

weekend day views will only be displayed

play03:43

when Showtime is set to yes

play03:46

[Music]

play03:52

after the creation of the calendar page

play03:55

it's time to create event report and

play03:57

event form page

play04:00

foreign

play04:04

[Music]

play04:34

foreign

play04:38

[Music]

play05:04

after report and form page creation

play05:06

let's check these pages

play05:11

foreign

play05:15

[Music]

play05:27

calendar page 401 in the page designer

play05:31

[Music]

play05:39

this supplemental information property

play05:41

displays the name of the user the task

play05:43

is assigned to

play05:45

foreign

play05:49

class column helps us to style the

play05:52

events using different colors

play05:54

[Music]

play05:57

this step will help you to create a new

play05:59

task from within the calendar

play06:01

this step assumes that you have already

play06:03

created event form page where we create

play06:05

a new task

play06:08

[Music]

play06:10

this second step will help us to access

play06:12

to an existing task

play06:14

when the user clicks an existing entry

play06:16

the event form page will open

play06:19

foreign

play06:21

[Music]

play06:29

run the page click manage event entry

play06:34

create a new event by clicking any empty

play06:36

cell in the calendar

play06:37

[Music]

play06:54

in the current scenario status field

play06:57

have four option in the demo task table

play06:59

open on hold pending and closed you can

play07:04

use anyone you like

play07:10

the task is created in the demo tasks

play07:12

table and it is also reflected

play07:14

immediately here on the calendar

play07:16

when you click the task it opens in the

play07:18

events form where you can modify its

play07:20

contents

play07:22

here we are switching the event date

play07:23

from 16 to 17.

play07:26

as you can see the event is successfully

play07:28

moved forward to the new date

play07:31

let's explore the last important part of

play07:34

the calendar segment drag and drop

play07:37

this column will hold the primary key

play07:39

value for our calendar events

play07:41

turn on this drag and drop switch

play07:43

[Music]

play07:47

in this PL SQL code the Apex dollar news

play07:50

start date substitution Returns the

play07:52

revised start date Apex dollar new end

play07:54

date Returns the revised end date for

play07:56

duration-based events an apex dollar PK

play07:59

value Returns the value of the column

play08:01

specified in the primary key column

play08:04

refresh your browsers window

play08:07

now we are free to move our events

play08:09

anywhere

play08:10

drag and drop a task to some other date

play08:12

and observe the change in the demo tasks

play08:15

table in the database

play08:17

[Music]

play08:32

that's it for now

play08:34

hope this video was helpful and you

play08:36

enjoyed it

play08:38

thanks for watching

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Event CalendarTask ManagementDatabase IntegrationDrag and DropEvent SchedulingDynamic FormsUser AssignmentData VisualizationWeb DevelopmentTech TutorialInteractive UI