开发 html/jquery 座位应用程序的最佳方法(或者我们应该使用 silverlight/flash)
我们想要创建一个多功能座椅网络。
管理部分是我们的超级用户可以将位置定义为多排,每排有多个座位(即电影院/音乐会现场)。他们的另一个选择应该是更灵活的“座位”安排。在这里,我们希望超级用户能够上传图像,然后绘制地点(即露营地)。
用户部分要么是绘制了所有座位行的简单页面,要么是绘制的位置重叠的图像视图。然后,用户应该能够选择一些“门票”并选择地点。对于固定地图,我们希望门票具有粘性(即,如果您选择 3 个,如果可能的话,它们应该坐在彼此旁边)。
我的问题是创造这样的东西的最佳技术是什么?我们希望 mvc + jquery 可能是一个很好的解决方案,但我们也在寻找 silverlight(或 flash)。
如果我们在哪里使用html/jquery,你会如何实现它?
We want to create a multipurpose seating web.
The administrative portion is where our super users can either define a location as a numbers of rows, with a number of seats in each ( ie a cinema/concert lokale). The other option they have should be a much more flexible "seating" arrangement. Here we want the superuser to be able to upload an image and then draw places (ie a camping place).
The user portion is either a simple page with all the rows of seats drawn or a view of the image with the drawn places overlaid. The user should then be able to choose a number of "tickets" and select places. For the fixed map, we want the tickets to be sticky (ie if you choose 3, they should be seated besides each other if possible).
My question is what is the best technology to create something like this in? We were hoping mvc + jquery could be a good solution, but we are also looking on silverlight (or flash).
If we where to use html/jquery, how would you implement it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
SVG 是正确的选择。所以你的前端堆栈将是
试试这个: http://raphaeljs.com/
Don不要使用 Silverlight 或 Flash。没有必要,它们会排除 iOS,并且在支持它们的移动浏览器上表现不佳。
SVG is the way to go. So your fronted stack would be
Try this: http://raphaeljs.com/
Don't use Silverlight or Flash. There's no need, they'll exclude iOS and perform poorly on mobile browsers that do support them.
我会检查是否已经有可用的 SDK/库(例如 http://www.jgraph.com/mxgraph .html)。
在 Silverlight 中,您有多种选择可以节省大量工作(SyncFusion、yWorks),我们有一些第三方正在使用的开发和 SDK(例如足球场的座位预订),如果您想查看演示: http://silverdiagram.net/Scripts/SD.Editor.html
干杯
布劳略
I would check if there is already and SDK / Library available (e.g. http://www.jgraph.com/mxgraph.html).
In Silverlight you have several choices that cold save you tons of work (SyncFusion ,yWorks), we have develop and SDK that is being use by some third parties (e.g. seats reservation on a football stadium), if you want to check a demo: http://silverdiagram.net/Scripts/SD.Editor.html
Cheers
Braulio
如果你想为移动和桌面创建简单的 GUI,我推荐 dojo
http://dojotoolkit.org/widgets
http://dojotoolkit.org/grids-charts
i recommend dojo if you want to create easy gui for mobile and desktops
http://dojotoolkit.org/widgets
http://dojotoolkit.org/grids-charts