Week 02 (4).pptx

st4132634 5 views 41 slides Jun 15, 2024
Slide 1
Slide 1 of 41
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41

About This Presentation

df s ff s f


Slide Content

niagaracollegetoronto.ca Course title :Design Patterns for Enterprise Development Code :PROG1322 Instructor's name : Session Number : Date : Spring 2024 

Week Topic Assessments and Activities Learning Objectives Week 1 ▪ Icebreaker Activity and self-introduction ▪ Explore LMS(Canvas) features, learn to communicate with instructors and peers through Canvas ▪ Familiarize with the TLP: Introduction to the learning objectives and outcome, Familiarize with the evaluation methods and weightage ▪Pre-requisite courses overview and Basic concepts related to the subject. Lecture and Discussions (Group Activity): Introduction to the software required and their functions which will be used in the throughout courses -Hands-On Lab Introduction session -overall objectives for the course content and implementation work RECAP Riddhi Patel

Week Topic Assessments and Activities Learning Objectives Week 2 Database First : Creating the database schema first. Design SQL Server table structures, set up relationships between tables, and define entity integrity constraints. Lecture and Discussions In-Class individual Activity (Discussion –finalize group members and one application (E.g. – School Management System) for apply the different function in the upcoming weeks [Based on selection of application and group, will submit the database project] 1. Design and Create Distributed Database Applications using proper database objects to support enterprise development of multiple client interfaces. 1.1 Database First: Design the SQL Server table structures, relationships and entity, domain and referential integrity constraints required for a business application. AGENDA Riddhi Patel

Database Riddhi Patel

Database A Database is an organized collection of Data. A database is a structured collection of data organized to allow efficient storage, retrieval, and manipulation. Database Components A database is comprised of the following primary parts. Schema A database contains at least one composition, which is essentially a gathering of at least one table of information. Table Each table contains various columns just like in a spreadsheet. A table can have as meager as two columns and upwards of one hundred or more columns, depending upon the kind of information being put in the table. Column Each column contains one of a few sorts of information, such as name, address, phone number, etc. Row Data in a table is recorded in rows. There are hundreds or thousands of rows in a table having any particular information. Riddhi Patel

Application with Database Example: Bookstore Application Riddhi Patel

Relation Data Model The relational model is a data model that represents data as a collection of tables, with each table consisting of rows and columns. It is the most widely used data model in DBMS and is the foundation of RDBMS (Relational Database Management System). Tables  − In relational data model, relations are saved in the format of Tables. This format stores the relation among entities. A table has rows and columns, where rows represents records and columns represent the attributes. Tuple  − A single row of a table, which contains a single record for that relation is called a tuple. Relation instance  − A finite set of tuples in the relational database system represents relation instance. Relation instances do not have duplicate tuples. Relation schema  − A relation schema describes the relation name (table name), attributes, and their names. Relation key  − Each row has one or more attributes, known as relation key, which can identify the row in the relation (table) uniquely. Attribute domain  − Every attribute has some pre-defined value scope, known as attribute domain. Constraints Example : Relation Data Model Riddhi Patel

Relational Integrity Constraints Referential integrity is a property of a database that ensures the consistency and correctness of data in a table. It is typically enforced through the use of foreign keys, which are fields in a table that reference the primary key of another table. Every relation has some conditions that must hold for it to be a valid relation. These conditions are called  Relational Integrity Constraints . There are three main integrity constraints − Entity Integrity Domain Integrity User-Defined Integrity Referential Integrity Riddhi Patel

Riddhi Patel

Connectivity: Riddhi Patel

Creating the Database Schema first Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Design SQL Server table structures, set up relationships between tables, and define entity integrity constraints Riddhi Patel

Outcome  Ta bles  Table data Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Assessments and Activities In-Class individual Activity Riddhi Patel

Week 2 Lab Exercise Database Design : Download Microsoft Visual Studio Community 2022. Choose a real-world Application Example. Design the database schema. Create minimum 3 tables and E stablish relationships with them. Understand and verify the integrity constraints in your example application.  Take a Screenshot of each for upcoming test as Report Submission. (For each of your work throughout entire course always take a screenshot for future submission ) Riddhi Patel

https://www.tutorialspoint.com/dbms/dbms_data_schemas.htm https://databasetown.com https://learn.microsoft.com/en-us/visualstudio/data-tools/create-a-sql-database-by-using-a-designer?view=vs-2022 References Riddhi Patel

Week Topics Week 2 Introduction of database concepts Creating the database schema first. Design SQL Server table structures, set up relationships between tables, and define entity integrity constraints. Assessments and Activities : Lecture and Discussions In-Class individual Activity Discussion -Find and Choose one Learning Objectives : 1.1 Database First: Design the SQL Server table structures, relationships and entity, domain and referential integrity constraints required for a business application. SUMMERY Riddhi Patel

Riddhi Patel

Riddhi Patel

Riddhi Patel

Any Questions Riddhi Patel

Week Topic Assessments and Activities Learning Objectives Week 3 Code First approach: Creating model classes representing business entities without worrying about the database schema initially. Use Entity Framework's Database Migrations feature to automatically create or update the SQL Server database based on the model classes. Discussing enterprise development models : Discussions about various enterprise development models, such as 2-tier, 3-tier, n-tier systems, and internet applications. The advantages and limitations of each model and learn to choose the most suitable model for specific business environments and project requirements. Lecture and Discussion In-Class individual Activity. 1. Design and Create Distributed Database Applications using appropriate database objects to support enterprise development of multiple client interfaces. 1.2. Code First: From an Object-Oriented paradigm, create model classes representing the entities involved in a business application and use Database Migrations to create a SQL Server database. 1.3. Describe the various models for enterprise development including 2-tier, 3-tier and n-tier systems and internet applications and decide which system would be right in each business environment. NEXT Riddhi Patel
Tags