Cappuccino、Spoutcore 或用于基于 Web 的绘图应用程序的本土解决方案?
我目前正在考虑构建一个用于绘制实体关系(数据模型)的应用程序。
看看 Sproutcore 和 Cappuccino,它们看起来都足够强大,可以处理此类事情(请参阅 280 张幻灯片了解卡布奇诺示例)...
理想情况下,我需要一个框架,可以让用户拖放组件,然后将它们链接在一起,然后当用户这样做是为了能够将这些对象“冷冻干燥”为 JSON,准备存储在某种数据库中,以便可以再次加载它们......
上面提到的哪个框架更适合这一点?
或者是在其缺乏的地方最容易扩展?
或者从长远来看,使用 jQuery/prototype 自己制作会更容易吗?
I'm currently looking at building an application for drawing entity relationships (data models).
Looking at both Sproutcore and Cappuccino they both look beefy enough to handle that kind of thing (see 280 slides for cappuccino example)...
Ideally I need a framework which lets users drag and drop components and then link them together and then when the user is done to be able to "freeze dry" these objects as JSON ready to be stored in some kind of database so they can be loaded again...
Which of the mentioned frameworks are more geared towards that already?
Or is the easiest to extend in the places where its lacking?
Or would it be easier in the long run to make my own using jQuery/prototype?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
280Slides 是一个很好的现实世界示例,展示了您可以在绘图方面做什么,这些形状显然是预定义的,但您可以使用我们的一流图形库 (CoreGraphics) 绘制任何您想要的东西。这意味着您还可以获得 Canvas 中的大部分功能,而且它们也可以在 IE 中使用。
Atlas 还负责将组件链接在一起。
GoMockingbird 也是一个很好的应用程序示例,您可以在其中轻松布局组件。
简单的平面图演示(带教程)
http://cappuccino.org/learn/demos/FloorPlan/index-deploy.html
还可以让您充分感受到通过一流的绘图支持可以做的很酷的事情。
280Slides is a great real world example of what you can do as far as drawing goes, those shapes are obviously predefined, but you can draw whatever you want using our first class Graphics library (CoreGraphics). This means you also get most of the features you get in Canvas, but they also work in IE.
Atlas also does the linking together of components.
GoMockingbird is also a good example of an applications where you can easily lay out components.
The simple floor plan demo (with a tutorial)
http://cappuccino.org/learn/demos/FloorPlan/index-deploy.html
also gives you a good sense of the cool things you can do with first class drawing support.
看看这个 Sproutcore 演示:http://demo.sproutcore.com/family_tree/ - 这似乎与你所描述的非常接近。
请注意,该演示使用了一些外部框架;它不仅仅是Sproutcore。
Check out this Sproutcore demo: http://demo.sproutcore.com/family_tree/ -- that seems pretty close to what you are describing.
note that this demo uses some external frameworks; its not just Sproutcore.