RE: [PHP-GTK] php-gtk file extension
| From: | Christian Weiske | Date: | Tue, 04 Nov 2003 19:44:06 +0000 |
| Subject: | RE: [PHP-GTK] php-gtk file extension | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4067@lists.php.net to get a copy of this message | ||
Hi
[frank]
> Most php extension is a wrapper arround a C-library. The
> C-library makes it possible to interact with other systems,
> this can be a database server, a GUI or any other external
> system. There is not a big difference in how that works from
> extension to extension.
> No matter what extension you are using it is still the PHP
> scripting language you are using, and it is still parsed with
> the same interpriter.
I know this very well.
But I meant the "content" of the extension, and the php-gtk is an
extension which gives you a graphical frontend while other extensions
like mysql or xml do things "inside", if you use the
gui/"under-the-hood" view.
But that's not the point. It's just that php-gtk scripts don't need a
shell, while other php scripts need it (ok, there will be some which
won't).
For me it's just very if I have a directory with the contents:
> doctool.php
> doctool_helpers.inc
> InPHP.php-gtk
> data.xml
and see at once that the InPHP has a frontend while the doctool needs to
be run from the command line, while the doctool_helpers.inc is just a
php-library with function which can't be executed at all.
[radko]
> For the php-gtk applications I am using .phpw extension
> ( just like in python they are using .pyw - "w" comes from window).
That's a good point, I agree with you that the library - gtk or qt or
whatsoever - doesn't matter.
> includes ( function, class and constants libraries)
> I am using a classical .phps
Mine is .inc - inc like include ;)
[jay]
> So what is a reasonable answer?
> It seems to me that this would surely start a flame war.
I just hoped that we could come together to one extension to make our
and the user's life more easy... I really don't like it when I
downloaded a new php-gtk app, extract it and need to rename the
(php-)executable to my ".php-gtk" extension.
Regards/MfG,
Christian Weiske
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
Christian Weiske
cweiske@cweiske.de
www.cweiske.de
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
Always forgetting birthdays? Try birthday reminder!
http://www.cweiske.de/birthday.htm