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

20190122_vdom.pdf

ozaki25
January 22, 2019

 20190122_vdom.pdf

ozaki25

January 22, 2019
Tweet

More Decks by ozaki25

Other Decks in Technology

Transcript

  1. %0.ͷྺ࢙ᶃ ).5-ͷ஀ੜ ೥ࠒ  w ΋ͱ΋ͱ͸ݚڀऀ޲͚ͷ࿦จΛॻͨ͘Ίʹ࢖ΘΕ͍ͯͨ w λΠτϧ͕͋Γ UJUMF ɺݟग़͕͋͠Γ

    I I ɺύϥά ϥϑ͕͋Γ Q  w Πϯλʔωοτͷൃలʹ൐ͬͯ༻్͕޿͕͍ͬͯ͘  
  2. %0.ͷྺ࢙ᶄ %0. %PDVNFOU0CKFDU.PEFM ͷ஀ੜ ೥  w %0.ͱ͸ w )5.-Λಈతʹ੍ޚ͢Δ"1*ͷ࢓༷

    w ඪ४Խஂମ8$ʹΑͬͯࡦఆ͞ΕΔ +BWB4DSJQUʹΑͬͯ)5.-Λಈతʹ੍ޚͰ͖ΔΑ͏ʹͳΔ   ಈతʹ੍ޚͰ͖ΔΑ͏ʹͳΔ  ϖʔδભҠͤͣʹ)5.-Λॻ׵͑ΒΕΔ
  3. Ծ૝%0.ొ৔લ໷ᶄ 8FCٕज़ͷधཁͷߴ·Γ w J1IPOFͷ'MBTIඇ౥ࡌܾఆ ೥ ˞ w ϦονϝσΟΞͷ࣮૷धཁ͕+BWB4DSJQUʹूத w /PEFKTOQNΤίγεςϜͷ੒ख़

    ೥ࠒʙ  w +BWB4DSJQUͷݴޠతͳශऑ͞ΛΧόʔ w $P⒎FF4DSJQU #SPXTFSJGZ   ※ https://www.apple.com/hotnews/thoughts-on-flash/
  4. ೖग़ྗͷΞτϛοΫੑ ΫϥΠΞϯταΠυͷ৔߹ w ΞτϛοΫੑ͕ͳ͍ w ϦΫΤετϨεϙϯε㱠8FCϖʔδ w αʔόαΠυͰੜ੒ͨ͠)5.-͸ॳظঢ় ଶʹ͗͢ͳ͍ w

    %0.ૢ࡞ʹΑΓ͋ΒΏΔঢ়ଶ΁ॻ͖׵ ͑ΒΕಘΔ     αʔό Ϸμεφϕ(URL) ϹφϪЀφ(HTML) ϒϥ΢β ϹЀύϷЀν WebϧЄυ DOM 䨗䟵͞ DOM 䨗䟵͞ WebϧЄυ WebϧЄυ
  5. ΫϥΠΞϯταΠυʹ΋ΞτϛοΫੑΛ "TJT w ΫϥΠΞϯταΠυ͸༷ʑͳཁ ҼͰঢ়ଶ͕มΘΔ w ϘλϯΛΫϦοΫͨ͠Βʙɺ "KBYͰσʔλΛऔಘͨ͠Βʙ w ঢ়ଶ͕มΘΔ౓ʹ%0.ͷ্ॻ

    ͖͕ܧ͗଍͞Ε͍ͯ͘   5PCF w ঢ়ଶ͕ߋ৽͞ΕΔ౓ʹঢ়ଶʹଈ ͨ͠Ұҙͳ7JFXΛग़ྗ͍ͨ͠ w ʮೖྗʹج͍ͮͨঢ়ଶܾఆͷΞ τϛοΫੑʯΛखʹೖΕ͍ͨ
  6. ΫϥΠΞϯταΠυͷΞτϛοΫੑ༗ແͷྫ ϘλϯΛΫϦοΫ͢Δͱཁૉ͕૿͑Δαϯϓϧ   ௥Ճ Hello ௥Ճ Hello Hello ΫϦοΫ

    μϷϐμͫ΢͵ͩ;Ψ䭥ᎣͭͼᥝᔰΨ᭄ےͯΡ ίϕϬϐμ௔͢΀͚ ίϕϬϐμ௔͘͢Ρ ௥Ճ Hello ௥Ճ Hello Hello ΫϦοΫ \DPVOU^ ˣ \DPVOU^ μϷϐμͫ΢͵Οᇫ䙪ΨๅෛͯΡ ᇫ䙪Ψز΁ኮᶎΨ䯤塈ͭൈኮͯΡ ᇫ䙪
  7. ΫϥΠΞϯταΠυͷΞτϛοΫੑ༗ແͷྫ ϘλϯΛΫϦοΫ͢Δͱཁૉ͕૿͑Δαϯϓϧ   ௥Ճ Hello ௥Ճ Hello Hello ΫϦοΫ

    μϷϐμͫ΢͵ͩ;Ψ䭥ᎣͭͼᥝᔰΨ᭄ےͯΡ ίϕϬϐμ௔͢΀͚ ίϕϬϐμ௔͘͢Ρ ௥Ճ Hello ௥Ճ Hello Hello ΫϦοΫ \DPVOU^ ˣ \DPVOU^ μϷϐμͫ΢͵Οᇫ䙪ΨๅෛͯΡ ᇫ䙪Ψز΁ኮᶎΨ䯤塈ͭൈኮͯΡ ᇫ䙪 ඳը಺༰ͷܧ͗଍͠Ͱ͸ͳ͘ ঢ়ଶΛݩʹશମΛ࠶ߏங͢Δ
  8. ΫϥΠΞϯταΠυͷΞτϛοΫੑ༗ແͷྫ ϘλϯΛΫϦοΫ͢Δͱཁૉ͕૿͑Δαϯϓϧ   ௥Ճ Hello ௥Ճ Hello Hello ΫϦοΫ

    μϷϐμͫ΢͵ΟᥝᔰΨ᭄ےͯΡ ίϕϬϐμ௔͢΀͚ ίϕϬϐμ௔͘͢Ρ ௥Ճ Hello ௥Ճ Hello Hello ΫϦοΫ \DPVOU^ ˣ \DPVOU^ μϷϐμͫ΢͵Οᇫ䙪ΨๅෛͯΡ ᇫ䙪Ψز΁ኮᶎΨ䯤塈ͭൈኮͯΡ ঢ়ଶΛ֬ఆ͢Δεςοϓͱ )5.-Λߋ৽͢Δεςοϓ͕ ໌֬ʹ෼཭͞ΕΔ ඳը಺༰ͷܧ͗଍͠Ͱ͸ͳ͘ ঢ়ଶΛݩʹશମΛ࠶ߏங͢Δ
  9. ΫϥΠΞϯταΠυͷΞτϛοΫੑ༗ແͷྫ ϘλϯΛΫϦοΫ͢Δͱཁૉ͕૿͑Δαϯϓϧ   ௥Ճ Hello ௥Ճ Hello Hello ΫϦοΫ

    μϷϐμͫ΢͵ΟᥝᔰΨ᭄ےͯΡ ίϕϬϐμ௔͢΀͚ ίϕϬϐμ௔͘͢Ρ ௥Ճ Hello ௥Ճ Hello Hello ΫϦοΫ \DPVOU^ ˣ \DPVOU^ μϷϐμͫ΢͵Οᇫ䙪ΨๅෛͯΡ ᇫ䙪Ψز΁ኮᶎΨ䯤塈ͭൈኮͯΡ ͜ΕΛ࣮ݱ͢ΔͨΊʹ ͔ܽͤͳ͍ͳٕज़͕Ծ૝%0.
  10. Ծ૝%0.ͱ3FBM%0. 3FBM%0. w ը໘ʹඳը͞Ε͍ͯΔ%0.π Ϧʔͷ͜ͱ   Ծ૝%0. ڱٛ 

    w 3FBM%0.ͱͰରԠ͢Δߏ ଄ମͰϝϞϦ্ʹอ͍࣋ͯ͠Δ 9 : ; 9 : ;
  11. Ծ૝%0.ͷΞϧΰϦζϜ RealDOM 㫪మDOM \DPVOU^ w ϘλϯΛΫϦοΫ͢Δͱཁૉ͕૿͑Δαϯϓϧ CVUUPO )FMMP EJW CVUUPO

    )FMMP EJW before CVUUPO )FMMP EJW )FMMP ߋ৽ޙͷঢ়ଶΛݩʹ Ծ૝%0.Λ࠶ߏங after
  12. Ծ૝%0.ͷΞϧΰϦζϜ RealDOM 㫪మDOM \DPVOU^ w ϘλϯΛΫϦοΫ͢Δͱཁૉ͕૿͑Δαϯϓϧ CVUUPO )FMMP EJW before

    CVUUPO )FMMP EJW )FMMP after ࠩ෼Λ3FBM%0.ʹ ൓өͤ͞Δ CVUUPO )FMMP EJW )FMMP