webos 开发架构

来源:互联网 发布:nginx ddos 攻击防御 编辑:程序博客网 时间:2024/05/17 23:58

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

一、Developing JavaScript Services

JSservice.jpg

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

nodejsStack.jpg

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


ActivityManager.jpg


0 0
原创粉丝点击