Win CE 的 Node js 替代方案 [英] Alternative to Node js for Win CE

查看:50
本文介绍了Win CE 的 Node js 替代方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的要求是在 Win CE-ARM 设备上运行嵌入式 HTML\JS Web 应用程序.

My requirement is run an embedded HTML\JS Web applications on a Win CE-ARM device.

我们还有一个 Linux-ARM 设备,我们使用 Node js 为它运行任何 Javascript 应用程序,这些应用程序也使用节点模块,如 require、express 等.

We also have a Linux-ARM device for which we used Node js to run any Javascript app that also uses node modules like require,express and such.

基本上,我们希望在设备内部启动一个节点服务器,在请求时为 HTML/JS 页面提供服务.

Basically, we would like start a node server inside the device that serves HTML/JS pages as in when requested.

由于 Win CE -ARM 不支持 node js 并且将 node js 移植到 Win CE 是一项艰巨的任务,我们正在寻找 Win CE 中 node js 的替代方案.

Since Win CE -ARM doesn't support node js and porting of node js to Win CE is an humongous task, we are looking for alternatives to node js in Win CE.

我在网上查了一下,发现这方面的内容很少.

I looked up online and found very little on this front.

基本上,我们希望在设备内部运行一个服务器,在请求时提供 html/js 页面(模仿节点行为).

Basically we want to have a server running inside the device that serves html/js pages as in when requested( Imitate the node behaviour).

是否有任何适用于 Win CE 的框架?

Is there any framework available for Win CE?

感谢任何形式的评论或帮助.

Any kind of comments or help is appreciated.

谢谢

推荐答案

如果你不想使用 HTTPD WinCe webserver 并研究原始和用户不友好的 C++ ISAPI 环境是如何工作的,你可以在C# 例如带有 RESTFUL 网络服务.请参阅.

If you don't want to use HTTPD WinCe webserver and to study how primitive and user unfriendly C++ ISAPI environment works, you could implement an extensible web-server in C# for example with RESTFUL webservices. Refer to this.

您可以使用 JQuery 而不是 ASP 来创建动态页面.

You can than use JQuery instead of ASP to create dynamic pages.

如果您还需要设备上的浏览器,您可以使用与 WinCE 捆绑的 IESample.

If you need also the browser on the device you can use the IESample bundled with WinCE.

这篇关于Win CE 的 Node js 替代方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆