是否有一个像样的、独立的、跨平台的网络服务器可以与 USB 跳转驱动器上的 Autorun 协同工作?
我正在尝试找到一个像样的独立网络服务器,我可以将其加载到跳跃驱动器上。
我的妻子是一名摄影师,我想向客户展示他们在 USB 上的图像。当他们插入时,我想要加载一个网页,并运行一些 jQuery 魔法来向他们展示所有图像的漂亮轮播。
到目前为止,这一切都很好,因为这一切都可以在客户端完成,并且根本不需要服务器。
我面临的问题是我希望一些服务器端代码能够从目录中读取图像,这样一旦构建了界面,我就不需要手动创建所有的 标签。
如果它主要在 Windows 环境中使用,那么使用 IIS Express 没有问题,因为我主要是一名 .NET MVC 开发人员,这对我来说是完美的...但是,事实是问题是我们的大量客户群也是 OS X 用户。
我确实找到了这个Java jlHttp,而且我还发现了这个线程在这里,但我认为我对其中任何一个都没有足够的了解完成什么 我在找。
预先感谢您的建议。
I'm trying to find a decent standalone webserver that I can load up on a jump drive.
My wife is a photographer, and I'd like to present the clients with their images on usb. When they plug it in, I'd like a web page to load up, and run some jQuery magic to show them a nice carousel of all there images.
So far, this is all fine since it can all be done client side and doesn't need a server at all.
The problem I'm facing is that I'd like some server-side code to be able to read the images out of the directory so that once the interface is built, I don't need to manually create all of the <img />
tags.
If it was primarily going to be used in a Windows environment, I'd have no problem going with IIS Express, since I'm mainly a .NET MVC developer and this would be perfect for me... However, the fact of the matter is that a large amount of our client base is also OS X users.
I did find this Java one jlHttp, and I also found this thread here on SO, but I don't think I understand enough about either one of them to accomplish what I'm looking for.
Thanks in advance for your suggestions.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我正在寻找同样的东西,我发现的两个最好的选择是 Flying Ant cd Web 服务器和 Stunnix。在这两者中,Flying Ant 更便宜,并且我已经在我的项目中对其进行了成功的测试。
I'm looking for the same thing, and the two best options I've found were Flying Ant cd web server and Stunnix. Of the two, Flying Ant is cheaper, and I've tested it with success on my project.
我发现 Mongoose 对于这个目的来说非常方便。它是跨平台的、轻量级的并且需要最少的配置。您可能对这个项目感兴趣,该项目使用 Mongoose 在文件夹树或 FTP 目录中显示图片。
I found Mongoose very convenient for this exact purpose. It's crossplatform, lightweight and requires minimum configuration. You may be interested in this project that uses Mongoose to display pictures in a folder tree or FTP directory.
Node.js 怎么样
它说它可以在 Linux、OS X 和 Windows 上运行。
How about Node.js
It says it runs on Linux, OS X, and Windows.