PHP GTK vs every other stand-alone language

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark

    PHP GTK vs every other stand-alone language

    Hi,

    It seems to me PHP-GTK has all those nifty PHP-features packed inside.
    I must say I am kindof a PHP-freak because te syntax and variant-types
    I like so much I really want to keep programming in PHP and PHP-GTK
    more and more. Does somebody have a different view on this? I am
    progamming this on a windows-machine and haven't seen any other
    language perform better after slamming programs together.

    Best regards,

    H66
  • Matthewtung

    #2
    Re: PHP GTK vs every other stand-alone language

    PHP-GTK is good! However, I don;t think it is a fully developed language in
    this state...all the other languages from makeing an application have
    several comilers and PHP-GTK only have one and that one is even not that
    good. So I think, if you really want to write something aimilar to PHP, why
    don;t you try C++?


    Comment

    • Pjotr Wedersteers

      #3
      Re: PHP GTK vs every other stand-alone language

      Mark wrote:[color=blue]
      > Hi,
      >
      > It seems to me PHP-GTK has all those nifty PHP-features packed inside.
      > I must say I am kindof a PHP-freak because te syntax and variant-types
      > I like so much I really want to keep programming in PHP and PHP-GTK
      > more and more. Does somebody have a different view on this? I am
      > progamming this on a windows-machine and haven't seen any other
      > language perform better after slamming programs together.
      >
      > Best regards,
      >
      > H66[/color]

      I am not too fond of the way GTK looks, it is ok though, but not as sleek as
      'native' winapps. I found Csharp.NET a bliss, even more intuitive than C++
      But any PHP programmer should be able to find his/her way in either language
      I think. Just have to change thinking from extremely loose typing in PHP to
      the exact opposite in C#. C++ Has the advantage of being less MS (.NET)
      dependant of course.

      HTH
      Pjotr


      Comment

      • Chung Leong

        #4
        Re: PHP GTK vs every other stand-alone language

        Having programmed in Delphi for many years, I must say the PHP-GTK way of
        building an application feels like something from the store age. The lack of
        threads really sucks. You have to use a construction reminiscent of the
        PeekMessage/DispathMessage loops in Win16 in order to get the GUI to update
        correctly.

        "Mark" <henny66@gmx.ne t> wrote in message
        news:97ea361d.0 409160724.79f83 8ab@posting.goo gle.com...[color=blue]
        > Hi,
        >
        > It seems to me PHP-GTK has all those nifty PHP-features packed inside.
        > I must say I am kindof a PHP-freak because te syntax and variant-types
        > I like so much I really want to keep programming in PHP and PHP-GTK
        > more and more. Does somebody have a different view on this? I am
        > progamming this on a windows-machine and haven't seen any other
        > language perform better after slamming programs together.
        >
        > Best regards,
        >
        > H66[/color]


        Comment

        • Mark

          #5
          Re: PHP GTK vs every other stand-alone language

          Okay, very clear stories right there.

          But lets take it one step further please, because I really want to be
          shure of a nice language alternative to php-gtk.

          I installed gcc some time ago and got some small examples running.
          Seems okee to put some more time in that one. But C++? But that one
          needs the exact adressing of win-api, that's a drag, isn't it?

          At school we programmed in MS Visual C++, but that doesn't give a
          toolkit to slam those win-apps in. Although C is also one of my
          favorites in programming weird MS-dependant stuff (on wich they close
          support after 5 years) like MS MFC I won't even consider. :)

          Maybe glib using gcc is my solution? I don't have a clue. I just
          simply don't like MS-product and philosophy (no offence anybody).

          Any ideas?
          I'd like a toolkit, gcc seems okay, maybe some threads (needed?) and
          just some forms and controls, oh and a comport-tool. A lot? :)

          Please help!

          Henny

          Comment

          • Jay Donnell

            #6
            Re: PHP GTK vs every other stand-alone language

            Have you looked at python? There are a few different cross-platform
            gui libraries. Gtk is one of those and it ships with tk.

            Jay

            henny66@gmx.net (Mark) wrote in message news:<97ea361d. 0409200538.287e cbb@posting.goo gle.com>...[color=blue]
            > Okay, very clear stories right there.
            >
            > But lets take it one step further please, because I really want to be
            > shure of a nice language alternative to php-gtk.
            >
            > I installed gcc some time ago and got some small examples running.
            > Seems okee to put some more time in that one. But C++? But that one
            > needs the exact adressing of win-api, that's a drag, isn't it?
            >
            > At school we programmed in MS Visual C++, but that doesn't give a
            > toolkit to slam those win-apps in. Although C is also one of my
            > favorites in programming weird MS-dependant stuff (on wich they close
            > support after 5 years) like MS MFC I won't even consider. :)
            >
            > Maybe glib using gcc is my solution? I don't have a clue. I just
            > simply don't like MS-product and philosophy (no offence anybody).
            >
            > Any ideas?
            > I'd like a toolkit, gcc seems okay, maybe some threads (needed?) and
            > just some forms and controls, oh and a comport-tool. A lot? :)
            >
            > Please help!
            >
            > Henny[/color]

            Comment

            • Aquila Deus

              #7
              Re: PHP GTK vs every other stand-alone language

              jaydonnell@gmai l.com (Jay Donnell) wrote in message news:<9c0950c9. 0409201142.3539 43ae@posting.go ogle.com>...[color=blue]
              > Have you looked at python? There are a few different cross-platform
              > gui libraries. Gtk is one of those and it ships with tk.[/color]

              gtk with python is badly supported. There is even no complete reference.

              Comment

              • Mark

                #8
                Re: PHP GTK vs every other stand-alone language

                Hi!

                Yeah, I've seen the main-part of the syntax-specification. It's not
                the language I would prefer. Interpreting white-spaces/tabs is not a
                nice thing I think. Python's mechanism for designating members as
                being private: prepending the name with __. I can't take it! :(

                But thanks for the advice!

                H66

                Comment

                • Bjarte Stien Karlsen

                  #9
                  Re: PHP GTK vs every other stand-alone language

                  Mark <henny66@gmx.ne t> wrote:[color=blue]
                  > Hi,[/color]
                  [color=blue]
                  > It seems to me PHP-GTK has all those nifty PHP-features packed inside.
                  > I must say I am kindof a PHP-freak because te syntax and variant-types
                  > I like so much I really want to keep programming in PHP and PHP-GTK
                  > more and more. Does somebody have a different view on this? I am
                  > progamming this on a windows-machine and haven't seen any other
                  > language perform better after slamming programs together.[/color]

                  Have you looked at Ruby? If you like the OO way but does not like Python
                  they Ruby might be the thing for you. One note though is that ruby is
                  not that widespread out of japan and it lacks the multitude of libs that
                  say Python has.

                  --
                  regards,
                  Bjarte Stien Karlsen
                  To find out the limits of the possible you have to go beyond them into the impossible.

                  Comment

                  • Chung Leong

                    #10
                    Re: PHP GTK vs every other stand-alone language

                    "Mark" <henny66@gmx.ne t> wrote in message
                    news:97ea361d.0 409200538.287ec bb@posting.goog le.com...[color=blue]
                    > At school we programmed in MS Visual C++, but that doesn't give a
                    > toolkit to slam those win-apps in. Although C is also one of my
                    > favorites in programming weird MS-dependant stuff (on wich they close
                    > support after 5 years) like MS MFC I won't even consider. :)
                    >
                    > Maybe glib using gcc is my solution? I don't have a clue. I just
                    > simply don't like MS-product and philosophy (no offence anybody).[/color]

                    Borland Delphi is arguably the best RAD tool out there. The power of C
                    combined with the ease of Visual Basic. You can download a 30-day trial at
                    www.borland.com. They also have a product called C++Builder, which uses the
                    same GUI library.


                    Comment

                    • Mark

                      #11
                      Re: PHP GTK vs every other stand-alone language

                      Wow! Ruby actually comes VERY close to my descriptions. I checked it
                      out and has those nice features for sure. Are you using it?

                      <quote>
                      Interpreted, dynamically typed, pure object-oriented, scripting
                      language for fast, easy programming, from Japan. Simple,
                      straightforward , extensible. Many features to process text files and
                      do system management, as in Perl. More elegant than Perl, fewer
                      parentheses than Lisp. Japan has more users of Ruby than Python. [Open
                      Source]
                      </quote>

                      This guy from ZenSpider keeps comparing things with SmallTalk. It was
                      the main language wich Sun seems to have copied when building Java. I
                      know ST doesn't fit my descriptions like Ruby does but I am curious
                      for the support on both languages. Support can be very helpful. :)

                      Thanks for the Ruby-tip! I'll be watching that one and maybe more.

                      Best regards
                      H66

                      Comment

                      • Mark

                        #12
                        Re: PHP GTK vs every other stand-alone language

                        Well... since I found GtkFixed for pixel-precise-placing of controls,
                        fopen for RS232 ad com-port stuff I am pretty sure this will be just
                        okay for me to make some nice apps on Windows. Thnx for all advice and
                        I'll keep all that stuff in mind.

                        For now; PHP-GTK rules! :)

                        Best regards,
                        H66

                        Comment

                        Working...