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
Node.js基本介紹的筆記
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
winwu
March 25, 2013
Programming
4
3.1k
Node.js基本介紹的筆記
winwu
March 25, 2013
Tweet
Share
More Decks by winwu
See All by winwu
Google Data Studio 分享
winwu
0
150
Google Analytics 分享 3 - 內容分組/自訂廣告活動/目標/事件
winwu
0
130
Google Analytics 分享 2 - 版面配置/資訊主頁/資料層級
winwu
0
420
Google Analytics 分享 1 - 基礎知識篇
winwu
0
370
HTML_CSS_前端基礎講座-4.pdf
winwu
0
470
HTML/CSS 前端基礎講座-3
winwu
0
500
HTML/CSS 前端基礎講座-2
winwu
0
520
2016 HTML CSS 前端基礎講座-1
winwu
1
600
2016 中正大學 weic.tw - RWD
winwu
3
1.1k
Other Decks in Programming
See All in Programming
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
120
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
190
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
340
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
220
CSC307 Lecture 15
javiergs
PRO
0
220
AI主導でFastAPIのWebサービスを作るときに 人間が構造化すべき境界線
okajun35
0
510
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
7.5k
15年目のiOSアプリを1から作り直す技術
teakun
1
600
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
360
あなたはユーザーではない #PdENight
kajitack
4
300
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
160
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1.1k
Featured
See All Featured
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
220
The Mindset for Success: Future Career Progression
greggifford
PRO
0
270
We Are The Robots
honzajavorek
0
190
Navigating Team Friction
lara
192
16k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
130
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.7k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
240
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
73
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
620
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
470
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
240
Transcript
基本介紹 以下是我個人不負責任的node.js基本介紹
學習node.js, 你會對JavaScript有不一樣的 看法…
說來說去,node.js就是走 在server端的JavaScript
JavaScript Server Client V.S JavaScript Node.js
JavaScript v.s Node.js O JavaScript運行在瀏覽器,Node.js運行在伺服器端 O JavaScript有BOM跟DOM的觀念,Node.js沒有 (因為他不會運行在瀏覽器上面) O JavaScript需要考慮各家瀏覽器相容性的問題,Node.js不
會有這樣子的困擾
Node.js O 簡而言之,可以在server端運行的JavaScript O 一般server side語言能做的事,他都能做 O 另外,他不只是種語言,他還是一種平台 Ruby Python
PHP Perl Node.js
誰發起的? O Node.js是Ryan Dahl發起的 O 後來Ryan Dahl被一家Joyent的公司招聘,因此 node.js也是由這家公司管理,這也是為什麼我們 當我們要使用git取得node.js時要這樣執行: Git
clone git:github.com/joyent/node.git 其實在clone的時候就有這樣的線索了。
Node.js O Node.js是一種可以實現Real-time Web的平台 O 使用的引擎是V8,V8也是目前最快的JavaScript 引擎。 O 部分實現commonJS的規範
npm O npm又叫做Node Package Manager O 是種package的管理器 O 上面提供很多第三方的插件|模組
Node.js只能做網站嗎?
錯,當然不只
Node.js還可以做… O Web Socket O Unit test (單元測試) O 大規模的web應用
O TCP/UDP O ……等等
Node.js迷人的點在… O內建HTTP服務 問 : 有這個可以怎麼樣? 到底內建http服務代表什麼意思呢? 簡單來說就是呢,比方說你架設一個網站,你用了 PHP的語言,你還必須安裝Apache,搭起一個HTTP 伺服器的橋樑,而Node.js就不需要這麼做,因為他已 經內建HTTP服務了。
既然一般server side語言 能做的事,他都能做, 為什麼要學?
O 沒錯,你也可以不學,但每個語言有 每個語言的美好,你可以體驗一下。