RE: GTK - why not?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At first the question intrigued me, now I'm not so sure.  What becomes
apparent is a somewhat foggy term "web based".  I assume that you want to
get at the powerful widgets of GTK in your "web based" applications.

First concern is the client machine running a web browser only, which to
keep your machine safe is not allowed to install anything on your machine
without your permission, which means it either lives with the widgets
provided by the browser for html, uses the ones provided by the JRE plug-in
for the browser (and this plug-in only interprets java applet binary), or
each client installs a GTK Plug-in, if there were one, which shoots down
your "nothing to install" goal.

Next concern is the machine running the web server, which with the exception
of a Java App Server, likes to forget about your web browser so it can use
it's resources handle more users, once it's uploaded everything you
requested.  Any code on the server handles database access, and other tasks.
If you look closely you will discover that many of the more powerful widgets
require lots of continual interface as you click open tree leaves, an pull
scroll bars, and show progress bars.  To keep the connection alive to
support this kind of interaction, the web server cannot optimize itself by
forgetting about you and suddenly you have a web server that can only handle
a few concurrent users at a time.  This is why the Java App Server is
designed the way it is, to support this kind of interaction between applets
and servlets, etc.  This is also why you will find that a wide variety of
application on a single server is just not possible on a Java App server,
everything remains persistent in the servers memory so that it can handle
this interaction quickly.  I personally know of a case where a non-Java web
application on a single server was handling the CGI (PHP is sometimes a CGI)
for close to 500 websites, and after that application was converted to Java,
the largest number of sites that could be handled by a single server was 2
(two).

If you really want to get more powerful widgets on your website, you might
check out JavaScript (which isn't even close to Java) and what is being
developed at the following URL.

http://www.blueshoes.org/en/javascript/

I think you will find this interfaces well with your PHP application, or you
could do like so many already have, jump over to Java development.

I don't want to discourage you from thinking "outside the box", and
hopefully this will get you started toward understanding the box.  I
personally prefer PHP because it's the fastest way to put up an application
with a reasonable user load, and most applications only need to be that
powerful.

Hope this helps,

Warren Vail


-----Original Message-----
From: CBQ - GMX.at [mailto:bq777@xxxxxx] 
Sent: Tuesday, May 25, 2004 8:10 PM
To: php-windows@xxxxxxxxxxxxx
Subject:  GTK - why not?


hi @ all

quick question:

ready?

here it is!

WHY IS PHP - GTK not webbased?


sorry, may i am wrong, but i am looking for someone, who is responsable for
GTK. cz, some programmers (including myself) thinking loud about, what could
be the reason why PHP-GTK is not webbased.

that would be high-end applications.

+ u have nothing to install.
+ all is accessable over the internet and
+ just call it, like page over an http link
+ and the source would be still php.

so here is the main question:

Why not?

Would it be maybe a option in the future, if yes, WHEN ?

thx to everybody, who could send me a little personal feedback and/or
telling me please, over who i could get some more informations.

PS: sorry about my english, but its d**n late here.

best regards
CBQ

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux