Hi Frank,
May be you are right about the python. I don't know too, but it making a sense ( the perl interpreter has that behaviour).
But still you can determine the purpose of each file at a glance.
regards,
Radko
Frank M. Kromann wrote:
Hi Radko,
My knowledge about Python is too small to see if there is a benefit to the
different extensions, but my guess is that the interpreter acts
differently on different extensions. PHP can execute any file independant
of the extensions, as long as the content of the file is a valid php
script.
- Frank
Hi Frank,
In principle you are right! But as developer or as user, or just as
system holder -
I want to know what is the purpose of each file. If I have more detailed
view,
it is better for me. Take a look over the python scripts there have a standart
extensions :
.py - regular pytnon script
.pym - python module
.pyw - _WINDOW_SCRIPT_
.pyc - compiled script
etc.
And pytnon developers and the end users are hapy to know what each of
these
files contains.
regards,
Radko
Frank M. Kromann wrote:
Hi Christian,
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.
- Frank
Hi
Asuming that every developper will adapt to a generic file
extension is far fetched.
With java it works. And with C(++) it works, too. And with graphic
formats, too. And with word documents, pdfs, ....
I for one will continue to use .php
for all my script files. Afterall a script that uses the
PHP-GTK extension is still a php script. I would not use
.php-mssql for scripts that uses the mssql extension, and how
would you name a script that uses sevral extensions ?
I think php-gtk is a special extension, which requires a special
extension for starting purposes.
The other extensions just are for the inner works, but the php-gtk
does
real external work with the gtk and user interaction.
Regards/MfG,
Christian Weiske
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
Christian Weiske
cweiske@cweiske.de
www.cweiske.de
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
Always forgetting birthdays? Try birthday reminder!
http://www.cweiske.de/birthday.htm
-- PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php