From: Luca <lu...@lu...> - 2003-04-10 14:48:47
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Leandro Lucarella, el jueves 10 de abril a las 02:57 me escribiste: > Hi! I'm starting to use dia2code and I have to say that it's a great > utility! I'm starting to make some PHP classes to PEAR > (http://pear.php.net/) so I made a patch for generating a more "PEAR > compatible" (to use PEAR coding standards). > Changes: > * License (header) is now included after <?php is opened. > * More PHPDoc comments in variables and associations. > * Associations are not commented. > * Replaced include(""); with require_once '';. > * Fixed (or broked?) files to include (or require). > * Added PHPDoc comments for static vars and methods. > * Replaced @returns with @return. > * Added some more 'XXX' where user comment are needed. > TODO: > * Make private/protected methods/vars starts with an underscore. > * See if It's possible to play with package names to make classnames > like Package_Class (maybe Package_Class_Subclass?). > > I'm planning to write a code generation module for PHP5 too. > > Any comments/ideas/suggestions are welcome! Sory por off topic, pero ya que harpo menciono lo facil que es robar codigo en el mundo del SL, me parecio cool compartir con ustedes lo facil que es customizar el codigo a nuestras necesidades tambien... :) La verdad que el dia2code est=C3=A1 muy bien hecho, y hacer un generador= de codigo para cualquier lenguaje (o customizarlo) es muy f=C3=A1cil, pr=C3=A1cticamente no hay que saber ni C si te basas en uno ya hecho. - -- LUCA - Leandro Lucarella - Usando Debian GNU/Linux Sid - GNU Generation - ----------------------------------------------------------------------= -- E-Mail / JID: lu...@lu... GPG Fingerprint: D9E1 4545 0F4B 7928 E82C 375D 4B02 0FE0 B08B 4FB2 GPG Key: gpg --keyserver pks.lugli.org.ar --recv-keys B08B4FB2 - ----------------------------------------------------------------------= -- How comes it to pass, then, that we appear such cowards in reasoning, and are so afraid to stand the test of ridicule? =09=09-- A. Cooper -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+lYH3SwIP4LCLT7IRAleHAJ40wrLHLTViakOd8mf9fCKBDZyXUACeMKlx zNfEbviMc99UWOMvZgeiFlg=3D =3DU2kT -----END PGP SIGNATURE----- |