Post on 14-Jun-2015
description
2. Covered in this Session
3. High-level solutions 4. How DataClass helps 5. Problems
6. Existing databases must be upgraded Duplication
7. No compiler checks Design
8. How do you keep clients coupled to correct design? 9. The Correct Deployment Model
10. Each version has a transition
Upgrades traverse through all versions
Empty databases upgrade fast 11. Full ones must all march to the same drummer 12. Correct Deployment Model Ex. 13. Correct Deployment Model Ex. 14. Correct Deployment Model Ex. 15. Correct Deployment Model Ex. 16. Correct Deployment Model Ex. 17. Correct Deployment Model Ex. 18. Correct Deployment Model Ex. 19. Correct Deployment Model Ex. 20. Correct Deployment Model Ex. 21. Correct Deployment Model Ex. 22. Correct Deployment Model Ex. 23. Correct Deployment Model Ex. 24. Correct Deployment Model Ex. 25. Correct Deployment Model Ex. 26. Correct Deployment Model Ex. 27. DataClass Solves It!
28. They automatically inspect & upgrade 29. Bonus: Tamper-resistance features 30. Duplication Solution
31. Solution: Separate design out 32. New problem: Dup. Between construction & design? 33. Solution: Let construction depend on design 34. Ideal Design (No Duplication) DB 35. Ideal Design (No Duplication) DB DB Design 36. DataClass Solves It
37. Breaking DB design change? 38. Compiler error! 39. Mistype a DB symbol? 40. Compiler error! 41. Bonus: sprocs look like methods 42. Bonus: proxies make DB look like normal object 43. Coupling Solution
44. Present (up to one) 45. In work (future, up to one) Clients can couple to specific version
Clients can couple to Current version 46. Clients can couple to in work version 47. Using Lenses 48. Using Lenses 49. Using Lenses 50. Using Lenses 51. Using Lenses 52. Using Lenses 53. Using Lenses 54. Using Lenses 55. DataClass Solves It!
56. Infers up to one in work version 57. Clients can couple to generated lenses 58. Puts control of currency in DB 59. Summation
60. How do I prevent duplication? 61. How do I upgrade or build new Dbs? DataClass upskills developers
62. Still need a mind to do the design 63. Where to Find It For more information go to: http://dataclass.hexsw.com