Re: php-gtk file extension

From: Date: Tue, 04 Nov 2003 19:53:12 +0000
Subject: Re: php-gtk file extension
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4068@lists.php.net to get a copy of this message
Hi, I have a simple suggestion that solves the icon issue. In Winblows, it's possible to create each shortcut with a different icon. So your application installer should simply: 1.) drop the php binary and dlls in the right place 2.) put your php-gtk application where it should go 3.) create a shortcut (on the desktop, the start menu, or both) with your icon (which you could also distribute as a .ico file with your app). The shortcut will be "<path-to-php-win> -q <path-to-php-gtk-app>". That's it. No standard file extension, but your user won't know that. To them, they're just opening any old application. They don't care what it's written in, just that it works. HTH, Eric ----- Original Message ----- From: "Jay Blanchard" <jay.blanchard@niicommunications.com> To: "Radko Sharkov" <radkosharkov@rodopi.com>; "Frank M. Kromann" <frank@kromann.info> Cc: <php-gtk-general@lists.php.net> Sent: Tuesday, November 04, 2003 1:21 PM Subject: RE: [PHP-GTK] php-gtk file extension [snip] 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. [/snip] Prior to compiling, C++ namespaces have several extensions (.h, .cpp, etc) but are ultimately compiled into a single .exe file for execution. However, the .exe might call a .dll or reference a .ini. We do similar things with PHP (.class, .func, .config) but the user only 'sees' the .php interface. So what is a reasonable answer? It seems to me that this would surely start a flame war. Jay -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.gtk.general (#4068) next »