业余程序员可以用来创建 GUI 应用程序的最好、最快的工具是什么?

发布于 2024-12-09 15:08:40 字数 101 浏览 0 评论 0原文

该应用程序非常简单 - 需要允许学校老师在应用程序中输入大量英语单词,然后为学生提供一种查看单词的方法,一次一个,并将它们拖到不同的位置预先标记为“桶”。例如,桶可以是“名词”“动词”等。

The application is very simple - it would need to allow a school teacher to enter a large number of english words to the application, and then provide a student with a way to view the words, one at a time, and drag and them into different pre-labeled "buckets". For example, the buckets could be "nouns" "verbs", etc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

﹏雨一样淡蓝的深情 2024-12-16 15:08:40

想简单点。任何图形操作系统都已经提供了一个 GUI 拖放应用程序:文件管理器。

创建目录nouns/verbs/等以及几个名称为英文单词的(空)文件。将所有内容放入一个目录中,然后在文件管理器(例如 Windows 资源管理器、Finder、Nautilus)中打开该目录。然后让学生将文件拖到适当的目录中。

为了避免让学生对不相关的按钮感到困惑,请考虑将文件放在桌面上。您的目录结构将是:

Desktop/
    nouns/
    verbs/
    [...]
    nitwit
    blubber
    oddment
    tweak
    thank
    you
    [...]

Think simple. There is already a GUI drag-and-drop application that comes with any graphical operating system: the file manager.

Create directories nouns/, verbs/, etc. and several (empty) files whose names are English words. Put everything in a directory, and open that directory in the file manager (e.g. Windows Explorer, Finder, Nautilus). Then have the student drag the files into the appropriate directories.

To avoid confusing students with irrelevant buttons, consider putting the files on the desktop. Your directory structure would be:

Desktop/
    nouns/
    verbs/
    [...]
    nitwit
    blubber
    oddment
    tweak
    thank
    you
    [...]
生生漫 2024-12-16 15:08:40

Microsoft Visual Studio 2010。简单的拖放界面再简单不过了。

Microsoft Visual Studio 2010. Doesn't get any easier then that, simple drag-and-drop interface.

牵你的手,一向走下去 2024-12-16 15:08:40

“容易”是相对的。我的观点是,如今,如果您所做的事情像描述的那样简单,那么为浏览器开发它可能比将其绑定到特定平台对自己更有利。最重要的是,这意味着可以轻松地向任何人远程演示和共享......而无需担心安装等问题。

您可以首先查看磁性诗歌教程之类的内容:

http://tenderlovingcode.com/blog/web-apps/Magnetic-poetry-in-10-easy-steps/

...并对其进行调整以使用一些水桶的放置目标,这可以是相对地复杂:

拖放 2 个放置目标

至于您的列表单词以及它们属于哪个存储桶,编写您自己的应用程序并不难。有大量类似电子表格的网格可供 UI 构建,还有大量 Rails 或 Django 服务器端框架可以轻松处理存储和操作单词列表:

http://www.trirand.com/blog/jqgrid/jqgrid.html

如果您的老师精通技术的人可以在托管页面的位置直接以 JSON 格式输入它们。或者,您可以让他们在网络上的任何位置(例如在博客上)输入列表,然后让您的程序从该 URL 获取并处理数据。

(注意:如果您从未托管页面的远程站点读取数据,则该信息必须以 JSONP 形式提供。)

"Easy" is relative. My opinion is that these days if what you're doing is as simple as described, you will probably do yourself more favors by developing it for the browser than by tying it to a particular platform. Most importantly it means it will be easy to demonstrate and share to anyone remotely...without worrying about installation/etc.

You might start by looking at something like a magnetic poetry tutorial:

http://tenderlovingcode.com/blog/web-apps/magnetic-poetry-in-10-easy-steps/

...and adapt it to use some drop targets for your buckets, which can be relatively sophisticated:

Drag and drop with 2 drop target

As for your list of words and which bucket they belong in, it wouldn't be hard to write your own app. There are plenty of spreadsheet-like grids to build upon for the UI, and plenty of Rails or Django server-side frameworks that can easily handle storing and manipulating a list of words:

http://www.trirand.com/blog/jqgrid/jqgrid.html

Less work would be if your teachers are tech-savvy they can just enter them directly in JSON at the place hosting the page. Or you can let them enter the list anywhere on the web, such as on a blog, and then have your program fetch and process the data from that URL.

(Note: If you're reading data from a remote site where your page is not hosted, the information will have to be served as JSONP.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文