Re: php-gtk file extension

From: Date: Tue, 04 Nov 2003 20:25:23 +0000
Subject: Re: php-gtk file extension
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4073@lists.php.net to get a copy of this message
      Hi Jay,
If you want to thik in C++ terms lets do it... PHP interpreter, parses and complies your PHP code. So in the memory you have a similar code like copied .exe files ( there are some differences - there is a garbage collector, "eval" codes, not-compiled code chunks etc.). When the (PHP) compiler works he does not care what is the extension, but I as developer care. And the reason is same as why the header and implementation files has a different extensions. And there is not a cause to war - there is a issue to specify a standart extensions. regards, Radko Jay Blanchard wrote:
[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


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