DMDW 3. Student Presentation - Silverlight to MSSQL

2,189 views

Published on

3. ETL Project by Sebastian Burkart & Patrick Reichert

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,189
On SlideShare
0
From Embeds
0
Number of Embeds
722
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

DMDW 3. Student Presentation - Silverlight to MSSQL

  1. 1. DMDW Practical Task<br /> E = Excel<br /> T = Silverlight<br /> L = MS SQL<br />Sebastian Burkart & Patrick Reichert<br />
  2. 2. Agenda<br />General course of events<br />Detailed plan<br />Development process<br />Presentation of running application<br />Questions & End<br />Sebastian Burkart & Patrick Reichert<br />
  3. 3. General course of events<br />Load file in Silverlight Project<br />Store data in memory<br />Run transformations on data<br />Store data in database<br />But that’s the general flow…. Now in details…<br />Sebastian Burkart & Patrick Reichert<br />
  4. 4. Detailed plan 1/2<br />Search document for entered errors<br /><ul><li>ö  oe, ä  ae, ü  ue, ß  ss
  5. 5. some lines are not filled completely
  6. 6. some words are mistyped
  7. 7. blanks at end of entries</li></ul>2. Save document in unicode-text-format<br />3. Extract, Analyze & Normalize the document structure<br /> - original table structure (excel)<br /> - one table structure <br /> - normalized table structure<br />4. Create database<br />Sebastian Burkart & Patrick Reichert<br />
  8. 8. Detailed plan 2/2<br />5. create & code<br /> - create silverlight navigation application<br /> - create a new web service<br /> - add web service as service reference<br /> - create user-interface<br /> - complete UI<br /> - features of the UI<br /> - code the functionalities<br /> - run “Create Tables” feature<br /> - run SQLMetal.exe<br /> - implement class file from SQLMetal.exe<br /> - finish coding<br />Sebastian Burkart & Patrick Reichert<br />
  9. 9. Search document for errors<br />Sebastian Burkart & Patrick Reichert<br />
  10. 10. Save document in unicode-format 1/3<br />Sebastian Burkart & Patrick Reichert<br />
  11. 11. Save document in unicode-format 2/3<br />Sebastian Burkart & Patrick Reichert<br />
  12. 12. Save document in unicode-format 3/3<br />Sebastian Burkart & Patrick Reichert<br />
  13. 13. Extract & Normalize the document structure 1/5<br />original table structure (excel)<br />Tag  String<br />Datum  Date<br />Anfang  Time<br />Ende  Time<br />Raum  String<br />Veranstaltungsname  String<br />Dozent  String<br />Kommentar  String<br />Unknown  String<br />Sebastian Burkart & Patrick Reichert<br />
  14. 14. Extract & Normalize the document structure 2/5<br />one table structure<br />table: original<br />id  int, Primary Key<br />event  varchar(200), not NULL<br />day  not in db  get from date<br />date  date, not NULL<br />start  varchar(10), not NULL<br />finish  varchar(10), not NULL<br />room  varchar(50), not NULL<br />lecturer  varchar(200), not NULL<br />comment  varchar(200)<br />unknown  varchar(200)<br />Sebastian Burkart & Patrick Reichert<br />
  15. 15. Extract & Normalize the document structure 3/5<br />normalized table structure 1/3<br />main table: events<br />id  int, Primary Key<br />eventname  int, not NULL  table: eventnames<br />start  int, not NULL  table: times<br />finish  int, not NULL  table: times<br />date  int, not NULL  table: dates<br />room  int, not NULL  table: rooms<br />lecturer  int, not NULL  table: lecturers<br />comment  varchar(200)<br />unknown  varchar(200)<br />Sebastian Burkart & Patrick Reichert<br />
  16. 16. Extract & Normalize the document structure 4/5<br />normalized table structure 2/3<br />table: eventnames<br />id  int, Primary Key<br />eventname  varchar(200), unique, not NULL<br />table: times<br />id  int, Primary Key<br />Time  varchar(10), unique, not NULL<br />table: dates<br />id  int, Primary Key<br />date  date, unique, not NULL<br />Sebastian Burkart & Patrick Reichert<br />
  17. 17. Extract & Normalize the document structure 5/5<br />normalized table structure 3/3<br />table: rooms<br />id  int, Primary Key<br />room  varchar(50), unique, not NULL<br />table: lecturers<br />id  int, Primary Key<br />lecturer  varchar(50), unique, not NULL<br />Sebastian Burkart & Patrick Reichert<br />
  18. 18. Create database 1/2<br />Sebastian Burkart & Patrick Reichert<br />
  19. 19. Create database 2/2<br />Sebastian Burkart & Patrick Reichert<br />
  20. 20. Create & Code 1/11<br />create a silverlight navigation application<br />Sebastian Burkart & Patrick Reichert<br />
  21. 21. Create & Code 2/11<br />create a new web service 1/2<br />Sebastian Burkart & Patrick Reichert<br />
  22. 22. Create & Code 3/11<br />create a new web service 2/2<br />Sebastian Burkart & Patrick Reichert<br />
  23. 23. Create & Code 4/11<br />Add web service as service reference 1/2<br />Sebastian Burkart & Patrick Reichert<br />
  24. 24. Create & Code 5/11<br />Add web service as service reference 2/2<br />Sebastian Burkart & Patrick Reichert<br />
  25. 25. Create & Code 6/11<br />create user-interface<br />Sebastian Burkart & Patrick Reichert<br />
  26. 26. Create & Code 7/11<br />use SQLMetal.exe<br />Sebastian Burkart & Patrick Reichert<br />
  27. 27. Create & Code 8/11<br />Code the functionality<br />Code will be live presented in Visual Studio<br />Sebastian Burkart & Patrick Reichert<br />
  28. 28. Create & Code 9/11<br />run “Create Tables” feature<br />Sebastian Burkart & Patrick Reichert<br />
  29. 29. Create & Code 10/11<br />implement class file from SQLMetal.exe 1/2<br />Sebastian Burkart & Patrick Reichert<br />
  30. 30. Create & Code 11/11<br />implement class file from SQLMetal.exe 2/2<br />Sebastian Burkart & Patrick Reichert<br />
  31. 31. Questions?<br />Thanks for your attention!!<br />Sebastian Burkart & Patrick Reichert<br />

×