Introducing TiExtendWeb

Introducing TiExtendWeb

Titanium Study Meeting (Moku-Moku Kai) in Tokyo #9

Dd17014e380450cfed5d55ff20fa3dfd?s=128

Ryutaro Miyashita

June 13, 2013
Tweet

Transcript

  1. Introducing TiExtendWeb WebView Λ֦ு͢ΔͪΐͬͱศརͳϞδϡʔϧ Titanium ΋͘΋͘ձ Tokyo #9 in DENSO

    IT ϥϘ
  2. Ryutaro Miyashita ChatWork Engineer / Titanium Mobile Ϣʔβʔձॻه  

     ryugoo_ ryutaro.miyashita ryugoo Titanium ΋͘΋͘ձ Tokyo #9 in DENSO IT ϥϘ
  3. TiExtendWeb WebView Λ֦ு͢ΔͪΐͬͱศརͳϞδϡʔϧ ? Titanium ΋͘΋͘ձ Tokyo #9 in DENSO

    IT ϥϘ
  4. TiExtendWeb ? Fast Scroll No Shadow Native Bridge Mod UserAgent

    TiExtendWeb
  5. Awesome ? ͑͑΍Ζʋ ʅʔʆ ϊ TiExtendWeb ? Titanium ΋͘΋͘ձ Tokyo

    #9 in DENSO IT ϥϘ
  6. github.com/ryugoo/TiExtendWeb  < MIT ϥΠηϯεͰ͍͟͝·͢ Titanium ΋͘΋͘ձ Tokyo #9 in

    DENSO IT ϥϘ TiExtendWeb ?
  7. TiExtendWeb ?  < ͪ͜ΒͰ͍͟͝·͢

  8. How To Use Ϟδϡʔϧͷ࢖͍͔ͨ Titanium ΋͘΋͘ձ Tokyo #9 in DENSO

    IT ϥϘ
  9. ./build.py 1. ϞδϡʔϧΛϏϧυ Titanium ΋͘΋͘ձ Tokyo #9 in DENSO IT

    ϥϘ tiapp.xml 2. ϞδϡʔϧΛ૊ࠐΈ How To Use <module platform='iphone' version='0.2'> net.imthinker.modules.tiextendweb </module>
  10. 3. WebView ʹهड़ How To Use var web_view = Ti.UI.createWebView({

    url: 'http://imthinker.net/', normalScrollSpeed: true, removeShadow: true, removeScrollDelay: true, userAgentForiOS: 'TiExtendWeb' }); web_view.addEventListener('hoge', function () { alert('TiExtendWeb!'); }); <a href='extendwebview://hoge'>Click</a> WebView HTML
  11. ɾTi.App.addEventListener࢖Θͳ͍! ɾTi.App.fireEvent΋࢖Θͳ͍! άϩʔόϧΠϕϯτ͡Όͳ͍͔ΒϝϞϦϦʔΫͷ৺഑ݮΔ aλά͚ͩͰWebView ͷΠϕϯτݺͼग़ͤͪΌ͏ ɾWebViewͩͱόϨʹ͘͘ͳΔ! ૢ࡞ײ͕ TableView ΍ScrollView ͱಉ͡ײ֮ʹͳΔ

    TiExtendWeb ! ɾrequire͸࢖Θͳ͍! طଘͷWebView Λ֦ு͢Δ͔Β೉͍͜͠ͱඞཁͳ͠
  12. Awesome ! ͑͑΍Μʋ ʅʔʆ ϊ Titanium ΋͘΋͘ձ Tokyo #9 in

    DENSO IT ϥϘ TiExtendWeb !
  13. ʘಥવͷએ఻ʗ Titanium ΋͘΋͘ձ Tokyo #9 in DENSO IT ϥϘ ADVERTISEMENT

  14. Advertisement ChatWork Jobs ڧͯ͘χϡʔήʔϜͳ஥ؒ୳ͯ͠·͢ Titanium ΋͘΋͘ձ Tokyo #9 in DENSO

    IT ϥϘ (Talk of the 2013/06/13)
  15. ChatWork Jobs ɾAndroid ͳΤϯδχΞ ωΠςΟϒ(Java) ͔ͭ Titanium ܦݧऀͳΒঘྑ͠ ɾUI LoveͳσβΠφʔ

    HTML5 ͱ͔ CSS3 ͱ͔ JavaScript ͱ͔όϦόϦͳΒঘྑ͠ ChatWork ࠾༻αΠτ http://www.chatwork.com/ja/recruit.html ࿩ฉ͖͍ͨํ͸௚઀Ͱ΋Ͳͧ @ryugoo_ / miyashita@chatwork.co.jp (Talk of the 2013/06/13) ɾPHP / αʔόʔαΠυͳΤϯδχΞ REST ͱ͔ AWS ͱ͔ύϑΥʔϚϯεؾʹͨ͠Γ͢ΔͳΒঘྑ͠
  16. ʘએ఻ऴΘΓʗ Titanium ΋͘΋͘ձ Tokyo #9 in DENSO IT ϥϘ ADVERTISEMENT

  17. Enjoy Ti app day! Titanium ΋͘΋͘ձ Tokyo #9 in DENSO

    IT ϥϘ TiExtendWeb ! ωΠςΟϒͰ೉͍͠ͱ͜Ζ͸WebView ͰΧόʔ͠Α͏ͥ
  18. Titanium ΋͘΋͘ձ Tokyo #9 in DENSO IT ϥϘ ʘENDʗ CODESTRONG