Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

ビズリーチではDBFluteハンズオンやってます(DBFluteフェス2014)

1,734 views

Published on

DBFluteフェス2014 でのLT
(株)ビズリーチでのDBFluteハンズオンについてお話しました。

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

ビズリーチではDBFluteハンズオンやってます(DBFluteフェス2014)

  1. 1. 䝡䝈䝸䞊䝏䛷䛿 DBFlute䝝䞁䝈䜸䞁 䜔䛳䛶䜎䛩 DBFlute䝣䜵䝇 2014-11-22 @kita_ly
  2. 2. ⮬ᕫ⤂௓ ● ໭ᕝ䚷⮳ ● @kita_ly ● (ᰴ) 䝡䝈䝸䞊䝏 ● ๓⫋䛿㠀䜶䞁䝆䝙䜰 ● 䜶䞁䝆䝙䜰: 2ᖺ ● Java: 2ᖺ ● DBFlute: 2ᖺ䚷䚷→䚷DBFlute 䝛䜲䝔䜱䝤 ● Scala: 2㐌㛫 @kita_ly
  3. 3. ௒᪥䛾䜰䝆䜵䞁䝎 ● DBFlute 䝝䞁䝈䜸䞁䛸䛿 ● 䝡䝈䝸䞊䝏䛷䛾ྲྀ䜚⤌䜏
  4. 4. DBFlute䝝䞁䝈䜸䞁䛸䛿 ● 䜂䛯䛩䜙ConditionBean᭩䛟ಟ⾜ ○ DBFlute䛷䛾ᐇ⿦䛻ᝎ䜐䛣䛸䛿኱᢬↓䛟䛺䜛 ● ᳨⣴/᭦᪂䛰䛡䛨䜓䛺䛔 ○ DBFlute䛾ဴᏛ䞉ㄽ⌮ ○ DB⟶⌮䝒䞊䝹䛾⌮ゎ䞉ᐇ㊶ ○ 㐠⏝୰䛾DB䛾䝇䜻䞊䝬ኚ᭦ ● DBFlute䛰䛡䛨䜓䛺䛔 ○ ࿘㎶䝒䞊䝹 (Maven, Eclipse, etc.) ○ RDB䛾ᇶ♏ ○ Java http://dbflute.seasar.org/ja/tutorial/handson/index.html
  5. 5. DBFlute䝝䞁䝈䜸䞁䛸䛿 ● 䜂䛯䛩䜙ConditionBean᭩䛟ಟ⾜ ○ DBFlute䛷䛾ᐇ⿦䛻ᝎ䜐䛣䛸䛿኱᢬↓䛟䛺䜛 ● ᳨⣴/᭦᪂䛰䛡䛨䜓䛺䛔 ○ DBFlute䛾ဴᏛ䞉ㄽ⌮ ○ DB⟶⌮䝒䞊䝹䛾⌮ゎ䞉ᐇ㊶ ○ 㐠⏝୰䛾DB䛾䝇䜻䞊䝬ኚ᭦ ● DBFlute䛰䛡䛨䜓䛺䛔 ○ ࿘㎶䝒䞊䝹 (Maven, Eclipse, etc.) ○ RDB䛾ᇶ♏ ○ Java http://dbflute.seasar.org/ja/tutorial/handson/index.html
  6. 6. 䝡䝈䝸䞊䝏䛷䛿 jflute䛥䜣䛸䛾1on1䝝䞁䝈䜸䞁 ● Java/DBFlute䛾䝥䝻䝆䜵䜽䝖䛻㓄ᒓ䛥䜜䛯䜶䞁䝆䝙䜰 ● 䝁䝭䝑䝍䞊䛾 jflute 䛥䜣䛜1on1䛷ᩍ䛘䛶䛟䜜䜛䟿䟿 ● 30ศ - 1᫬㛫䠋㐌䠄㏿䛔ே䛷 3 - 4 䞄᭶䠅 ● 䜂䜘䛣 ࠥ ⊛⪅䜎䛷୎ᑀ䛺䝣䜷䝻䞊䜲䞁䜾
  7. 7. ⡆༢䛻ෆᐜ䜢⤂௓䛧䜎䛩
  8. 8. 䝉䜽䝅䝵䞁1: ⎔ቃᵓ⠏ ึᚰ⪅䛷䜒ᛧ䛟䛺䛔䟿 ● Eclipse ● Maven ● MySQL ● DBFlute ● etc..
  9. 9. 䝫䜲䞁䝖1 ࿘㎶䝒䞊䝹䛻䛴䛔䛶䛾䝣䜷䝻䞊䜲䞁䜾
  10. 10. 䝉䜽䝅䝵䞁2 - 9: CBಟ⾜
  11. 11. 䝉䜽䝅䝵䞁2 - 9: cb… cb… Bhv… እฟ䛧... cb... ၥ㢟ᩘ䠖 50 ၥ௨ୖ 䛹䛾ၥ㢟䜒⤖ᵓ⪃䛘䛥䛫䜙䜜䜛
  12. 12. 䝫䜲䞁䝖2 䛯䛟䛥䜣ᡭ䜢ື䛛䛫䜛 jflute䛥䜣䛛䜙䛾Ⰻ㉁䛺 䝣䜱䞊䝗䝞䝑䜽䛸䝨䜰䝥䝻䛜
  13. 13. CBᆅ⊹…䛨䜓䛺䛟䛶 CBኳᅜ䛾᭱ᚋ䛻䛿
  14. 14. 䝫䜲䞁䝖3 ConditionBean䝛䜲䝔䜱䝤 䛻䛺䜜䜛 䛆䜘䛟䛒䜛㢼ᬒ䛇 ඛ㍮: 䛂㞟ィ⏝䛾SQL᭩䛔䛸䛔䛶䛃 ᪂ே: 䛂SQL䛷䛩䛛…CB䛺䜙᭩䛡䜛䜣䛷䛩䛡䛹 …䛃 ඛ㍮: 䛂䟿䠛䟿䠛䛃 䈜⥾䜑䝖䞊䜽䛷ヰ㢟䛻䛺䜚䜎䛧䛯 http://d.hatena.ne.jp/jflute/20141123/dbflutefes/
  15. 15. 䝁䝷䝮: CB/Bhv䛰䛡䛨䜓䛺䛔 jflute’s Column ● 䛱䜗䛳䛸䛧䛯Tips ● ࿘㎶䝒䞊䝹䛾䛚ヰ ● ㄽ⌮䠋ဴᏛⓗ䛺䛚ヰ ● 䛭䜒䛭䜒Java䛾䛚ヰ
  16. 16. 䝫䜲䞁䝖4 DBFlute䛾౑䛔᪉䛰䛡䛨䜓䛺䛟 䛭䛾ㄽ⌮䞉ဴᏛ䜎䛷㌟䛻䛴䛟
  17. 17. 䝁䝷䝮: CB/Bhv䛰䛡䛨䜓䛺䛔 ● Eclipse䝅䝵䞊䝖䜹䝑䝖 ● jflute䛥䜣䛾䝷䜲䝤䝁䞊䝕䜱 䞁䜾
  18. 18. 䝫䜲䞁䝖5 Eclipse 䛷䛾䝁䞊䝕䜱䞁䜾䛜 ⇿㏿䛻䛺䜛
  19. 19. 䝉䜽䝅䝵䞁10: 㐠⏝୰DB䛾ኚ᭦ ● savePrevious ● alterCheck ● etc.
  20. 20. 䝫䜲䞁䝖6 ⌧ሙ䛷ᚲせ䛻䛺䜛ຊ䛾 ᅵྎ䛜୍㏻䜚ᩚ䛖
  21. 21. 䝉䜽䝅䝵䞁11: LoadReferrer 䛣䜜䛜⤊䜟䜜䜀 ༞ᴗ䟿䟿䟿
  22. 22. 䝫䜲䞁䝖6 ༞ᴗ䛩䜛䛸䝧䝆䝷䞁䝏䛻 㐃䜜䛶䛳䛶䛟䜜䜛
  23. 23. 䜎䛸䜑 ● DBFlute䛺⌧ሙ䛷ᚲせ䛺ᐇ㊶ⓗ䛺䝧䞊䝇䝇䜻䝹⩦ᚓ ○ CBಟ⾜ ○ DBኚ᭦ ○ RDSᇶ♏䚸Java䚸࿘㎶䝒䞊䝹 ● ㄽ⌮䜔ဴᏛ䜒Ꮫ䜉䜛 ○ ⟅䛘䛷䛺䛟⟅䛘䜢ᑟ䛟䝥䝻䝉䝇 ● 䝡䝈䝸䞊䝏䜶䞁䝆䝙䜰䛿1on1䝝䞁䝈䜸䞁ཷ䛡䜙䜜䜛䟿 ○ 䜂䜘䛣 ~ ⊛⪅䜎䛷
  24. 24. ᭱ᚋ䛻… 䝡䝈䝸䞊䝏䛷䛿 Java䜶䞁䝆䝙䜰䜢 ⤯㈶ເ㞟୰䛷䛩!!! 1on1䝝䞁䝈䜸䞁䛜ᚅ䛳䛶䜎䛩䟿
  25. 25. ᭱ᚋ䛻… Scala䜶䞁䝆䝙䜰䜒 ⤯㈶ເ㞟୰䛷䛩!!! 䝝䞁䝈䜸䞁䛿ᕼᮃ䛩䜜䜀䛯䜆䜣…
  26. 26. Thank You !

×