Re: JAR files for PHP-GTK?
| From: | Christian Weiske | Date: | Wed, 26 May 2004 05:10:13 +0000 |
| Subject: | Re: JAR files for PHP-GTK? | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4574@lists.php.net to get a copy of this message | ||
Hi
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
If we'd use zip files, there is a zip-module for php and this should be used first, if it's not there the unzip should be used. On windows, an errormessage would appear cause the unzip isn't there.I think zlib (.gz) files should be used, because php comes with zlibGood point, but zlib only supports one compressed file. You'd still need an archive. Yeah, that's right.
In the last discussion people made clear that they need 2 file extensions: - one for windowed php-scripts where no console pops up (.phpw) - one for console-based script for which you need the console to see the output (.phpc) Now if we use .par, there is the problem that either console is shown or hidden, and we can't decide if we want to see the console. And we can't decide this as we see the archive (just for fun index.phpw and index.phpc), because we would need to handle opening the console in the latter case, and this is not trivial. So there is the need for 2 extensions which do basically the same, but one with visible console and the other without. In the hidden-console-version, there is another problem: We don't have the console to print errors out. So we'd need php-gtk error messages to print them out. But I mean if the user doesn't see the program within 10 seconds, he shall start the console version and see what errors are there. That sould be enough. The file extensions... If we both would have used .par, and the normal extensions are .phpc and .phpw (Do we need .phpc as normal .php files would run in the console, too? I think yes, because normal .php files run on a server, not in the console.), the idea if .parw and .parc is near. Note: I hope that we can decide something here in the list, another endless discussion like the one about the default file extension would cost me a) nerves and b) would make me doubt that anything can be decided within the list... forever. Regards, Christian Weiske -- Always forgetting birthdays? Try birthday reminder! http://www.cweiske.de/birthday.htm -- XMMS is playing: Tocotronic - Nach Bahrenfeld im Busthem, an I would want to have the same option for par (php jar?) files. So there is the need for an common extension.That's very interesting, since I thought of .par as well. :) But there is still a problem:
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc