Re: PhpBeautify draft

From: Date: Thu, 13 May 2004 21:07:50 +0000
Subject: Re: PhpBeautify draft
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29225@lists.php.net to get a copy of this message
On May 13, 2004, at 10:42 PM, Claudio Bustos wrote:
PEAR devs: I create the draft for a new Package, PhpBeautify. Some time ago, Jens Bierkandt and I proposed this app, the group suggest some improvement, but we didn't have time to solve the topic.
Aheam, the idea is great however I tried it at http://www.bierkandt.org/beautify/ and locally and the pear beautify doesn't use the pear style AFAIKS :D e.g. should be function execute() { but the beautify does  function execute() { Good luck, I would really love something like that if it works fine :D cheers David Costa
The principal features of the Package are: - Automatic indentation of PHP source code according to given number of spaces - Automatic newlines, if required - You can use the web frontend, command line or the class. - Plug-in architecture, by the use of Filters. The control of beautify proccess is delegated on the Filters. Pear specs are one these. - The code to beautify can make callbacks to the base class and the filters. So, you can set the options for the beautify inside the same file - Batch processing The main diff with others applications is the use of Filters, I think. You can freely use and create new Filter to make your code looks like you want it. Now, I rewrite the code for Php 5. Before change the status to 'Proposal', I need help: - Name of the Package: I think the best group is 'Tool and Utilities', but maybe 'PHP' it's okay. In the first case, the main class will be put in /PEAR/ and others on /PEAR/PhpBeautify. In the second case, the core class will be renamed to /PHP_Beautify and the others files will be moved to /PEAR/PHP/Beautify - Docs: English doesn't my native language (you notice that, rigth?). So, I need people who read the docs and made the necessary corrections on gramar and ortography. Thank you for yout attention Claudio Bustos Navarrete Psicólogo de la Universidad de Concepción E-mail: clbustos@entelchile.net Www: http://www.apsique.com -- PEAR Development Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.pear.dev (#29225) next »