开发 GUI 程序的最佳 PHP 库是什么? [英] What's the best PHP library to develop GUI programme?

查看:32
本文介绍了开发 GUI 程序的最佳 PHP 库是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

php-gtk 和 JeCat ?

php-gtk and JeCat ?

还有更好的选择吗?

另外,目前最流行的用 PHP 开发 GUI 程序的方式是什么?

Further more,what's the current most pupular way to develop GUI programmes with PHP?

程序和相关的软件实用程序是什么?

What's the procedures and related software utilities?

推荐答案

php-gtk 会给您带来最少的麻烦,但是任何选择都需要一定的学习曲线.我现在使用 php-gtk + Roadsend PHP 编译器将 PHP 桌面应用程序编译为本机 32 位 ELF 可执行文件.

php-gtk will give you the least hassle, however any choice comes with a bit of a learning curve. I'm now using php-gtk + the Roadsend PHP compiler to compile PHP desktop applications into native 32 bit ELF executables.

我还应该补充一点,使用 PHP 来完成这样的任务不是我的选择,我更愿意使用 C 或 Python 编写桌面应用程序.在上面的例子中,我继承了一些使用 PHP 的原型,它从未被重写过.让它编译比其他任何东西都要快.

I should also add, it was not my choice to use PHP for such a task, I would much rather write desktop apps using C or Python. In the above case, I inherited something that was prototyped using PHP, which never got re-written. It was faster to just get it to compile than it was anything else.

我不想在使用 PHP 作为原型设计工具的优点上掀起一场火焰盛宴 .. 本质上,任何 动态类型语言都可以这样使用,具体取决于什么进行原型制作.

I don't want to kick off a flame fest on the merits of using PHP as a prototyping tool .. in essence, any dynamically typed language could be used as such, depending on what had to be prototyped.

然而,我鼓励您继续自学,一旦您掌握了 PHP 公开的 gtk 位的概念,如果您想创建将被发布到野外的应用程序,请考虑研究 Python.

I would, however, encourage you to keep going on your self-study, once you grasp the concepts of the gtk bits that PHP exposes, consider looking into Python if you want to create applications that will be released to the wild.

这篇关于开发 GUI 程序的最佳 PHP 库是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆