doc/php/code_generator [es]
Differences between version #5802 and #5803
3c3 < A partir de la nueva versión de Haxe (2,0) un nuevo objetivo se ha añadido al compilador:''PHP''. Esto permite crear aplicaciones en Haxe y el despliegue de ellos en el ambiente super-difundido PHP. --- > A partir de la nueva versión de Haxe (2,0) un nuevo objetivo se ha añadido al compilador: ''PHP''. Esto permite crear aplicaciones en Haxe y el despliegue de ellos en el ambiente super-difundido PHP. 19c19,21 < If you add the ''-main'' switch to the above command-line, a new file ''index.php'' will be generated in the ''www'' folder. This file just contains a reference (''require_once'') to the php.Boot class that performs some startup operations and to the static method ''main'' in the Index class. You can change the name of ''index.php'' adding the switch ''--php-front default.php'' where ''default.php'' is the desired new name. --- > Si usted añade el interuptor ''-main'' a la anterior línea de comandos, un nuevo archivo ''index.php'' será generado en la carpeta ''www''. Este archivo solo contiene una referencia (''require_once'') a la clase php.Boot que > que realiza algunas operaciones de arranque y el método ''main'' en la clase Index. > Puede cambiar el nombre de ''index.php'' agregando el interruptor ''--php-front default.php'' donde ''default.php'' es el nuevo nombre. 23c25 < A third folder ''res'' is generated by the compiler if one or more [[/doc/advanced/resources|resources]] have been added to the compile process. \ No newline at end of file --- > Una tercera carpeta ''res'' es generada por el compilador si uno o más [[/doc/advanced/resources|recursos]] se han añadido al proceso de compilación. \ No newline at end of file
Ver | Date | User | Action |
---|---|---|---|
#5805 | 2009-04-18 09:49:25 | Perberos | View | Diff |
#5804 | 2009-04-18 09:29:55 | Perberos | View | Diff |
#5803 | 2009-04-18 09:21:00 | Perberos | View | Diff |
#5802 | 2009-04-18 09:13:05 | Perberos | View | Diff |
#5801 | 2009-04-18 09:13:05 | Perberos | Set title to Haxe/PHP: generador de código |
Previous | Next