News for hackers. Stuff that matters.
Re:PHP Cross-Platform Desktop GUI Framework by fredsted on Wednesday November 19, 2014 @12:12PM (#8631205)
When it said "GUI framework", I kind of expected a way to make cross-platform apps with their native UI controls, not a web view with an embedded PHP executable.
Re:PHP Cross-Platform Desktop GUI Framework by thrillgore on Wednesday November 19, 2014 @12:41PM (#8631391)
There used to be a GTK binding for PHP. It wasn't a good idea then, and I don't see how it is now as a self-contained web app.
Re:PHP Cross-Platform Desktop GUI Framework by ecaron on Wednesday November 19, 2014 @01:02PM (#8631528)
http://gtk.php.net/ - it was a noble effort but I think they all hit the same realization we expect and everyone walked away 4 years ago.
Re:PHP Cross-Platform Desktop GUI Framework by coldtea on Wednesday November 19, 2014 @09:35PM (#8634108)
The only "realization" they hit was that both GTK and the port was poorly maintained in most platforms.

If it was better done and with more manpower, there would be absolutely no problem with people using it...

Re:PHP Cross-Platform Desktop GUI Framework by joev_ on Wednesday November 19, 2014 @12:31PM (#8631335)
Can you list some native UI controls that you'd like to use but can't recreate in HTML? I am writing a similar framework and would like to know the use-cases for doing this.

Edit: besides Window and Menu, of course

Re:PHP Cross-Platform Desktop GUI Framework by fredsted on Wednesday November 19, 2014 @12:43PM (#8631403)
You can recreate almost anything in css/html but you'd have to write a different style for each OS yourself, and it will never match the actual "feel" of the UI. It'll be a little off.

Also, for example Mac OS X has lots of little widgets like the share button.

Maybe someone could make a Bootstrap-like project for these kinds of things?

Re:PHP Cross-Platform Desktop GUI Framework by TheAceOfHearts on Thursday November 20, 2014 @04:35AM (#8634985)
There's tint2 for doing native apps with JS.
Re:PHP Cross-Platform Desktop GUI Framework by elsjaako on Thursday November 20, 2014 @06:25AM (#8635226)
I recently spent an afternoon trying to get a webapp to accept drag and drop emails from outlook. I didn't manage. I am considering making a native app to interact.
Re:PHP Cross-Platform Desktop GUI Framework by leeoniya on Wednesday November 19, 2014 @12:40PM (#8631389)
maybe see wxPHP [1]

[1] http://wxphp.org/

Re:PHP Cross-Platform Desktop GUI Framework by kyriakos on Wednesday November 19, 2014 @12:15PM (#8631229)
Bindings with native GUI would have been great.