webos 开发架构

转自:https://www.openwebosproject.org/docs/developer_guide/javascript_services/#.UwMWR2KSzlA

一、Developing JavaScript Services

JavaScript for Services

The popular Node.js runtime environment is built into webOS 2, allowing you to develop both webOS apps and services in JavaScript. Developers can write services using a rich set of JavaScript libraries. Besides the open source Node.js, these include webOS's Node.js add-ons and Foundation libraries of utility JavaScript APIs.

Node.js



Node.js is an event-driven I/O framework for the V8 JavaScript engine, intended for implementing scalable network programs such as web servers and streaming servers. Since Node apps do not require a UI or browser ("DOM" less) -- they run in their own instance of V8 -- they are more related to server-side JavaScript.



二、Activity Manager



你可能感兴趣的:(webos 开发架构)