如何读取配置文件和绘图图 [英] How to read config file and plot graph

查看:99
本文介绍了如何读取配置文件和绘图图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发像设备一样的ADSL路由器的Web UI。此Web应用程序将托管在设备中,并且在连接时将弹出UI。设备将拥有自己的配置文件,并将lighttpd作为Web服务器。



我想要的是读/写这些文件(配置文件/文本文件),还要根据我想要绘制图形的一些参数(可能是线图) )可以显示不同的颜色。还有一些功能基于某些事件(按钮点击)我需要在指定的时间(例如2或5秒)填充文件中的参数。



我需要决定哪种技术堆栈适合开发此Web UI。据我所知,lighttpd是跨平台的,因此我们可以使用PHP或FastCGI进行文件操作,并使用HTML来显示/呈现UI元素。



此外该应用程序还运行在IE,Chrome和Firefox浏览器的横向模式下,屏幕分辨率为当前台式机和笔记本电脑。



请建议我使用合适的技术堆栈来开发此类网络应用程序以及需要什么完成屏幕分辨率。

I want to develop Web UI for ADSL router like device. This Web App will host in a device and when connected the UI will be popped up. Device will have its own config file and will have "lighttpd" as a web server.

What I want is to read/write these files (config files / text file) and also based on some parameters I want to plot a graph (may be line graph) which could show in different colors. Also there are some functionality based on some events (button click) I need to populate parameters from file in specified time (say 2 or 5 secs).

I need to decide which technology stack will be suitable for developing this Web UI. As far as my understanding lighttpd is cross-platform so we can use PHP or FastCGI for file operations and HTML to show / render UI elements.

Also this app shd run in landscape mode on IE, chrome and Firefox browsers with screen resolution of current desktops and laptops.

Pls suggest me suitable technology stack to develop such web apps and what needs to be done for screen resolution.

推荐答案

你有两个1用xml读取文件并用免费绘图仪绘制



2次使用jquery和php读取onilne数据并用excel或flash绘图仪绘制
you have two way 1-use xml read file and plot it with free plotter

2-use jquery and php for read onilne data and plot it with excel or flash plotter


这篇关于如何读取配置文件和绘图图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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