Announcement

Collapse
No announcement yet.

wxPHP: wxWidgets Come To PHP

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • wxPHP: wxWidgets Come To PHP

    Phoronix: wxPHP: wxWidgets Come To PHP

    The wxWidgets library for designing cross-platform GUIs now has support by the PHP programming language...

    http://www.phoronix.com/vr.php?view=MTc1MjY

  • #2
    today from "things the world did not wait for"

    Comment


    • #3
      If all you know is PHP, this is a terrific way to transfer your skills to desktop apps. I think it's great.

      Comment


      • #4
        Originally posted by emblemparade View Post
        If all you know is PHP, this is a terrific way to transfer your skills to desktop apps. I think it's great.
        I'm scared now

        Comment


        • #5
          Originally posted by emblemparade View Post
          If all you know is PHP, this is a terrific way to transfer your skills to desktop apps. I think it's great.
          Learn a real language *cough* C++ python *cough* and then learn Qt

          If you want a GNOME specific app, you can learn GTK3 then

          Comment


          • #6
            i like this. a Qt Binding would also still great. Long time ago i looked at PHP for GTK2, but GTK is one of the biggest crap if you look on other platforms.

            Comment


            • #7
              Originally posted by Nille View Post
              i like this. a Qt Binding would also still great. Long time ago i looked at PHP for GTK2, but GTK is one of the biggest crap if you look on other platforms.
              If you think PHP is good but GTK is bad, you need to acquire an education. PHP is one of the worst things to exist in the programming world. It is a horrible language to start, it teaches bad conventions, it's VERY slow and thus very expensive to run, and it's too easy for noobs to make mistakes that will get websites hacked. It shouldn't be that easy. It's an abomination that needs to die out. Even Java is much faster.

              Comment


              • #8
                Originally posted by jimbohale View Post
                If you think PHP is good but GTK is bad, you need to acquire an education. PHP is one of the worst things to exist in the programming world. It is a horrible language to start, it teaches bad conventions, it's VERY slow and thus very expensive to run, and it's too easy for noobs to make mistakes that will get websites hacked. It shouldn't be that easy. It's an abomination that needs to die out. Even Java is much faster.
                Well at least this benchmarks http://benchmarksgame.alioth.debian.org/u32q/php.php prove you wrong, and thats php running without opcache or new shiny hhvm engine. Stop your hatred already...

                Comment


                • #9
                  PHP can actually be used for non-web development too, such as CLI scripts.
                  Its too bad this wasn't available years ago, back in the days of PHP-GTK.

                  Now it feels a bit late, and people might as well use some other language instead, such as Python.

                  Comment


                  • #10
                    Originally posted by jimbohale View Post
                    If you think PHP is good but GTK is bad
                    I never said that. I only say that GTK is crap on other Platform and i would think a PHP Qt binding would be great. I know my english is horrible but don't amuse thinks that never i said thats let you only sound as a hater or troll.

                    Comment


                    • #11
                      Originally posted by TheOne View Post
                      Well at least this benchmarks http://benchmarksgame.alioth.debian.org/u32q/php.php prove you wrong, and thats php running without opcache or new shiny hhvm engine. Stop your hatred already...
                      *rolls on floor laughing* Yes, snails can occasionally beat turtles. Now switch that to PHP vs Java.

                      Comment


                      • #12
                        Originally posted by YoungManKlaus View Post
                        today from "things the world did not wait for"
                        This PHP trolling is ridiculous. PHP programmers are cheap to hire, the 3rd world countries are full of them. Sometimes you want to formally prove apps then Haskell and those are good, J2EE if you need enterprise stuff. But PHP is the common language for incompetent cheap developers. The GUI doesn't need to be fast. I'm sure a 3.7 GHz 4-core system with Geforce 780 GTX can easily run native PHP GUI apps and the fps is above 30. So it's not that bad. Also PHP supports patching the app without recompiling. Really great on RPI. Don't know about FPS on RPi though. Maybe not that good. But RPi has a fast GPU.

                        Comment


                        • #13
                          Originally posted by curaga View Post
                          *rolls on floor laughing* Yes, snails can occasionally beat turtles. Now switch that to PHP vs Java.
                          Here, http://www.techempower.com/benchmarks/#section=data-r9 some more benchmarks so you can mop the floor, the point is the language performs much better with default configurations than other scripting languages. Real java applications require a whole dedicated server for them and lots of ram while you can use a cheap shared web hosting to host hundreds of web applications. If java was so fast why is eclipse, netbeans and all those java made IDE's and applications so damn slow (resource hugs I call them). I would say lua is much better and the LuaJIT project is great, but the language is not as elegant for object oriented programming.

                          Originally posted by caligula View Post
                          This PHP trolling is ridiculous. PHP programmers are cheap to hire, the 3rd world countries are full of them. Sometimes you want to formally prove apps then Haskell and those are good, J2EE if you need enterprise stuff. But PHP is the common language for incompetent cheap developers. The GUI doesn't need to be fast. I'm sure a 3.7 GHz 4-core system with Geforce 780 GTX can easily run native PHP GUI apps and the fps is above 30. So it's not that bad. Also PHP supports patching the app without recompiling. Really great on RPI. Don't know about FPS on RPi though. Maybe not that good. But RPi has a fast GPU.
                          http://en.wikipedia.org/wiki/Language_binding

                          PHP is just serving as a bridge to a library that is written in C/C++ so basically the performance will be affected only when making function calls (which is being improved on phpng), it shouldn't be affected for rendering since that is internally done by wxWidgets which uses as backend -> GTK2/3 | QT | Cocoa | Win32 So basically on a raspberry pi you have the advantage of not needing to compile which I think is great if you are directly developing on it.

                          Comment


                          • #14
                            Two buggy mis-designed monstrosities come together. O joy.

                            Comment


                            • #15
                              Originally posted by caligula View Post
                              This PHP trolling is ridiculous. PHP programmers are cheap to hire, the 3rd world countries are full of them. Sometimes you want to formally prove apps then Haskell and those are good, J2EE if you need enterprise stuff. But PHP is the common language for incompetent cheap developers.
                              Incompetent programmers should not be allowed to program, especially not for the Web. Otherwise you get trivial exploits that lead to account hijacking, leaks of private sensitive data, identity theft, fraud, and so on.

                              Making programming easy is good. Making programming easy to fake is bad.

                              Comment

                              Working...
                              X