By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,053 Members | 1,595 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,053 IT Pros & Developers. It's quick & easy.

PHP GTK vs every other stand-alone language

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
11 Replies


P: n/a
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++?
Jul 17 '05 #2

P: n/a
Mark wrote:
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


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
Jul 17 '05 #3

P: n/a
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" <he*****@gmx.net> wrote in message
news:97**************************@posting.google.c om...
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

Jul 17 '05 #4

P: n/a
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
Jul 17 '05 #5

P: n/a
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

he*****@gmx.net (Mark) wrote in message news:<97*************************@posting.google.c om>...
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

Jul 17 '05 #6

P: n/a
ja********@gmail.com (Jay Donnell) wrote in message news:<9c**************************@posting.google. com>...
Have you looked at python? There are a few different cross-platform
gui libraries. Gtk is one of those and it ships with tk.


gtk with python is badly supported. There is even no complete reference.
Jul 17 '05 #7

P: n/a
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
Jul 17 '05 #8

P: n/a
Mark <he*****@gmx.net> wrote:
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.


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.
Jul 17 '05 #9

P: n/a
"Mark" <he*****@gmx.net> wrote in message
news:97*************************@posting.google.co m...
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).


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.
Jul 17 '05 #10

P: n/a
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
Jul 17 '05 #11

P: n/a
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
Jul 17 '05 #12

This discussion thread is closed

Replies have been disabled for this discussion.