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.

第4回WordBenchしずおか

800 views

Published on

WordBenchしずおかで使用したスライドです。

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

第4回WordBenchしずおか

  1. 1. WordPress䛷䝃䜲䝖㐠⏝䛩䜛㝿䛻 Ẽ䜢䛴䛡䛯䛔䛣䛸 䛭䛾WP䛧䛳䛛䜚⟶⌮䛷䛝䛶䜎䛩䛛䠛
  2. 2. ⮬ᕫ⤂௓ ྡ๓ : 㐲⸨㐍ᝅ ᡤᒓ : ᰴᘧ఍♫䜰䞊䝅䝍䞁 ⏕ᜥᆅ : ᐩኈᒣ䛾㯄䛾᳃䛾୰ Blog : http://a-lab.biz Twitter䠖@AistearMebius0 Facebook䠖https://www.facebook.com/endoh.shingo
  3. 3. ␎Ṕ ሿㅮᖌ → 䜶䞁䝆䝙䜰 → ሿㅮᖌ → 䜶䞁䝆䝙䜰䠄⌧ᅾ䠅 ● 㟼ᒸ┴ᐩኈᐑᕷฟ㌟ ● WordPress䛿3.0䛛䜙฼⏝䠄4ᖺ䛟䜙䛔䠅 ● ๓ᅇ䛾WordBench䛧䛪䛚䛛䛿ཧຍ⪅䛷䛧䛯 ● WordCafe Fuji䛳䛶䛔䛖ຮᙉ఍䛾䝇䝍䝑䝣䜔䛳䛶䜎䛩 ● WordCamp Tokyo 2014䛾䝇䝍䝑䝣䜒䜔䛳䛶䜛䜘
  4. 4. ୺䛻䜔䛳䛶䜛䛣䛸 ● 䝃䞊䝞ᵓ⠏ ● 䝛䝑䝖䝽䞊䜽タィ ● WP䝥䝷䜾䜲䞁㛤Ⓨ䞉䜹䝇䝍䝬䜲䝈 ● WP䝔䞊䝬సᡂ䞉䜹䝇䝍䝬䜲䝈 ● ຮᙉ఍㛤ദ 䛺䛹䛺䛹䚹䚹䚹
  5. 5. 㯮㥖 䛿䛨䜎䜚䛿䛨䜎䜚
  6. 6. ✺↛䛷䛩䛜䟿
  7. 7. WordPress䛷స䛳䛯䝃䜲䝖 ᨺ⨨䛧䛶䜎䛫䜣䛛䠛
  8. 8. 䛘䛳䠛䝎䝯䛺䛾(䢛д䢛)䟿
  9. 9. 䛿䛔䚹䝎䝯䛷䛩( 䡡`д䡡´)
  10. 10. 䛺䜣䛷䠛(䜪-䜪)
  11. 11. 㯮㥖 䛸䛔䛖䜟䛡䛷ᮏ㢟
  12. 12. WordPress䛾䝅䝇䝔䝮せ௳䜢☜ㄆ ● PHP 䝞䞊䝆䝵䞁 5.2.4 ௨ୖ ● MySQL 䝞䞊䝆䝵䞁 5.0 ௨ୖ ● ືస☜ㄆ⎔ቃ䛷䛒䛳䛶᥎ዡ⎔ቃ䛷䛿䛺䛔 ● 䛣䜜䜢‶䛯䛧䛶䛔䜛䛛䜙䛸ゝ䛳䛶䜶䝷䞊䛜㉳䛝䛺 䛔䜟䛡䛷䜒䛺䛔
  13. 13. WordPrss䛾䝞䞊䝆䝵䞁䛿䠛 WordPress䛾䝞䞊䝆䝵䞁 䠄2014/09/16᫬Ⅼ䠅 ● 4.0 → 4.62䠂 ----- 䝃䝫䞊䝖䛾ቨ ----- ● 3.9 → 18.6䠂 ● 3.8 → 13.5% ● 3.7 → 4.9% ● 3.6 → 7.7%
  14. 14. 䝃䝫䞊䝖䛸䛿 ● Windows XP䛷ၥ㢟䛻䛺䛳䛯䜰䝺 ● 䛭䛾䝞䞊䝆䝵䞁䛷⬤ᙅᛶ䜔䝞䜾䛜ぢ䛴䛛䛳䛯ሙྜ䛻ᑐᛂ䛧 䛶䛟䜜䜛䛸䛔䛖䜒䛾 ● 䝃䝫䞊䝖䛜ษ䜜䜛䛸䚸୍ษ䛾䝯䞁䝔䝘䞁䝇䛜䛥䜜䛺䛟䛺䜛 ● WordPress䛾ሙྜ䚸᭱᪂∧䛾䜏䝞䜾䞉⬤ᙅᛶᑐᛂ䛾䜰䝑䝥 䝕䞊䝖䛜⾜䜟䜜䜛
  15. 15. ⬤ᙅᛶ䛸䛿 ● ⡆༢䛻ゝ䛖䛸䝋䝣䝖䜴䜵䜰䛾ᙅⅬ ● 䛣䜜䜢฼⏝䛥䜜䛶䚸䝃䜲䝖ᨵ䛦䜣䜔஌䛳ྲྀ䜚䛺䛹䛜⾜䜟䜜䜛 ● WordPress䛰䛡䛷䛺䛟䚸䛩䜉䛶䛾䝋䝣䝖䜴䜵䜰䛻Ꮡᅾ䛩䜛 →ᙜ↛䚸PHP䜔MySQL䛻䜒⬤ᙅᛶ䛿䛒䜛䜘 ● 䝃䝫䞊䝖ෆ䛷䛒䜜䜀ಟṇ䛩䜛䛯䜑䛾䝥䝻䜾䝷䝮䜒ᥦ౪䛥䜜 䜛
  16. 16. WordPress䛾ሙྜ ● ᭱᪂∧䛾䜏䝃䝫䞊䝖䛜⾜䜟䜜䜛䛯䜑䚸ྂ䛔䜒䛾䛻⬤ᙅᛶ䜔 䝞䜾䛜ぢ䛴䛛䛳䛶䜒ಟṇ䛥䜜䛺䛔 ● 䝥䝷䜾䜲䞁䜔䝔䞊䝬䛻䜒ၥ㢟䛜䛒䜛䛣䛸䛜䛒䜛 ● ᮏయ䜒䝥䝷䜾䜲䞁䜒䝔䞊䝬䜒᭱᪂∧䛻䜰䝑䝥䝕䞊䝖䛧䜎䛧䜗䛖 ● 䝥䝷䜾䜲䞁䜔䝔䞊䝬䛿䛷䛝䜛䛰䛡බᘧ䝕䜱䝺䜽䝖䝸䛻䛒䜛᭦ ᪂䛥䜜䛶䛔䜛䜒䛾䛻䛧䜎䛧䜗䛖
  17. 17. WordPress䜰䝑䝥䝕䞊䝖 䛧䛶䜛䛛䜙኱୔ኵ䛰
  18. 18. 䜰䝑䝥䝕䞊䝖䛿ᚲ䛪 䜔䛳䛶䜛䛛䜙㛵ಀ䛺䛔䛽
  19. 19. 䜋䜣䛸䛻䠛( 䢛д䢛)
  20. 20. 㯮㥖 䛱䜗䛳䛸ᡠ䜛
  21. 21. ⬤ᙅᛶ䛸䛿 ● ⡆༢䛻ゝ䛖䛸䝋䝣䝖䜴䜵䜰䛾ᙅⅬ ● 䛣䜜䜢฼⏝䛥䜜䛶䚸䝃䜲䝖ᨵ䛦䜣䜔஌䛳ྲྀ䜚䛺䛹䛜⾜䜟䜜䜛 ● WordPress䛰䛡䛷䛺䛟䚸䛩䜉䛶䛾䝋䝣䝖䜴䜵䜰䛻Ꮡᅾ䛩䜛 →ᙜ↛䚸PHP䜔MySQL䛻䜒⬤ᙅᛶ䛿䛒䜛䜘 ● 䝃䝫䞊䝖ෆ䛷䛒䜜䜀ಟṇ䛩䜛䛯䜑䛾䝥䝻䜾䝷䝮䜒ᥦ౪䛥䜜 䜛
  22. 22. 䜣䠛䛣䜜䛿䠛
  23. 23. WordPress䛾䝅䝇䝔䝮せ௳䜢 䜒䛖୍ᅇ☜ㄆ ● PHP 䝞䞊䝆䝵䞁 5.2.4 ௨ୖ ● MySQL 䝞䞊䝆䝵䞁 5.0 ௨ୖ
  24. 24. PHP䛾䝃䝫䞊䝖ᮇ㝈 ● 2014/8/4䛻PHP䛾5.3䛾᭱ᚋ䛾䝸䝸䞊䝇䛜⾜䜟 䜜䛯 ● ⌧ᅾ䝃䝫䞊䝖䛥䜜䛶䛔䜛䛾䛿5.4௨ୖ ● බᘧ䛷䜒5.4⣔䚸5.5⣔䜈䛾⛣⾜䜢᥎ዡ䛧䛶䛔䜛
  25. 25. WP䛿䛹䛾PHP䛷ື䛔䛶䜛䛾䠛 PHP䛾䝞䞊䝆䝵䞁䛿䠛 ● 5.5 → 2.4䠂 ● 5.4 → 20.8䠂 ----- 䝃䝫䞊䝖䛾ቨ ----- ● 5.3 → 38.7% ● 5.2 → 37.7%
  26. 26. MySQL䛿䠛
  27. 27. MySQL䛾䝃䝫䞊䝖ᮇ㝈 ● 2013/12/31䛻5.1⣔䛾䝃䝫䞊䝖⤊஢ ● ⌧ᅾ䝃䝫䞊䝖䛥䜜䛶䛔䜛䛾䛿5.5௨ୖ ● 5.5⣔䚸5.6⣔䚸MariaDB䛺䛹䛻⛣⾜᥎ዡ
  28. 28. WP䛜ື䛔䛶䛔䜛MySQL䛿䠛 MySQL䛾䝞䞊䝆䝵䞁䛿䠛 ● 5.6 → 3.4% ● 5.5 → 49.1% ----- 䝃䝫䞊䝖䛾ቨ ----- ● 5.1 → 26.7% ● 5.0 → 20.5%
  29. 29. 䛸䛔䛖䛣䛸䛿䠛
  30. 30. 䝅䝇䝔䝮せ௳䜢‶䛯䛧䛶 䛔䛶䜒Ᏻ඲䛷䛿䛺䛔䠛
  31. 31. 䛿䛔䚹䛭䛖䛷䛩( 䡡`д䡡´)
  32. 32. WordPress䛾䝅䝇䝔䝮せ௳䜢☜ㄆ ● PHP 䝞䞊䝆䝵䞁 5.2.4 ௨ୖ ● MySQL 䝞䞊䝆䝵䞁 5.0 ௨ୖ ● ືస☜ㄆ⎔ቃ䛷䛒䛳䛶᥎ዡ⎔ቃ䛷䛿䛺䛔 ● 䛣䜜䜢‶䛯䛧䛶䛔䜛䛛䜙䛸ゝ䛳䛶䜶䝷䞊䛜㉳䛝䛺 䛔䜟䛡䛷䜒䛺䛔
  33. 33. ⮬ศ䛾⎔ቃ䜟䛛䜙䛺䛔䛡䛹 ኱୔ኵ䛰䜝( 䡡´䡬䡡䠼)
  34. 34. 䜋䜣䛸䛻䠛( 䢛д䢛)
  35. 35. WP䛿䛹䛾PHP䛷ື䛔䛶䜛䛾䠛 PHP䛾䝞䞊䝆䝵䞁䛿䠛 ● 5.5 → 2.4䠂 ● 5.4 → 20.8䠂 ----- 䝃䝫䞊䝖䛾ቨ ----- ● 5.3 → 38.7% ● 5.2 → 37.7%
  36. 36. WP䛜ື䛔䛶䛔䜛MySQL䛿䠛 MySQL䛾䝞䞊䝆䝵䞁䛿䠛 ● 5.6 → 3.4% ● 5.5 → 49.1% ----- 䝃䝫䞊䝖䛾ቨ ----- ● 5.1 → 26.7% ● 5.0 → 20.5%
  37. 37. ᏶⎍䛻⛣⾜䛧䛶䜛䜋䛖䛜 ᅽಽⓗ䛻ᑡ䛺䛔䟿
  38. 38. 䛣䜜䛷䜒኱୔ኵ䛰䛸 ゝ䛔ษ䜜䜎䛩䛛䠛
  39. 39. 䛂ື䛟䛛䜙䛔䛔䜔䛃䛷 ౑䛔⥆䛡䜙䜜䜛䛸䜋䜣䛸䛻 ᛮ䛳䛶䛔䜎䛩䛛䠛
  40. 40. 㯮㥖 䛱䜗䛳䛸ⴠ䛱╔䛝䜎䛧䜗䛖 (; ~_~)᪦䚷䢈䡯䡥䡥䡥䞉䞉䞉
  41. 41. 䜎䛪䛿⎔ቃ䜢ㄪ䜉䜛 ● ฼⏝䛧䛶䛔䜛䝺䞁䝍䝹䝃䞊䝞䛾䝁䞁䝖䝻䞊䝹䝟 䝛䝹 ● PHP䛺䜙phpinfo䠄<?php phpinfo(); ?>䠅 ● MySQL䛺䜙phpMyAdmin䛺䛹䛾⟶⌮䝒䞊䝹 ● 䛣䜜䛷䜒䜟䛛䜙䛺䛡䜜䜀䚸䝃䞊䝞఍♫䛾䝃䝫䞊 䝖䛻⪺䛟
  42. 42. 䜒䛧䝞䞊䝆䝵䞁䛜ྂ䛛䛳䛯䜙䠛 ● 䛧䛳䛛䜚䛧䛯䝃䞊䝞఍♫䛺䜙᪂䝞䞊䝆䝵䞁䛜฼⏝䛷䛝䜛䜘䛖 䛻ᥦ౪䛥䜜䛶䛔䜛䛾䛷䚸䛭䛱䜙䛻⛣⾜䛩䜛 ○ ⛣⾜䛾௙᪉䛿䝃䞊䝞఍♫䛾䝦䝹䝥ཧ↷ ○ 䜟䛛䜙䛺䛡䜜䜀䝃䝫䞊䝖䛻ၥ䛔ྜ䜟䛫 ● ྂ䛔䛾䛧䛛䛺䛔䛺䜙䝃䞊䝞䜢⛣㌿䛩䜛 ○ 䜽䝷䜲䜰䞁䝖䛜ዎ⣙䛧䛶䛔䜛䜒䛾䛾ሙྜ䛿䛺䜣䛸䛛ㄝᚓ 䛧䛶䛽
  43. 43. 㯮㥖 䛥䛑䜰䝑䝥䝕䞊䝖䛧䛶䜏䜘䛖 (; ~_~)᪦䚷䢈䡯䡥䡥䡥䞉䞉䞉
  44. 44. 䜰䝑䝥䝕䞊䝖䛾✀㢮 ● 䝬䜲䝘䞊䜰䝑䝥䝕䞊䝖 ○ 4.0→4.0.1䛾䜘䛖䛺ሙྜ ○ ఱ䜒䛧䛺䛟䛶䜒䜰䝑䝥䝕䞊䝖䛥䜜䜛 ○ ⮬ື䜢೵Ṇ䛧䛶䛚䛟䛣䛸䜒䛷䛝䜛 ● 䝯䝆䝱䞊䜰䝑䝥䝕䞊䝖 ○ 4.0→4.1䛾䜘䛖䛺ሙྜ ○ ⟶⌮⏬㠃䛷䜰䝑䝥䝕䞊䝖䜢⾜䛖ᚲせ䛜䛒䜛 ○ ⮬ື䛻䛩䜛䛣䛸䜒䛷䛝䜛 ○ 䛣䛳䛱䛾ሙྜ䛿せὀព
  45. 45. 䜰䝑䝥䝕䞊䝖䛩䜛䛸䛝䛾ὀពⅬ ● 䝞䝑䜽䜰䝑䝥䛿ᚲ䛪⾜䛖䟿 ● WordPress䛾ሙྜ䚸䝥䝷䜾䜲䞁䛿඲೵Ṇ䚸䝔䞊 䝬䛿䝕䝣䜷䝹䝖䛻 ● ఱ䛜㉳䛣䛳䛶䜒ៃ䛶䛺䛔䚹䛔䛦䛸䛺䜜䜀䝞䝑䜽 䜰䝑䝥䛛䜙ඖ䛻ᡠ䛫䜛
  46. 46. 䝞䝑䜽䜰䝑䝥䛾᪉ἲ ● 䝣䜯䜲䝹 ○ WordPress䛾䝣䜷䝹䝎䜢䜎䜛䛳䛸䝎䜴䞁䝻䞊䝗 ● 䝕䞊䝍䝧䞊䝇 ○ 䝺䞁䝍䝹䝃䞊䝞䛺䜙phpMyAdmin䛜౑䛘䜛䛸ᛮ䛖䛾䛷䚸 䜶䜽䝇䝫䞊䝖 ○ 䝃䞊䝞䛾䝁䞁䝟䝛⊂⮬䛾ᶵ⬟䛷䛷䛝䜛ሙྜ䜒䛒䜛䜘 ● 䛭䛾௚ ○ ᛕ䛾Ⅽ䚸WordPressഃ䛷䜒䜶䜽䝇䝫䞊䝖䛧䛶䛚䛟䛸䛔䛔䛛 䜒
  47. 47. 㯮㥖 ୓඲䛾≧ែ䛷ᐇ⾜ (; ~_~)᪦䚷䢈䡯䡥䡥䡥䞉䞉䞉
  48. 48. 䜣䠛
  49. 49. (䛴д䎖)䡶䢚䡸䡶䢚䡸
  50. 50. (䠗䢛д䢛)
  51. 51. ᕤ䡰䡰䡦䡦(´д䠼)䡦䡦䡰䡰ᕤ
  52. 52. 䛣䜣䛺䛣䛸䜒㉳䛣䜚䜎䛩 ● 䝺䞁䝍䝹䝃䞊䝞䛷䜰䝑䝥䝕䞊䝖䛧䛯䜙㏵୰䛷Ṇ 䜎䛳䛯(䢛д䢛)䟿 ● 䜰䝑䝥䝕䞊䝖⤊䜟䛳䛯䜏䛯䛔䛰䛡䛹┿䛳ⓑ䛻 (䢛д䢛)䟿 ● 䜰䝑䝥䝕䞊䝖⤊䜟䛳䛯䛛䜙䝥䝷䜾䜲䞁䛸䝔䞊䝬䜢 ඖ䛻ᡠ䛧䛯䜙┿䛳ⓑ䛻(䢛д䢛)䟿
  53. 53. ┿䛳ⓑ⏬㠃䛻ฟ఍䛳䛶䛧䜎䛳䛯䜙䠛 ● 䛸䜚䛒䛘䛪῝࿧྾ ● ≧ἣ䜢ᩚ⌮䛩䜛 ○ ఱ䜢䛧䛯䜙┿䛳ⓑ䛻䛺䛳䛯䛾䛛 ○ 䛹䛾䝍䜲䝭䞁䜾䛷㉳䛣䛳䛯䛾䛛 ● Googleඛ⏕䛻⪺䛟 ○ ౛䛂WordPress 4.0 䜰䝑䝥䝕䞊䝖 䜶䝷䞊䛃 ● WordPress䛾䝣䜷䞊䝷䝮䛷⪺䛟 ○ 䜎䛸䜑䛯≧ἣ䜒᭩䛝䜎䛧䜗䛖䛽 ● 䛷䛝䜛ே䛻䛚㔠䜢ᡶ䛳䛶㢗䜐
  54. 54. 䛺䛬䛣䜣䛺䛣䛸䛻䠛 ● 䜰䝑䝥䝕䞊䝖䛾䜶䝷䞊䚸䜋䛸䜣䛹㛫㐪䛔䛺䛟䝃䞊 䝞䛾䝸䝋䞊䝇୙㊊ ● ୍⯡ⓗ䛻౑䜟䜜䛶䜛Ᏻ౯䛺ඹ᭷䝃䞊䝞䛰䛸๭ 䛸䜘䛟㉳䛣䜛 ● 䝥䝷䜾䜲䞁䛸䛛䝔䞊䝬䛾䜶䝷䞊䛿᪂䛧䛔 WordPress䛻ᑐᛂฟ᮶䛶䛺䛔
  55. 55. 䛣䛖䛺䜙䛺䛔䛯䜑䛾ᑐฎἲ ● 䛭䜜䛺䜚䛻䝸䝋䞊䝇䛜౑䛘䜛䝃䞊䝞䛻ኚ䛘䜘䛖 ○ 䛭䜒䛭䜒䜽䝷䜲䜰䞁䝖䝽䞊䜽䛷䝽䞁䝁䜲䞁䜏䛯䛔䛺Ᏻ౯䛺 䝃䞊䝞䛿… ● ᭦᪂䛥䜜䛶䛔䜛䝔䞊䝬䞉䝥䝷䜾䜲䞁䜢౑䛚䛖 ● ㉳䛣䛳䛶䛛䜙䛾᚟ᪧ䛿኱ኚ䛺䛾䛷䚸஦๓䛻ᑐ⟇䜢䛧䛶䛚䛣䛖
  56. 56. 㯮㥖 䛱䜗䛳䛸䛰䛡ᮍ᮶䛾䛚ヰ (; ~_~)᪦䚷䢈䡯䡥䡥䡥䞉䞉䞉
  57. 57. 䛣䜜䛛䜙䛾WordPress ● 䝰䝞䜲䝹ᑐᛂ䛜㔜ど䛥䜜䛶䛔䛟 ● 䝁䞁䝔䞁䝒䜢సᡂ䛩䜛䛣䛸䛻≉໬䛧䛶䛔䛟䠛 ● 䛹䛣䛛䛷ྂ䛔PHP䜔MySQL䛾䝞䞊䝆䝵䞁䜢ษ䜚 ᤞ䛶䜛᪥䛜᮶䜛䠛 ● 䛸䛔䛖䛣䛸䛿䚸௒䛾⎔ቃ䛾䜎䜎䛷౑䛔⥆䛡䜛䛾 䛿㞴䛧䛔
  58. 58. 㯮㥖 䛥䛶䚸䜎䛸䜑
  59. 59. 䜎䛸䜑 ● WordPress䛿౽฼䛷䛩䚹 ● 䝃䞊䝞኱஦ ● ఱ䛷䜒స䜜䜛䛧䚸䛔䜝䜣䛺ᖜ䛜ᗈ䛜䜛 ● 䛷䜒䚸౑䛖௨ୖ⟶⌮䛿䛧䛳䛛䜚䛸 ● ᥦ᱌䛩䜛ே䚸ไస䛩䜛ே䛾㈐௵䛷䛩 ● WordPress䛰䛡䛨䜓䛺䛟䚸PHP䜔MySQL䜎䛷Ẽ䛻䛧䜎䛧䜗䛖 ● 䜔䛳䜁䜚䝃䞊䝞኱஦
  60. 60. 䝤䝷䞁䝕䜱䞁䜾䜔ゎᯒ䜒䛝䛳䛱䜚⾜䛳䛶䚸 ୍䛴୍䛴䛾Web䝃䜲䝖䜢䛧䛳䛛䜚⫱䛶䛶䛒䛢䜎䛧䜗 䛖䚹 䛧䛳䛛䜚⟶⌮䛧䛶Ᏺ䛳䛶䛒䛢䜎䛧䜗䛖䚹 䛣䜜䛛䜙䛾䝃䜲䝖ไస⪅䛻ᚲせ䛺䛣䛸䛷䛩䜘䚹
  61. 61. 䛣䛣䛷ᑡ䛧䛚▱䜙䛫
  62. 62. WordCamp Tokyo 2014 㛤ദ䟿䟿 2014/10/11䚷኱⏣༊⏘ᴗ䝥䝷䝄Pio 䛄䛣䜜䛛䜙䛾WordPress䛾ヰ䜢䛧䜘䛖䛅 ヲ䛧䛟䛿Web䛷䟿 http://2014.tokyo.wordcamp.org/
  63. 63. ᫖ᖺ䛾෗┿ 䜙䛧䛔䜘
  64. 64. 䛤㟼⫈䛒䜚䛜䛸䛖䛤䛦䛔䜎䛧䛯

×