Upgrade to Pro — share decks privately, control downloads, hide ads and more …

htmx is fun!

htmx is fun!

@ htmx meetup (unofficial)
https://connpass.com/event/311145/

Kei Kamikawa

March 15, 2024
Tweet

More Decks by Kei Kamikawa

Other Decks in Programming

Transcript

  1. /05")05&-ͷٕज़ ฻Β͠ʹඞཁͳػೳ͢΂͕ͯ 
 /05")05&-ΞϓϦʹ٧·͍ͬͯ ·͢ɻ଺ࡏར༻༧໿ɺϋ΢εΩʔɺΧ ʔγΣΞͷΩʔɺऩೖͷ؅ཧ·Ͱ͢΂ ͯΞϓϦͰ׬݁͠·͢ɻ ΦʔϧΠϯΞϓϦɾ ӡӦπʔϧʢ1.4ʣ εϚʔτϗʔϜ

    ίϯτϩʔϥʔ ೥ؒ೔୯Ґ͔Βར༻Ͱ͖Δ 
 ձһݖ5)&.&.#&34)*1ͱ 
 ຖ೥/05")05&-ͷͲ͔͕॓͜ധ ઌͱׂͯ͠Γ౰ͯΒΕΔ5)&,&:ͷ ̎ͭͷ/'5ɻ͍ͣΕ΋.BSLFUQMBDF Ͱࣗ༝ʹചങ΋ՄೳͰ͢ɻ ͢΂ͯͷػثͷૢ࡞͸ 
 ϗʔϜίϯτϩʔϥʔ͔ΒͰ͖·͢ɻ ௨ৗͷՈిΛ,/9ʹ઀ଓ͢Δ͜ͱ ͰɺಠࣗͷΦʔτϝʔγϣϯͱίϯτ ϩʔϧΛՄೳʹ͍ͯ͠·͢ɻ "*ίϯγΣϧδϡ 8&#ٕज़ʹΑΔར༻ݖ "*Λ׆༻ͨ͠νϟοτΞγελϯτ ͕ɺ͓٬͞·ͷཁ๬΍࣭໰ʹճ౴͠ɺ ద੾ʹΞϓϦͷૢ࡞ը໘ͷΦεεϝΛ ͠ɺ฻Β͠ͷࠔΓ͝ͱΛղܾ͠·͢ɻ
  2. /05")05&-ͷٕज़ ฻Β͠ʹඞཁͳػೳ͢΂͕ͯ 
 /05")05&-ΞϓϦʹ٧·͍ͬͯ ·͢ɻ଺ࡏར༻༧໿ɺϋ΢εΩʔɺΧ ʔγΣΞͷΩʔɺऩೖͷ؅ཧ·Ͱ͢΂ ͯΞϓϦͰ׬݁͠·͢ɻ ΦʔϧΠϯΞϓϦɾ ӡӦπʔϧʢ1.4ʣ εϚʔτϗʔϜ

    ίϯτϩʔϥʔ ೥ؒ೔୯Ґ͔Βར༻Ͱ͖Δ 
 ձһݖ5)&.&.#&34)*1ͱ 
 ຖ೥/05")05&-ͷͲ͔͕॓͜ധ ઌͱׂͯ͠Γ౰ͯΒΕΔ5)&,&:ͷ ̎ͭͷ/'5ɻ͍ͣΕ΋.BSLFUQMBDF Ͱࣗ༝ʹചങ΋ՄೳͰ͢ɻ ͢΂ͯͷػثͷૢ࡞͸ 
 ϗʔϜίϯτϩʔϥʔ͔ΒͰ͖·͢ɻ ௨ৗͷՈిΛ,/9ʹ઀ଓ͢Δ͜ͱ ͰɺಠࣗͷΦʔτϝʔγϣϯͱίϯτ ϩʔϧΛՄೳʹ͍ͯ͠·͢ɻ "*ίϯγΣϧδϡ 8&#ٕज़ʹΑΔར༻ݖ "*Λ׆༻ͨ͠νϟοτΞγελϯτ ͕ɺ͓٬͞·ͷཁ๬΍࣭໰ʹճ౴͠ɺ ద੾ʹΞϓϦͷૢ࡞ը໘ͷΦεεϝΛ ͠ɺ฻Β͠ͷࠔΓ͝ͱΛղܾ͠·͢ɻ
  3. 8IZVTFIUNY w ݩʑ"1*։ൃͷΈͷ༧ఆͰ$MPVE fl BSF8PSLFSTΛ 
 બΜͰ͍ͨ w "*Λίϯτϩʔϧ͢ΔͨΊʹσʔλΛ༩͑Δඞཁ͕͋ͬͨ w

    ؅ཧπʔϧͷര஀ w $'8PSLFST͸4430OMZ )POP  w )5.-্Ͱঢ়ଶΛ࣋ͪͨ͘ͳ͍ɺGFUDIॻ͖ͨ͘ͳ͍
  4. (*'

  5. w )POP "MQJOFKT UBJMXJOEDTT IUNY w 1JOFT6*Λར༻͍ͯ͠Δ w IUUQTEFWEPKPDPNQJOFT w

    IYQSPNQUͰೖྗϓϩϯϓτΛදࣔ w IYPOͰΠϕϯτΛरͬͯΞΫγϣϯ w ͜͜Ͱ͸ࣦഊͨ࣌͠ʹUPBTUΛදࣔ͢Δ ΞΠςϜ௥Ճϖʔδ
  6. (*'