桌面软件开发(可能使用网络技术)和密码检查

发布于 2024-09-12 22:28:32 字数 1117 浏览 11 评论 0原文

好的,请轻松一点,因为这是我的第一个问题。 ;)

我在 Web 应用程序开发方面经验丰富,但我在工作中需要设计 2 个不同的桌面应用程序。我需要关于使用哪些语言(我使用 PHP 进行 Web 应用程序,我几乎没有其他经验)、任何可以帮助我更轻松地完成此任务的框架以及任何可以让我的生活更轻松的 IDE 的建议。

我的第一个应用程序本质上是嵌入式或远程数据库的接口,本质上它只需要做 CRUD 以外的事情。全文搜索功能是必要的,CRUD 表的排序也是如此。我也想包括隐藏数据列的可能性,但这不是优先事项。我目前使用 MySQL,但也很乐意使用任何其他数据库,只要它们支持从 Excel 导入即可。当然,如果它支持Excel电子表格作为数据库,太棒了,但只是一厢情愿……

我只需要支持Windows XP以上版本,这一点不会改变。如果我可以添加任何内容来帮助回答这个问题,请告诉我。

我想我的第二个应用程序会更复杂。它需要在屏幕上输出整个外部驱动器的 SHA、MD5、CRC-32、CRC-16 签名和/或将其输出到用户选择的文本文档(新建和附加)中。外部驱动器可以是 Compact Flash、EEPROM、CD-ROM、DVD-ROM、SD 等。虽然我知道从哪里开始第一个应用程序,但这是我需要主要帮助的地方,因为我不知道要进行哪些编程语言具有对上述所有算法的内置支持,或者是对其进行编码的最佳方式。因此,任何和所有建议都将受到欢迎。

编辑:好的,所以我遇到了Titanium 我想知道这是否是我的两个项目的最佳选择。我确信我可以实现第一个项目,但我相信第二个项目将非常困难,因为与大多数哈希计算器不同,我不仅需要检查单个文件的 SHA/MD5/CRC-32/CRC -16,但我还需要通过 USB 连接的 Sandisk CF 读卡器检查 Compact Flash,并通过 COM 或 USB 连接检查 EEPROM。我本质上需要为整个驱动器生成签名/哈希,而不是其上的文件。对此的任何建议都会很有帮助,如果我按照 stackoverflow 标准偏离主题太远,请告诉我,因为我可以用这个来创建一个新问题。

OK, go easy on me as it's my first question here. ;)

I am experienced in Web Application development, but I need to design 2 different desktop applications at work. I need advice on what languages to use (I use PHP for Web Applications, I have little other experience), any frameworks that may help me accomplish this easier and any IDEs to use to make my life easier too.

My first application will essentially be an interface to an embedded or remote DB and essentially it needs to do not much more than CRUD. A fulltext search function will be necessary as will sorting of the CRUD table too. I'd like to include the possibility of hiding columns of data too, but this isn't a priority. I currently use MySQL, but am happy to use any other DB, as long as they support importing from Excel. Of course, if it supports an excel spreadsheet as the database, fantastic, but wishful thinking...

I only need to support Windows XP upwards, this won't change. Let me know if I can add anything to help answer this.

My second application is going to be more complicated, I guess. It needs to output the SHA, MD5, CRC-32, CRC-16 signatures for an entire external drive on-screen and/or into a text document of the users choice (new and append). The external drive could be Compact Flash, EEPROM, CD-ROM, DVD-ROM, SD, etc. Whereas I have an idea where to start on the first application, this one is where I need major help as I have no idea which programming language has built-in support for all the algorithms above, or the best way to go about coding it. So any and all advice will be more than welcome.

Edit: OK, so I have come across Titanium and am wondering if this is the best option out there for my 2 projects. The first one I am certain I can achieve, but the second project is going to be pretty difficult I believe, as unlike most hash calculators out there, I do not only need to check individual files for SHA/MD5/CRC-32/CRC-16, but I also need to check Compact Flash through a USB-connected Sandisk CF reader and EEPROMs through a COM or USB connection as well. I essentially need to produce the signature/hash for the entire drive, not the files on it. Any advice on this in particular would be helpful, please let me know if I am going too far off-topic by stackoverflow standards, as I can create a new question with this in.

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

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

发布评论

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

评论(3

千紇 2024-09-19 22:28:32

我不得不说,如果您不是对 Perl 过敏的 PHP 开发人员之一,Perl 对您来说可能是一个不错的(尽管不一定是最好的)选择:

  • Perl 对于 PHP 来说可能更容易 对于 PHP 开发人员来说,比用典型桌面应用程序编写的某些静态类型编译语言更

  • Perl 编写的某些静态类型编译语言更容易库可以连接到几乎任何你想要的数据库后端,尽管我不能 100% 确定直接使用 Excel 作为数据库(我相当有信心 CPAN 中存在某些东西,但不能根据个人经验推荐任何东西)。< /p>
  • Perl 具有 Windows GUI 开发 - 从更简单的(对您来说)使用本地/嵌入式 Web 服务器的 Web GUI 到 Tk 到 Win32 GUI 模块(StackOverflow 有几个问题,其中有关于Perl Windows GUI 选项主题)。

  • Perl 对 MD5/SHA 等有一套相当完整的支持...CPAN 又是你的朋友。

I'm going to have to say Perl might be a good (though not necessarily the best) option for you, if you aren't one of the PHP developers who are Perl-allergic:

  • Perl is probably easier for a PHP developer to pick up than some statically typed compiled language that typical desktop apps are written in

  • Perl has libraries to interface to pretty much ANY database back-end you want, though I'm not 100% sure about using Excel as DB directly (I'm fairly confident something exists in CPAN but can't recommend anything from personal experience).

  • Perl has Windows GUI development - from an easier (for you) web GUI using local/embedded web server to Tk to Win32 GUI modules (StackOverflow has a couple of questions with very good references on the topic of Perl Windows GUI options).

  • Perl has a fairly complete set of support for MD5/SHA etc... Again CPAN is your friend.

何以心动 2024-09-19 22:28:32

如果您拥有的唯一开发经验是用于 Web 的 PHP,那么您快速桌面开发的选择将受到严重限制。

因为我不知道在桌面应用程序中使用 PHP 的任何(明智的)方法,所以我的第一个想法是找到一个允许您使用 JavaScript 和主要是声明性 UI 的框架。这会让你免于大部分痛苦。

最好的选择是 Qt,它应该可以让您在 QML 和 JavaScript 上完成几乎所有操作。不幸的是“几乎”;因为任何逃逸的东西都意味着 C++ 开发。当然是最好的 C++ 环境;但与 Web 工作(特别是 PHP Web 工作)仍然有很大不同。

我认为最适合您的另一个选择是 Adob​​e AIR。我还没有真正检查过;但它允许您仅使用 Flash(带或不带 Flex 框架)或 HTML+JavaScript 编写“类似桌面”的应用程序。当我第一次看到它时,它似乎已经很完整了。对于数据库工作,我认为它可以使用嵌入式 SQLite 库;或访问任何 HTTP 服务(可能是公开 CRUD 方法的本地 DB+PHP 应用程序)

If the only development experience you have is PHP for web, your options for quick desktop development are seriously limited.

since i don't know of any (sane) way to use PHP for desktop apps, my first thought was to reach for a framework that would let you use JavaScript and a mostly declarative UI. That would save you from most of the pain.

The best one for that would be Qt, which is supposed to let you do almost everything on QML and JavaScript. the unfortunate part is the 'almost'; since anything that escapes that would mean C++ development. The best C++ environment, for sure; but still widely different from Web work (specially PHP web work).

The other option, which I think would be best for you is Adobe AIR. I haven't really checked it; but it lets you write a 'desktop-like' app using only Flash (with or without the Flex framework) or HTML+JavaScript. When i first saw it seemed pretty much complete. For DB work i think it can use an embedded SQLite library; or access any HTTP service (which could be a local DB+PHP app exposing the CRUD methods)

紫竹語嫣☆ 2024-09-19 22:28:32

您可以尝试 PHP-GTK

它可能不是最快的,但它确实有效。

You could try PHP-GTK.

It may not be the fastest, but it does work.

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