RE: [PHP-GTK] php-gtk file extension
| From: | Steph | Date: | Wed, 05 Nov 2003 18:04:22 +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-4085@lists.php.net to get a copy of this message | ||
<snip>
> Asuming that every developper will adapt to a generic file extension is
> far fetched.
</snip>
Why so?
This is really something that needs to be discussed between everyone in the
community IMHO. It's okay for now to keep on using .php as the extension
(because, as you say, these are .php files) but there's no way for an end
user to distinguish between PHP files for the server and PHP-GTK files. The
file type settings in win32 can't tell the difference either. What happens
when PHP-GTK2 arrives and we have something that people are deploying for
more serious development?
I like Simon's idea of having a separate file extension name when using the
dos screen. Not sure about having 3+ letters in there tho', it's kinda
non-traditional even if we all know it's not important these days..
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 ?
It's not the same thing.. as you know, running a PHP-GTK app through a
server is distinctly unfriendly :)
> If you are planning to run your PHP-GTK applications on a large number of
> client maschines, where the user is unable to install PHP, you would have
> to create an installer and you would have to make sure to check for an
> existing version of php as the extensions and other libraries depend on
> the right version of php.
True, but that's easily done. As is upgrading the version of php/php-gtk
where appropriate.
- Steph