2009-11-20 DevLOVE 2009 DB勉強会

1,789 views

Published on

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
1,789
On SlideShare
0
From Embeds
0
Number of Embeds
209
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

2009-11-20 DevLOVE 2009 DB勉強会

  1. 1. DevLOVE DB DB 2009.11.20 http://jiemamy.org/ DevLOVE 2009.11
  2. 2. • • id:daisuke-m • twitter @daisuke_m Java Jiemamy DDD XML Maven OSGi ER Android SQL Eclipse • Jiemamy Project DevLOVE 2009.11
  3. 3. • Jiemamy • • DevLOVE 2009.11
  4. 4. Agenda • Jiemamy • Jiemamy • Jiemamy • Jiemamy API • DevLOVE 2009.11
  5. 5. DevLOVE 2009.11
  6. 6. DevLOVE 2009.11
  7. 7. NO! DevLOVE 2009.11
  8. 8. DevLOVE 2009.11
  9. 9. Martin Fowler DevLOVE 2009.11
  10. 10. DB Evolutional Database Design — Martin Fowler, 2003 DB DB DevLOVE 2009.11
  11. 11. • • • Jiemamy • maven plugin, • API β DevLOVE 2009.11
  12. 12. Smart Model Smart Smart Version Control Build DevLOVE 2009.11
  13. 13. A Smart Build DevLOVE 2009.11
  14. 14. • Web SVN DB DB DevLOVE 2009.11
  15. 15. • • • • Java • DB AP • (documented) DevLOVE 2009.11
  16. 16. Maven • Apache • co pom.xml "mvn package" • DevLOVE 2009.11
  17. 17. • 1 •1 documented • README.txt DevLOVE 2009.11
  18. 18. Jiemamy • maven-jiemamy-plugin • pom DB • DB • Web DB • Ant DevLOVE 2009.11
  19. 19. B Smart Version Control DevLOVE 2009.11
  20. 20. rev1000 • revision rev1001 DB rev1002 • rev1003 • rev1004 rev1005 DevLOVE 2009.11
  21. 21. • • DevLOVE 2009.11
  22. 22. Jiemamy • • • • DevLOVE 2009.11
  23. 23. C Smart Model DevLOVE 2009.11
  24. 24. DRY Don't Repeat Yourself. • • ... • • • DevLOVE 2009.11
  25. 25. 1 1 • 1 class Emp { class Dept { String name; String name; Dept dept; List<Emp> members; } } DevLOVE 2009.11
  26. 26. 2 • Dept tech = new Dept(" "); Emp kato = new Emp(" "); kato.setDept(tech); tech.addMember(kato); DevLOVE 2009.11
  27. 27. DB • DB 1 • 3 • • SQL 2 • ER ( ) • DB DevLOVE 2009.11
  28. 28. DevLOVE 2009.11
  29. 29. DB • rev1000 SQL rev1001 rev1002 ER ( ) rev1003 … rev1004 DRY rev1005 DevLOVE 2009.11
  30. 30. • DRY • • • documented • ER SQL • • DevLOVE 2009.11
  31. 31. Jiemamy DevLOVE 2009.11
  32. 32. DevLOVE 2009.11
  33. 33. Jiemamy • DRY DB • SQL, DB ( ) • XML →SVN • • DevLOVE 2009.11
  34. 34. Jiemamy DevLOVE 2009.11
  35. 35. XML… • XML • GUI ER • • XML Schema • XML validation DevLOVE 2009.11
  36. 36. Jiemamy • ER • AmaterasERD, Clay, DBDesigner4, ERWin, SI Object Browser, JUDE... • Jiemamy • DevLOVE 2009.11
  37. 37. Demo DevLOVE 2009.11
  38. 38. Jiemamy API DevLOVE 2009.11
  39. 39. Jiemamy Model API β • Jiemamy Java object SQL Java DevLOVE 2009.11
  40. 40. XML → Java model • Jiemamy • • InputStream DevLOVE 2009.11
  41. 41. Java model → XML • JiemamySerializer • OutputStream DevLOVE 2009.11
  42. 42. Java model → SQL • SqlExporter new • • exportModel DevLOVE 2009.11
  43. 43. DB → Java model • DatabaseImporter new • • importModel DevLOVE 2009.11
  44. 44. Javadoc DevLOVE 2009.11
  45. 45. • • (ServletFilter ) DB Web • Smart Install / Update • CREATE/DROP Web DevLOVE 2009.11
  46. 46. • Jiemamy • Jiemamy • API • XML converter • DevLOVE 2009.11
  47. 47. Evolutional Database Design... http://jiemamy.org/ DevLOVE 2009.11

×