martes, 18 de noviembre de 2008

Configuracion de Host Virtual

En esta url se aclara como se configura el host virtual con algunos paso que faltan en el tutorial de la practica 1

http://onedgewithsanity.blogspot.com/2008/08/getting-started-with-symfony.html

jueves, 13 de noviembre de 2008

MANUAL PASO A PASO INSTALACION PEAR Y SYMFONY

CAPACITACION 13 DE NOVIEMBRE DE 2008

INSTALACION DE WAMPSERVER 2.0 (http://www.wampserver.com/)

INSTALACION DE PEAR


ENTRAMOS A CMD Y EJECUTAMOS

C:\wamp\bin\php\php5.2.6>go-pear

Are you installing a system-wide PEAR or a local copy?
(systemlocal) [system] :

Presionamos ENTER

Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.

1. Installation base ($prefix) : C:\wamp\bin\php\php5.2.6
2. Temporary directory for processing : C:\wamp\bin\php\php5.2.6\tmp
3. Temporary directory for downloads : C:\wamp\bin\php\php5.2.6\tmp
4. Binaries directory : C:\wamp\bin\php\php5.2.6
5. PHP code directory ($php_dir) : C:\wamp\bin\php\php5.2.6\pear
6. Documentation directory : C:\wamp\bin\php\php5.2.6\docs
7. Data directory : C:\wamp\bin\php\php5.2.6\data
8. User-modifiable configuration files directory : C:\wamp\bin\php\php5.2.6\cfg
9. Public Web Files directory : C:\wamp\bin\php\php5.2.6\www
10. Tests directory : C:\wamp\bin\php\php5.2.6\tests
11. Name of configuration file : C:\WINDOWS\pear.ini
12. Path to CLI php.exe : C:\wamp\bin\php\php5.2.6\.

1-12, 'all' or Enter to continue:
Would you like to alter php.ini ? [Y/n] :

Escribe Y

php.ini include_path updated.

Current include path : .;C:\php5\pear
Configured directory : C:\wamp\bin\php\php5.2.6\pear
Currently used php.ini (guess) : C:\wamp\bin\php\php5.2.6\php.ini
Press Enter to continue:

** WARNING! Old version found at C:\wamp\bin\php\php5.2.6, please remove it or b
e sure to use the new c:\wamp\bin\php\php5.2.6\pear.bat command

The 'pear' command is now at your service at c:\wamp\bin\php\php5.2.6\pear.bat

** The 'pear' command is not currently in your PATH, so you need to
** use 'c:\wamp\bin\php\php5.2.6\pear.bat' until you have added
** 'C:\wamp\bin\php\php5.2.6' to your PATH environment variable.

Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.

For more information about PEAR, see:

http://pear.php.net/faq.php
http://pear.php.net/manual/

Thanks for using go-pear!



* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under C:\wamp\bin\php\php5.2.6\PEAR_ENV
.reg .
This file creates ENV variables for the current user.

Double-click this file to add it to the current user registry.

Presione una tecla para continuar . . .


  • DESPUES ENTRAMOS A LA CARPETA C:/wamp/bin/php/php 5.2.6 y le damos doble click a PEAR_ENV.reg
  • NOTA:SINO HA SIDO CREADO VOLVER A REALIZAR POR CMD C:\wamp\bin\php\php5.2.6>go-pear
  • LUEGO SE COPIA EL ARCHIVO QUE ESTA C:/wamp/bin/php/php 5.2.6/pear.bat EN C:/WINDOWS/SYSTEM32

REGRESAMOS A LA VENTANA DE LINEA DE COMANDO Y EJECUTAMOS

C:\>pear config-set http_proxy HTTP://usuario_intranet:clave_intranet@10.25.2.20:3128

config-set succeeded


INSTALACION DE SYMFONY


C:\>pear channel-discover pear.symfony-project.com

Adding Channel "pear.symfony-project.com" succeeded
Discovery of channel "pear.symfony-project.com" succeeded

C:\>pear install symfony/symfony-1.2.0

downloading symfony-1.2.0.tgz ...
Starting to download symfony-1.2.0.tgz

Adicionar la variable de Ambiente

Debemos adicionar al final de la variable de ambiente llamada "path" la siguiente linea:
C:\wamp\bin\php\php5.2.6

Configurando Pear en Wamp con proxy

Este tutorial explica paso a paso la instalación de pear en wamp

http://blog.phpleo.com/2007/08/02/instalando-pear-en-windows/

Esta es la linea de comando para configurar el proxy corporativo

pear config-set http_proxy HTTP://user:pass@domain:port

martes, 11 de noviembre de 2008

Otro Framework a contemplar

Buscando entre otras opciones de Frameworks de desarrollo, y leyendo sobre cual seria otra opción diferente a Symfony, tenemos Cake PHP.

Aunque su documentación en español no es muy extensa a diferencia de Symfony, aca les dejo un vínculo con el tutorial oficial que se encuentra en nuestro idioma.

http://manual.cakephp.org/es/view/4/Comenzando-con-CakePHP

lunes, 10 de noviembre de 2008

Comparativa entre varios Frameworks

Aca les dejo un articulo de comparativas entre otros frameworks de desarrollo para PHP.

http://www.dustinweber.com/cakephp/the-best-php-framework-is-symfony-really-it/

Aunque hasta el momento he visto que el framework del que mejor hablan es symfony, es bueno tener comparativas asi. Esto demuestra que no solo existe este Framework, sino otros que tienen mucha fuerza en la parte de desarrollo Web en PHP.

sábado, 8 de noviembre de 2008

Symfony 1.2 : Dios salve a los formularios anidados

En symfony 1.1, se introdujo el nuevo sub-framework de formularios. un gran paso para symfony, un poco mas complicado de manejar; pero con la nueva versión prometen tenerlo mas automatizado.

Aca les dejo el vínculo del artículo completo:

http://www.puentesdiaz.com.ar/blog/2008/11/06/symfony-12-dios-salve-a-los-formularios-anidados/

viernes, 7 de noviembre de 2008

Symfony 1.2 Bondades de Doctrine

Aca les dejo un vínculo para que comencemos a mirar a Doctrine como un ORM para el desarrollo de las aplicaciones de la empresa.

http://www.puentesdiaz.com.ar/blog/2008/11/07/symfony-12-bondades-de-doctrine/