用于创建界面生成器的资源
我想创建一个基于 Web 的界面/GUI 构建器,它使用一组特定的组件来设计跨屏幕的布局和工作流程。除了布局之外,我还想与 XML 数据源进行一些数据绑定。很多 IDE 已经做到了这一点,所以我所寻找的只是可以指导我前进的资源、文章或书籍。我精通 HTML 和 Javascript,这不是问题。
如果您熟悉的话,它会有点类似于 Cappuccino Atlas 工具。
I want to create a web based interface/GUI builder that used a specific set of components to design the layout and workflow across screens. In addition to the layout, I want to do some data bindings with XML data sources. A lot of the IDE's already do that so all I am looking for is resources, articles, or books that could guide me forward. I am proficient with HTML and Javascript which is not an issue.
It would be somewhat similar to the Cappuccino Atlas tool if you're familiar with that.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议使用诸如 ExtJs 之类的东西来构建 GUI 系统。我相信它具有足够的可扩展性,您应该能够实现创建 GUI 构建器所需的任何小部件。
在我看来,主要挑战是:
学习如何做到这一点的方法是观察所有的 GUI 设计者
在那里,找到那些能与你交谈的人。我不是 Windows 用户,但是 VS
里面有一个非常优秀的 GUI 设计师。
关于 XML 的大量书籍 - 就我个人而言,我会远离
最复杂的部分,只要确保你有一个合理的模式和
简单的元素和属性集。像氧气一样的东西
极大地减轻了使用 XML 工作的痛苦,以及您所需要的大部分内容
了解模式等可以在 excellent 上找到
w3schools.com
关于您的目标环境的书籍不确定目标语言/
您的设计系统将是(人们将构建什么类型的 GUI?)
您可能应该查看您特别喜欢的任何开源 GUI 构建器的源代码(Netbeans 似乎有一个相当不错的)。或许能给你一些启发。
您可能还想研究约束满足求解器等内容,并学习一些计算几何知识。对于第二点,我强烈推荐计算机图形学几何工具。这是对您可能遇到的计算几何类型的非常实用的介绍和参考。
另外,如果您想节省一些打字时间,您可以看看 CoffeeScript,它或多或少是 JavaScript 的“甜蜜”版本。至少对我来说是有利的。
I recommend using something like ExtJs to build the GUI system in. I believe it's extensible enough that you should be able to implement whatever widgets are required to create your GUI builder.
As I see it, the main challenges are:
way to learn how to do that is to look at all of the GUI designers out
there, and find ones that speak to you. I'm not a Windows guy, but VS
has a shockingly good GUI designer in it.
metric tons of books on XML - personally I'd stay away from the
most complex bits, just make sure you have a reasonable schema and a
simple set of elements and attributes. Something like oXygen
greatly eases the pain of working in XML, and most of what you need to
know about schemas and such can be found on the excellent
w3schools.com
books on your target environment Not sure what the target language/
system for your design will be (what kinds of guis will people be building?)
You should probably look at source code for any open source GUI builder that you particularly like (Netbeans seems to have a rather good one). Might give you some inspiration.
You might also want to look into things like constraint satisfaction solvers, and learn a little bit of computational geometry. For the second, I cannot reccomend Geometric Tools for Computer Graphics highly enough. It's a very practical introduction and reference for the type of computational geometry you're likely to encounter.
Also, if you wanna save yourself some typing, you might have a look at CoffeeScript, which is more or less a "sweetened" version of JavaScript. Takes the edge off for me at least.
atlas 正在填补所见即所得云 IDE 的空缺,所以我认为你可能必须在很多方面从头开始,而不是拥有任何其他你可以仔细阅读源代码的工具。
atlas is filling a wysiwyg cloud ide niche that was mostly empty, so I think you might have to be starting from scratch in a lot of ways, rather than having any other tools whose source you can peruse.