我应该在嵌入式系统中使用什么服务器端Web技术? [英] What server-side web technology should I use in an embedded system?

查看:122
本文介绍了我应该在嵌入式系统中使用什么服务器端Web技术?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开始一个新项目,我正在努力找出我应该使用哪些技术。这是交易,我正在编写一些将在无线路由器上运行的软件,我想提供一个Web界面。所以很可能我必须做一些服务器端Web开发。唯一的问题是我将要部署的设备只有16 MB的内存(Ubiquiti Bullet)。这里有一些更多的信息:

I'm starting a new project and I'm trying to figure out what technologies I should use. Here's the deal, I'm writing some software that will run on a wireless router and I would like to provide a web interface. So most likely I will have to do some server-side web development. The only issue is that the device I will be deploying this to only has 16 MB of RAM (Ubiquiti Bullet). Here's some more info:

1。)我将使用openwrt(linux)。
2.)显然,它必须是轻量级的
3.)这是一个学校项目,所以我可以使用任何我想要的技术。

1.) I'll be using openwrt (linux). 2.) Obviously it has to be lightweight 3.) It's a school project, so I can use any technologies I'd like.

显然,PHP是明显的选择,但还有其他一些更令人兴奋的事情(我对PHP并不疯狂)。

Obviously PHP is the obvious choice, but is there anything else a bit more exciting (I'm not crazy about PHP).

提前感谢!

推荐答案

OpenWRT的一些更新版本带有完全用lua(LuCi)编写的界面。你检查过这个,看看它是否适用?它运行在标准的CGI上,由OpenWRT上已经运行的嵌入式Web服务器调用(意味着您不必添加另一个软件包)。

Some of the later versions of OpenWRT come with an interface written entirely in lua (LuCi). Have you checked this out to see if it applies? It runs over standard CGI and is called by the embedded web server that is already running on the OpenWRT (meaning you don't have to add yet another software package).

查看他们的网站 luci.freifunk-halle.net ,它显然是一个全功能的Web框架,包括MVC,所以你可以更快地入门!

Check out their website luci.freifunk-halle.net, it apparently is a full featured web framework including MVC, so you are able to get started faster!


LuCI是一套用于嵌入式设备的免费Lua软件的集合。它为开发人员提供了几个有用的工具和库,以及MVC-Webframework和Web用户界面,它是从8.09版开始的OpenWrt Kamikaze的一部分。 LuCI项目的目标是创建和维护用户友好,稳定可靠的用户界面和开发框架。

LuCI is a collection of free Lua software for embedded devices. It includes several useful tools and libraries for developers as well as an MVC-Webframework and web user interface which is part of OpenWrt Kamikaze starting from release 8.09. The goal of the LuCI Project is to create and maintain user friendly, stable and reliable user interfaces and development frameworks.

PHP相当大对于路由器,我认为它不会提供你正在寻找的速度! Lua不是一个很难从脚本开始的脚本语言,它与PHP并没有什么不同,Lua网站非常好,并且载入了文档

PHP is rather big for a router, and I think it won't quite provide the speed that you are looking for! Lua is not a hard scripting language to pick up and start with, it is not that different from PHP, and the Lua website is very good and has loads of documentation!

这篇关于我应该在嵌入式系统中使用什么服务器端Web技术?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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