What is a good GUI programming language for an experienced PHP developer?

I have been working with PHP for a long time and would like to learn some Windows-based graphics applications. Something similar to C # or Visual Basic would be nice, however I would like to learn an open, PHP-like language.

Please do not offer anything that requires an expensive compiler, or that does not allow you to create stand-alone applications.

+3
source share
5 answers

I think it will be difficult for you to find something very similar to PHP, which is great for GUI applications. Languages ​​like PHP show their legacy script-behind-a-webpage in such a way that awk and perl are very suitable for general-purpose / admin scripts in unix blocks.

There are GUI bindings (tk, gtk, ...) for many languages ​​- "interpreted" ones are included that are closest (but still not so close) to php. The obvious examples would be python, ruby, or perl (although I would highly recommend one of the first two).

However, none of them are really oriented towards PC GUI applications, and it shows. Languages ​​such as Java are much more suitable for these kinds of things, but they are a pretty significant step in choosing a language.

If you are running Windows, I would recommend C # with mono. I think it’s more important to use the right tool than for something close to PHP.

Don't even consider VB

+3
source

If you are looking for a language other than php:

.NET WinForms

  • You can download Visual Studio Express 2008 for free on the Microsoft website.
  • You can also use MONO ( http://www.mono-project.com/ ) to write your .net WinForms code.

Other languages ​​with GUI bindings

  • Ruby / Python / Perl with wxWidgets / GTK / QT bindings
+3
source

Do not use PHP for GUI applications. This is not what he was intended for. Your idea of ​​finding another language is a good one.

  • Python is very similar to PH, but much more mature as a language. It has some decent GUI bindings. You can even get into things like pygame if you have more of a game interface.
  • Java is now open source. The Java GUI is usually pretty ordinary. I think that the case has acquired quite recently. Charles, Eclipse are some nice Java applications.
  • I would skip VB, but C # is a good idea. You may find that this is useful when looking for a job in the future. And, of course, this will be easiest when it comes to graphical interfaces.
  • You can look at Flex. Although I'm not a big fan of the Adobe development environment.
+3
source

Since you have a PHP background, I recommend you try PHP-GTK .

PHP-GTK is an extension for PHP that implements language bindings for GTK + .

+2
source

PHP-GTK is the real site for using PHP. I personally would stay away. Python along with wxWidgets is an easy way to start creating GUIs. There are form developers (like PythonCard and wxGlade) who can speed things up if you prefer not to write your forms.

0
source

All Articles