dmdw 3. student presentation - silverlight to mssql

28
DMDW Practical Task E = Excel T = Silverlight L = MS SQL Sebastian Burkart & Patrick Reichert

Upload: johannes-hoppe

Post on 17-Dec-2014

1.714 views

Category:

Technology


2 download

DESCRIPTION

3. ETL Project by Sebastian Burkart & Patrick Reichert

TRANSCRIPT

Page 1: DMDW 3. Student Presentation - Silverlight to MSSQL

DMDW Practical Task

E = ExcelT = SilverlightL = MS SQL

Sebastian Burkart & Patrick Reichert

Page 2: DMDW 3. Student Presentation - Silverlight to MSSQL

Agenda

1. General course of events

2. Detailed plan

3. Development process

4. Presentation of running application

5. Questions & End

Sebastian Burkart & Patrick Reichert

Page 3: DMDW 3. Student Presentation - Silverlight to MSSQL

General course of events

1. Load file in Silverlight Project

2. Store data in memory

3. Run transformations on data

4. Store data in database

But that’s the general flow…. Now in details…

Sebastian Burkart & Patrick Reichert

Page 4: DMDW 3. Student Presentation - Silverlight to MSSQL

Detailed plan 1/2

Sebastian Burkart & Patrick Reichert

1. Search document for entered errors- ö oe, ä ae, ü ue, ß ss- some lines are not filled completely- some words are mistyped- blanks at end of entries

2. Save document in unicode-text-format

3. Extract, Analyze & Normalize the document structure - original table structure (excel) - one table structure - normalized table structure

4. Create database

Page 5: DMDW 3. Student Presentation - Silverlight to MSSQL

Detailed plan 2/2

Sebastian Burkart & Patrick Reichert

5. create & code- create silverlight navigation application- create a new web service- add web service as service reference- create user-interface

- complete UI- features of the UI

- code the functionalities- run “Create Tables” feature- run SQLMetal.exe- implement class file from SQLMetal.exe- finish coding

Page 6: DMDW 3. Student Presentation - Silverlight to MSSQL

Search document for errors

Sebastian Burkart & Patrick Reichert

Page 7: DMDW 3. Student Presentation - Silverlight to MSSQL

Save document in unicode-format 1/3

Sebastian Burkart & Patrick Reichert

Page 8: DMDW 3. Student Presentation - Silverlight to MSSQL

Save document in unicode-format 2/3

Sebastian Burkart & Patrick Reichert

Page 9: DMDW 3. Student Presentation - Silverlight to MSSQL

Save document in unicode-format 3/3

Sebastian Burkart & Patrick Reichert

Page 10: DMDW 3. Student Presentation - Silverlight to MSSQL

Extract & Normalize the document structure 1/5

Sebastian Burkart & Patrick Reichert

original table structure (excel)

Tag StringDatum DateAnfang TimeEnde TimeRaum StringVeranstaltungsname StringDozent StringKommentar StringUnknown String

Page 11: DMDW 3. Student Presentation - Silverlight to MSSQL

Extract & Normalize the document structure 2/5

Sebastian Burkart & Patrick Reichert

one table structure

table: originalid int, Primary Keyevent varchar(200), not NULLday not in db get from datedate date, not NULLstart varchar(10), not NULLfinish varchar(10), not NULLroom varchar(50), not NULLlecturer varchar(200), not NULLcomment varchar(200)unknown varchar(200)

Page 12: DMDW 3. Student Presentation - Silverlight to MSSQL

Extract & Normalize the document structure 3/5

Sebastian Burkart & Patrick Reichert

normalized table structure 1/3

main table: eventsid int, Primary Keyeventname int, not NULL table: eventnamesstart int, not NULL table: timesfinish int, not NULL table: timesdate int, not NULL table: datesroom int, not NULL table: roomslecturer int, not NULL table: lecturerscomment varchar(200)unknown varchar(200)

Page 13: DMDW 3. Student Presentation - Silverlight to MSSQL

Extract & Normalize the document structure 4/5

Sebastian Burkart & Patrick Reichert

normalized table structure 2/3

table: eventnamesid int, Primary Keyeventname varchar(200), unique, not NULLtable: timesid int, Primary KeyTime varchar(10), unique, not NULL

table: datesid int, Primary Keydate date, unique, not NULL

Page 14: DMDW 3. Student Presentation - Silverlight to MSSQL

Extract & Normalize the document structure 5/5

Sebastian Burkart & Patrick Reichert

normalized table structure 3/3

table: roomsid int, Primary Keyroom varchar(50), unique, not NULLtable: lecturersid int, Primary Keylecturer varchar(50), unique, not NULL

Page 15: DMDW 3. Student Presentation - Silverlight to MSSQL

Create database 1/2

Sebastian Burkart & Patrick Reichert

Page 16: DMDW 3. Student Presentation - Silverlight to MSSQL

Create database 2/2

Sebastian Burkart & Patrick Reichert

Page 17: DMDW 3. Student Presentation - Silverlight to MSSQL

Create & Code 1/11

Sebastian Burkart & Patrick Reichert

create a silverlight navigation application

Page 18: DMDW 3. Student Presentation - Silverlight to MSSQL

Create & Code 2/11

Sebastian Burkart & Patrick Reichert

create a new web service 1/2

Page 19: DMDW 3. Student Presentation - Silverlight to MSSQL

Create & Code 3/11

Sebastian Burkart & Patrick Reichert

create a new web service 2/2

Page 20: DMDW 3. Student Presentation - Silverlight to MSSQL

Create & Code 4/11

Sebastian Burkart & Patrick Reichert

Add web service as service reference 1/2

Page 21: DMDW 3. Student Presentation - Silverlight to MSSQL

Create & Code 5/11

Sebastian Burkart & Patrick Reichert

Add web service as service reference 2/2

Page 22: DMDW 3. Student Presentation - Silverlight to MSSQL

Create & Code 6/11

Sebastian Burkart & Patrick Reichert

create user-interface

Page 23: DMDW 3. Student Presentation - Silverlight to MSSQL

Create & Code 7/11

Sebastian Burkart & Patrick Reichert

use SQLMetal.exe

Page 24: DMDW 3. Student Presentation - Silverlight to MSSQL

Create & Code 8/11

Sebastian Burkart & Patrick Reichert

Code the functionality

Code will be live presented in Visual Studio

Page 25: DMDW 3. Student Presentation - Silverlight to MSSQL

Create & Code 9/11

Sebastian Burkart & Patrick Reichert

run “Create Tables” feature

Page 26: DMDW 3. Student Presentation - Silverlight to MSSQL

Create & Code 10/11

Sebastian Burkart & Patrick Reichert

implement class file from SQLMetal.exe 1/2

Page 27: DMDW 3. Student Presentation - Silverlight to MSSQL

Create & Code 11/11

Sebastian Burkart & Patrick Reichert

implement class file from SQLMetal.exe 2/2

Page 28: DMDW 3. Student Presentation - Silverlight to MSSQL

Thanks for your attention!!

Questions?

Sebastian Burkart & Patrick Reichert