ϗ ε ς Ο ϯ ά Λ ఏ ڙ • WordPressͷ੩తԽϗεςΟϯά • WordPressΛͦͷ··੩తԽ • ެ։αʔόʔϏϧυγεςϜ·Ͱ All in One Ͱఏڙ • “WordPressΛ͍͍ͨ”ํ͚ S h i f t e r S t a t i c S h i f t e r H e a d l e s s • ϑϧϚωʔδυϗεςΟϯάWordPress • API / ೖߘը໘ͱͯ͠ͷ༻్ʹಛԽ • JamstackʹඞཁͳϓϥάΠϯΛ ϓϦΠϯετʔϧ & ࣗಈߋ৽ • “WP API / GraphQL͕ཉ͍͠”ํ͚
d l e s s Ͱ ར ༻ Մ ೳ ͳ ϓ ϥ άΠ ϯ • GitHubͰϦετΛެ։த https://github.com/digitalcube/ shifter-headless-plugins/blob/main/ PLUGINS.md • Ϣʔβʔ͔ΒͷཁͰɺ ϓϥάΠϯΛՃ͢Δ͜ͱ͋Δ • PHPͷεχϖοτ ཧը໘͔ΒՃՄೳ
ςϜ ͱ ͯ͠ ͷ Wo rd P re s s • ࠃࡍతͳOpen Source CMSͷ1ͭͰɺϓϨΠϠʔଟ͍ • ʢ͕ଟ͍ͷͰʣHeadless / Jamstackํ໘ͰͷࢀՃऀଟଘࡏ • ᴈ໌ظ͔ΒͷࣄྫφϨοδɺͦΕΛݩʹͨ͠πʔϧଟ͍ • ࢀՃऀ͕ଟ͍ɺʮ1ຊಓʯͰͳ͍͜ͱʹཁҙ
F r a m e w o r k f o r Wo rd P re s s • Gatsby: WP Gatsby + WP GraphQL https://www.gatsbyjs.com/guides/wordpress/ • Next.js : Faust.js (using WP GraphQL) https://faustjs.org/
P re s s ͷ ҙ • ӡ༻ऀ͕ʮͰ͖Δͱࢥ͍ͬͯΔ͜ͱʯ͕Ͱ͖ͳ͍͜ͱ͕͋Δ -> ϓϥάΠϯΛͬͨίϯςϯπͷՃΧελϚΠζ • ʮมΘΒͣ͑ΔʯΏ͑ʹɺ ʮͰ͖ͳ͘ͳͬͨ͜ͱʯͷෆຬ͕ੜ·ΕΔ • ࣄલʹʮมΘΒͳ͍͜ͱʯͱʮมΘΔʢͰ͖ͳ͘ͳΔʣ͜ͱʯΛ ؔऀʹઆ໌͠ɺυΩϡϝϯτԽ͢Δඞཁ͕͋Δ