Re: php-gtk file extension

From: Date: Wed, 05 Nov 2003 23:44:17 +0000
Subject: Re: php-gtk file extension
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4087@lists.php.net to get a copy of this message
      Hi Christian,
I have some ideas about installation on Win32, i wrote an installer on JScript - this is the common windows shell scripting language. I used DOMDocument, FileSystemObject, Shell COM objects and the MS HTA technology - and it works - GUI installer with flexible XSD schema for the XML configuration file. There only one issue - there is not an Object commonly distributed with Windows to archive and unarchive files. So distribution goes like a bunch of files - directory organized - with installer script. ( I am sending snapshots of all 5 installing steps as attachment) Step 1 : Step 2 : The "checkbox tree" was built dynamicaly from the .xml file Step 3 : For the ellipse button I used an common windows COM
               object that gives me Directory Tree View to choose an
               target directory
Step 4 : Here i am using <input type="file" /> to choose a defaul editor Step 5 : Also I am registering .phpw, .php, .phps and .phtml extensions depends of which module(s) was choosen. This installer was designed pretty flexible - you can define your own "steps" ( your own forms, text labels, your own functionality) and all that you have to know to customize it is XML, HTML and JScript - its easy like a mushroom soup :))) And if you like you can use the default behaviour. The problem is that *nix instalation is more sophisticated... regards, Radko Christian Weiske wrote:
Hi Until yesterday I preferred the ".php-gtk" extension, but Radko Sharkov opened my eyes: The "-gtk" is too specific to gtk, because, like he said, there are other libraries out there. So we should choose an extension which makes clear that the script is php and uses a GUI/windows, but says nothing about the library used. Radko's ".phpw" is a good idea to my mind (_php_ with _w_indows). [steph]
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..
Many of the 3 letter extensions are double or trice occupied, some even more. You could shorten the ".phpw" to ".phw", but I'm quite sure that this is already used by someone. The ".phpw" isn't too long either. And the thing with "using dos screens" does nothing have to do with php-gtk, this would be a normal script. I'd propose the context menu "open in dosbox", available to all php-gtk scripts. This would it make easy to debug them if needed but requires no changes to the extension. [frank]
I think what we need is a php-gtk install and configuration tool (written in php-gtk). The tool should allow the user to configure path and default extension(s) for php-gtk applications. If we had a tool like this we would all be happy, I think :-)
That doesn't work, because if the user hasn't installed the php-gtk he can't install it with a tool written in php-gtk. Regards/MfG, Christian Weiske <<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
     Christian Weiske
    cweiske@cweiske.de
      www.cweiske.de
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>> Always forgetting birthdays? Try birthday reminder! http://www.cweiske.de/birthday.htm


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