Skip to Content
Node.js物聯網裝置開發
book

Node.js物聯網裝置開發

by Patrick Mulder, Kelsey Breseman
August 2017
Intermediate to advanced
272 pages
5h 32m
Chinese
GoTop Information, Inc.
Content preview from Node.js物聯網裝置開發
226
|
第十五章 從產品到工具箱
模組化的威力
JavaScript 語言為基礎,為硬體開發所打造的工具箱,其主要威力來自於 JavaScript
模組。Eric von Hippel 曾經詳細研究調查過優質工具箱的特質,把模組的重要性描述
如下:
客製設計的子部分,甚少皆為嶄新的東西,因此,「標準模組」程式庫將會是
工具箱裡非常重要的一份子,便於開發人員作為創新的基礎。有了標準模組
後,設計師就能夠把創新設計工作的心力,集中在產品或服務的特別面向,也
就是那些無法預先設計、從別處拿來用的部分。
Node.js 是以模組化的形式建構而成,也就是 npmNode Package ManagerNode
件管理員),這是套供開發人員使用的工具程式庫,非常豐富。單看某一支工具可能覺
得很小,但因為此類工具的數量眾多(由數以千計的開發人員釋出,採用自由授權條
款),任何專案就能變成更為簡易,較小的問題都已被解決、加以抽象化。
重要的 JavaScript 程式庫與模組,已於第 8 章介紹過,例如 RickWaldron Johnny-
Five,為許多開發板和零件提供軟體抽象層。當你要以 JavaScript 語言建立連線系統
時,應把這套程式庫作為首選考量。
有了硬體基礎與存取硬體的 JavaScript 程式庫之後,第 9 章深入介紹網路傳輸協定與
JavaScript 語言,建立能互相連結的裝置時,了解網路協定絕對是不可或缺的過程。運
Node.js 來打造網站伺服器,只需要幾行程式碼而已,非常輕鬆。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

金融人工智能:用Python实现AI量化交易

金融人工智能:用Python实现AI量化交易

Yves Hilpisch
快学熟用D3

快学熟用D3

Philipp K. Janert

Publisher Resources

ISBN: 9789864764594