Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JavaScriptで学ぶAjax通信
Search
Toshinori Sugita
August 14, 2014
Programming
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JavaScriptで学ぶAjax通信
Ajax通信って何か?をサンプルコードを準備しつつまとめました。初心者向けです。
(Project Compass)
Toshinori Sugita
August 14, 2014
More Decks by Toshinori Sugita
See All by Toshinori Sugita
AIエージェント時代のPlatform as a Product —— テックリードがPdMとして回す発見・導入・計測 / Platform as a Product in the AI Agent Era
toshi0607
0
250
GKEを中心としたマルチプロダクト・マルチリージョン対応アプリケーションプラットフォームの継続的改善 / continuous improvement of GKE based application platform
toshi0607
1
200
組織を巻き込む大規模プラットフォーム移行戦略 〜50+サービスのマルチリージョン・マルチプロダクト化で学んだステークホルダー協働の実践〜 / Platform migration strategy engaging all stakeholders
toshi0607
2
7.9k
文系学部卒ソフトウェアエンジニアが Georgia Techコンピューターサイエンス修士課程で直面したもの / What a Liberal Arts Graduate Software Engineer Faced in Georgia Tech's Computer Science Master's Program
toshi0607
4
2.1k
50以上のマイクロサービスを支えるアプリケーションプラットフォームの設計・構築の後悔と進化 #CNDW2024 / regrets and evolution of application platform
toshi0607
5
9.8k
OPA and cloud resources
toshi0607
1
14k
KompalWeather: Serverless Sauna Service with Cloud Run
toshi0607
1
13k
Knativeで作るDIY FaaS / serverless days fukuoka 2019 knative workshop
toshi0607
1
5.4k
Knativeで作るDIY FaaS / serverless days tokyo 2019 knative workshop
toshi0607
5
11k
Other Decks in Programming
See All in Programming
Java 27新機能 / Java 27 new features
kishida
2
170
カツオ、ご期待ください
suneo3476
0
100
一人だけ、Kiroが静止する日
hideg
0
130
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.2k
Are APIs Still Relevant in the AI Era?
soyuka
0
320
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
110
setup-vp GitLab対応の裏側
naokihaba
0
130
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
220
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
320
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
800
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
140
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
390
Featured
See All Featured
Claude Code のすすめ
schroneko
67
230k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
710
Designing for humans not robots
tammielis
254
26k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
What's in a price? How to price your products and services
michaelherold
247
13k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
440
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
30 Presentation Tips
portentint
PRO
1
410
The Invisible Side of Design
smashingmag
301
52k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Everyday Curiosity
cassininazir
0
330
Transcript
JavaScriptͰֶͿAjax௨৴ toshi0607.com 2014/8/16 @Tech Garden School Project Compass 1
͜ΕԿͷࢿྉʁ • ର ɹ− Ajax௨৴ͷ֓ཁΛཧղ͍ͨ͠ਓ ɹ− WEBαʔϏεͷUXΛߴΊ͍ͨਓ • ༰ͷϨϕϧ ɹ−
࡞ऀɿϓϩάϥϛϯάྺ8ϲ݄͘Β͍ ɹ− ֓ཁͱ؆୯ͳαϯϓϧ Project Compass 2
࣍ ̍ɽAjax௨৴ͱʢ֓ཁʣ ̎ɽDEMO ̏ɽAjax௨৴ͱʢৄࡉʣ ̐ɽJavaScriptʢjQueryʣͰͷ࣮ ̑ɽ·ͱΊ ̒ɽࢀߟࢿྉ Project Compass 3
࣍ ̍ɽAjax௨৴ͱʢ֓ཁʣ ̎ɽDEMO ̏ɽAjax௨৴ͱʢৄࡉʣ ̐ɽJavaScriptʢjQueryʣͰͷ࣮ ̑ɽ·ͱΊ ̒ɽࢀߟࢿྉ Project Compass 4
̍ɽAjax௨৴ͱ ʮAjaxʢAsynchronous JavaScript + XMLʣ ΛҰݴͰݴ͏ͳΒɺʮJavaScriptʢXML HttpRequestΦϒδΣΫτʣΛར༻ͯ͠αʔ όଆͱඇಉظ௨৴Λߦ͍ɺड͚औͬͨ݁Ռ ΛDOMʢDocumentObjectModelʣܦ༝Ͱ ϖʔδʹө͢Δ͘͠ΈͰ͢ɻʯ
ࢁాஶʰJavaScriptຊ֨ೖʱʢ2010ɺٕज़ධࣾʣΑΓ Project Compass 5
̍ɽAjax௨৴ͱ 6
࣍ ̍ɽAjax௨৴ͱʢ֓ཁʣ ̎ɽDEMO ̏ɽAjax௨৴ͱʢৄࡉʣ ̐ɽJavaScriptʢjQueryʣͰͷ࣮ ̑ɽ·ͱΊ ̒ɽࢀߟࢿྉ Project Compass 7
̎ɽDEMO Project Compass 8 ©GitHub, Inc. ඦฉҰݟʹ͔ͣɻ ϩʔΧϧαʔό্Ͱ࣮ߦ͍ͯͩ͘͠͞ʂ αϯϓϧίʔυ https://github.com/toshi0607/Sato-Seminar
࣍ ̍ɽAjax௨৴ͱʢ֓ཁʣ ̎ɽDEMO ̏ɽAjax௨৴ͱʢৄࡉʣ ̐ɽJavaScriptʢjQueryʣͰͷ࣮ ̑ɽ·ͱΊ ̒ɽࢀߟࢿྉ Project Compass 9
̏ɽAjax௨৴ͱʢৄࡉʣ αʔόͱͷ௨৴݁ՌΛߋ৽ՕॴͷΈʹө − ߴɾܰշͳڍಈ − ௨৴தૢ࡞ܧଓ ɹ Project Compass 10
ϦονͳUIߏஙʹෆՄܽͳٕज़
̏ɽAjax௨৴ͱʢৄࡉʣ ɾඇಉظ௨৴ Project Compass 11 શϖʔδߋ৽ ɾಉظ௨৴ ߋ৽ՕॴͷΈߋ৽
࣍ ̍ɽAjax௨৴ͱʢ֓ཁʣ ̎ɽDEMO ̏ɽAjax௨৴ͱʢৄࡉʣ ̐ɽJavaScriptʢjQueryʣͰͷ࣮ ̑ɽ·ͱΊ ̒ɽࢀߟࢿྉ Project Compass 12
̐ɽJavaScriptʢjQueryͰͷ࣮ʣ Project Compass 13 AjaxΛ࣮͢ΔͨΊʹඞཁͳ3εςοϓ ※JavaScriptΛ༻ ᶃXMLHttpRequestΦϒδΣΫτΛੜ ɹ− ͜ͷΦϒδΣΫτ͕ඇಉظ௨৴Λ੍ޚ ᶄίʔϧόοΫؔΛొ
ɹ− αʔόԠ࣌ͷॲཧ༰ ɹ − ΦϒδΣΫτͷ௨৴ͷঢ়ଶมԽʹΑΓݺͼग़͞ΕΔ ᶅαʔόඇಉظ௨৴Λ։࢝
̐ɽJavaScriptʢjQueryͰͷ࣮ʣ Project Compass 14 αϯϓϧίʔυhw4-ajax-sample_js.html ᶃΦϒδΣΫτΛੜ ᶄίʔϧόοΫؔΛొ ᶅαʔόඇಉظ௨৴Λ։࢝
̐ɽJavaScriptʢjQueryͰͷ࣮ʣ Project Compass 15 αϯϓϧίʔυhw4-ajax-sample_js.html αϯϓϧίʔυhw4-ajax-sample_jq.html 40%ݮʂ JQueryͰΑΓ؆ܿʹ࠶ݱʂ
࣍ ̍ɽAjax௨৴ͱʢ֓ཁʣ ̎ɽDEMO ̏ɽAjax௨৴ͱʢৄࡉʣ ̐ɽJavaScriptʢjQueryʣͰͷ࣮ ̑ɽ·ͱΊ ̒ɽࢀߟࢿྉ Project Compass 16
̑ɽ·ͱΊ Project Compass 17 ᶃૢ࡞ੑͷվળ ɹ− ௨৴ຖʹൃੜ͍ͯͨ͠ϖʔδνϥπΩΛղফ ɹ − αʔόͷॲཧதΫϥΠΞϯτଆͰॲཧܧଓ
ᶄύϑΥʔϚϯεͷ্ ɹ− ϖʔδͷඞཁͳ෦Λߋ৽͢ΔͷͰɺ௨৴ྔ࠷খԽ ɹ − αʔόͷॲཧ͕ͪͳ͘ɺମײ্͕ ᶅ։ൃੜ࢈ੑʗӡ༻ੑͷ্ ɹ − ϦονͳUIΛඪ४తͳٕज़͚ͩͰߏங ɹ − ಈ࡞ʹඞཁͳผͳϓϥάΠϯ͕ෆཁͰɺಋೖ͕༰қ −
࣍ ̍ɽAjax௨৴ͱʢ֓ཁʣ ̎ɽDEMO ̏ɽAjax௨৴ͱʢৄࡉʣ ̐ɽJavaScriptʢjQueryʣͰͷ࣮ ̑ɽ·ͱΊ ̒ɽࢀߟࢿྉ Project Compass 18
̒ɽࢀߟࢿྉ Project Compass 19 ɾࢁాஶʰJavaScriptຊ֨ೖʱ ɹʢ2010ɺٕज़ධࣾʣ ɹ− ଟஶॻ͋Γɻ୯ʹಈ͚͍͍ʂͱ͍͏Θ͚Ͱͳ͘ɺ ɹɹٕज़ొͷഎܠ͔Βղઆ͕ΈͬͪΓͰ͢ɻେ͖Ͱ͢ɻ ɾാҰഅஶʰWeb੍࡞ͷݱͰ͏jQueryσβΠϯೖʱ
ɹʢ2013ɺWEB PROFESSIONALʣ ɹ − WebσβΠφʔ͚ͱ͍͏ׂΓΓ͕͋Γɺ ɹɹ߅ͳ͘આ໌͕಄ʹೖ͖ͬͯ·͢ɻ ɾYuta Motishige࡞ʰݟ͍͢ϓϨθϯࢿྉͷ࡞Γํʱ ɹʢhttp://www.slideshare.net/yutamorishige50/how-to-present-betterʣ ɹ − ύϫϙ࡞ηϯε0ɺࡢಉҰࢿྉ41ճ࡞Γ͠ͷ ɹɹͦͷޙʹ͜ͷࢿྉΛΓ·ͨ͠…ɻ