Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
網站程式設計[1] @ INFOR
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tewei
October 21, 2014
Programming
120
0
Share
網站程式設計[1] @ INFOR
tewei
October 21, 2014
More Decks by tewei
See All by tewei
Alcoholism Treatment: A Translational Perspective
tewei
0
210
AI in Medicine @ APMSS 2019
tewei
1
450
Do No Harm Book Report
tewei
0
77
古騰堡革命
tewei
0
120
個人申請
tewei
0
150
Entresoft Program 2015-16
tewei
0
160
Intro to CS Course Outline
tewei
0
65
Deep and Reinforced Learning
tewei
1
140
網路安全 @ INFOR
tewei
0
93
Other Decks in Programming
See All in Programming
空間オーディオの活用
objectiveaudio
0
130
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
320
The Less-Told Story of Socket Timeouts
coe401_
3
970
「OSSがあるなら自作するな」は AI時代も正しいか ── Build vs Adopt の新しい判断基準
kumorn5s
4
1.3k
PicoRuby for IoT: Connecting to the Cloud with MQTT
yuuu
2
760
Firefoxにコントリビューションして得られた学び
ken7253
2
150
Claude Code × Gemini × Ebitengine ゲーム制作素人WebエンジニアがGoでゲームを作った話
webzawa
0
220
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
250
AIと共に生きる技術選定 2026
sgash708
0
120
Agentic Elixir
whatyouhide
0
440
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
480
AgentCore Optimizationを始めよう!
licux
3
200
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
300
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Producing Creativity
orderedlist
PRO
348
40k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
220
Are puppies a ranking factor?
jonoalderson
1
3.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
The Limits of Empathy - UXLibs8
cassininazir
1
320
Six Lessons from altMBA
skipperchong
29
4.2k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
270
Writing Fast Ruby
sferik
630
63k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.7k
Transcript
網站程式設計 Alexander Shieh @ INFOR
介紹⼀一下 • 如果某⼀一天我沒來上課或沒有講義純屬正常現象 • ⼤大綱:http://tewei.logdown.com/posts/208349- network-programming-course • 參考書籍:Discover Meteor, 深⼊入淺出Node.js
網站101 • 網站是很多網⾴頁組成的((廢話 • 網⾴頁是什麼組成的呢? • 如何取得網⾴頁? HTML CSS JS
網⾴頁的組成 • HTML - 內容的架構,將不同類型的內容區隔 • CSS - 設定樣式,如⼤大⼩小、位置、顏⾊色、背景等等 •
JS - 控制HTML、CSS,可製作動畫或其他互動功能
網⾴頁的組成 • HTML - 內容的架構,將不同類型的內容區隔 • CSS - 設定樣式,如⼤大⼩小、位置、顏⾊色、背景等等 •
JS - 控制HTML、CSS,可製作動畫或其他互動功能 HTML
網⾴頁的組成 • HTML - 內容的架構,將不同類型的內容區隔 • CSS - 設定樣式,如⼤大⼩小、位置、顏⾊色、背景等等 •
JS - 控制HTML、CSS,可製作動畫或其他互動功能 HTML CSS
網⾴頁的組成 • HTML - 內容的架構,將不同類型的內容區隔 • CSS - 設定樣式,如⼤大⼩小、位置、顏⾊色、背景等等 •
JS - 控制HTML、CSS,可製作動畫或其他互動功能 HTML CSS
網⾴頁的組成 • HTML - 內容的架構,將不同類型的內容區隔 • CSS - 設定樣式,如⼤大⼩小、位置、顏⾊色、背景等等 •
JS - 控制HTML、CSS,可製作動畫或其他互動功能 HTML CSS JS
網⾴頁的組成 • HTML - 內容的架構,將不同類型的內容區隔 • CSS - 設定樣式,如⼤大⼩小、位置、顏⾊色、背景等等 •
JS - 控制HTML、CSS,可製作動畫或其他互動功能 HTML CSS JS
網⾴頁的組成 • HTML - 內容的架構,將不同類型的內容區隔 • CSS - 設定樣式,如⼤大⼩小、位置、顏⾊色、背景等等 •
JS - 控制HTML、CSS,可製作動畫或其他互動功能 HTML CSS JS
取得網⾴頁 • 當我們輸⼊入網址按下Enter,瀏覽器就幫我們發了HTTP Request給這個網站所在的伺服器,然後伺服器就會回傳 我們想看的網⾴頁 伺服器 Server 客⼾戶端 Client HTTP
Response HTTP Request
HTTP Request
HTTP Request 客⼾戶端 Client
HTTP Request 伺服器 Server 客⼾戶端 Client
HTTP Request 伺服器 Server 客⼾戶端 Client
HTTP Request 伺服器 Server 客⼾戶端 Client HTTP Request ! Connected
to scikit-learn.org. GET /stable/ HTTP/1.1 Host: scikit-learn.org …
HTTP Request 伺服器 Server 客⼾戶端 Client HTTP Response ! HTTP/1.1
200 OK Date: … Server: Apache/2.2.15 … <html> <head></head> <body>…</body> </html> HTTP Request ! Connected to scikit-learn.org. GET /stable/ HTTP/1.1 Host: scikit-learn.org …
HTTP Request 伺服器 Server 客⼾戶端 Client HTTP Response ! HTTP/1.1
200 OK Date: … Server: Apache/2.2.15 … <html> <head></head> <body>…</body> </html> HTTP Request ! Connected to scikit-learn.org. GET /stable/ HTTP/1.1 Host: scikit-learn.org … Status Code 2xx 成功 3xx 重新導向 4xx Client Error 5xx Server Error
HTTP Request 伺服器 Server 客⼾戶端 Client HTTP Response ! HTTP/1.1
200 OK Date: … Server: Apache/2.2.15 … <html> <head></head> <body>…</body> </html> HTTP Request ! Connected to scikit-learn.org. GET /stable/ HTTP/1.1 Host: scikit-learn.org … Status Code 2xx 成功 3xx 重新導向 4xx Client Error 5xx Server Error
HTML • HTML - 內容的架構,將不同類型的內容區隔 HTML
元素Elements • https://developer.mozilla.org/en-US/docs/Web/HTML/ Element
HTML Wrap-Up
HTML Wrap-Up • HW1.1: Reveal.js • HW1.2: Finish Codecademy Build
a Website
CSS • CSS - 設定樣式,如⼤大⼩小、位置、顏⾊色、背景等等
CSS • CSS - 設定樣式,如⼤大⼩小、位置、顏⾊色、背景等等 CSS
CSS進階 • Responsive: Media Query • CSS3: 3D-Transform、Animation • CSS
pre-processors: SCSS、 LESS、SASS
CSS參考 • CSS Parallax • http://neversaycoding.tumblr.com/post/95265641412/1-1- css-pure-css-parallax-design • CSS Light
Box • http://schier.co/post/creating-pure-css-lightboxes-with- the-:target-selector • CSS Centering • http://css-tricks.com/centering-css-complete-guide/