Requerimientos
*Diligenciar la Voz del cliente
*Recepcionar la Voz del Cliente
*Dilingenciar Respuesta
*Generar notificación de la respuesta (correo,impreso)
*Confirmar Recepción
*Enviar notificaciones por correo de nueva voz al responsable del proceso
*Estadisticas
Requerimientos no funcionales
*Manejo de perfiles
*La seguridad del sitio web prevenir accesos no contralados al sistema
*Permita el manejo de sesiones.
*Las tablas tengan campos de auditoria
Nota:La firma seria un codigo autogenerado.
martes, 25 de noviembre de 2008
martes, 18 de noviembre de 2008
CONFIGURACION DEL SERVIDOR WEB
CAPACITACION 18 DE NOVIEMBRE DE 2008
*C:\wamp\bin\apache\apache 2.2.8\httpd.conf se busca la linea Virtual hosts y se quita el comentario a
include conf\extra\httpd-vhosts.conf
Para cada proyecto nuevo hay que agregar a éste archivo un host virtual
*C:\wamp\bin\apache\apache 2.2.8\extra\http-vhosts.conf y adicionamos
*Luego vamos a C:\WINDOWS\system32\drivers\etc\host y se agrega cada proyecto que se va a crear
127.0.0.1 blog
*Por ultimo se reinicia el Wamp para ver los cambios y se accede al proyecto http://blog/
*C:\wamp\bin\apache\apache 2.2.8\httpd.conf se busca la linea Virtual hosts y se quita el comentario a
include conf\extra\httpd-vhosts.conf
Para cada proyecto nuevo hay que agregar a éste archivo un host virtual
*C:\wamp\bin\apache\apache 2.2.8\extra\http-vhosts.conf y adicionamos
<VirtualHost *:80>
ServerName blog
DocumentRoot "C:\wamp\www\blog\web"
DirectoryIndex index.php
Alias /sf C:\wamp\bin\php\php5.2.6\data\symfony\web\sf
<Directory "C:\wamp\bin\php\php5.2.6\data\symfony\web\sf">
AllowOverride All
Allow from All
</Directory>
<Directory "C:\wamp\www\blog\web">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
*Luego vamos a C:\WINDOWS\system32\drivers\etc\host y se agrega cada proyecto que se va a crear
127.0.0.1 blog
*Por ultimo se reinicia el Wamp para ver los cambios y se accede al proyecto http://blog/
CREACION DEL PROYECTO Y LA BASE DE DATOS
CAPACITACION 14 DE NOVIEMBRE 2008
*CREAR EN LA CARPETA C:\wamp\www la carpeta blog (Carpeta del proyecto)
*ENTRAMOS A MIPC- PROPIEDADES - OPCIONES AVANZADAS Y SE AGREGA A LA VARIABLE DE AMBIENTE PATH C:\wamp\php\php 5.2.6
*CERRAR LA VENTANA DE CMD SI ESTA ABIERTA.
*DESPUES EN CMD SE EJECUTA:
C:\wamp\www\blog>symfony init-project blog (Observamos toda la estructura de carpetas que se crean en la carpeta blog)
*ESTRUCTURA DEL PROYECTO
C:\wamp\www\blog>symfony init-app frontend
C:\wamp\www\blog>symfony init-app backend
*CONFIGURACION DE LA BASE DE DATOS
Se crea la base de datos por PHPMYADMIN el usuario se llama ublog y nombre de la BD blog
Entramos a C:\wamp\www\blog\config\database.yml y agregamos
all:
propel:
class: sfPropelDatabase
param:
classname: PropelPDO
dsn: mysql:dbname=blog;host=localhost
username: ublog
password: 1234
encoding: utf8
persistent: true
pooling: true
NOTA:"No se debe tener varias instalaciones de php en el PATH porque presenta problemas en la estructura de Symfony"
Entramos a C:\wamo\www\blog\config\schema.yml y agregamos
propel:
blog_articulo:
_attributes: { phpName: Articulo }
id:
titulo: varchar(255)
contenido: longvarchar
created_at:
blog_comentario:
_attributes: { phpName: Comentario }
id:
articulo_id:
autor: varchar(255)
contenido: longvarchar
created_at:
*DESPUES VAMOS A CMD Y EJECUTAMOS
C:\wamp\www\blog>symfony propel-build-model
>> schema converting "C:/wamp/www/blog/config/schema.yml" to XML
>> schema putting C:/wamp/www/blog/config/generated-schema.xml
>> propel Running "om" phing task
[propel-om] Could not perform XLST transformation. Make sure PHP has been compi
led/configured to support XSLT.
>> file- C:/wamp/www/blog/config/generated-schema.xml
>> autoload reloading autoloading
C:\wamp\www\blog>symfony propel-build-sql
>> schema converting "C:/wamp/www/blog/config/schema.yml" to XML
>> schema putting C:/wamp/www/blog/config/generated-schema.xml
>> propel Running "sql" phing task
[propel-sql] Could not perform XLST transformation. Make sure PHP has been comp
iled/configured to support XSLT.
>> file- C:/wamp/www/blog/config/generated-schema.xml
*POR ULTIMO ENTRAMOS A
C:\wamp\www\blog\data\sql y miramos el archivo lib.model.schema.sql se copia el texto de la BD y se ejecuta por phpMyAdmin
*CREAR EN LA CARPETA C:\wamp\www la carpeta blog (Carpeta del proyecto)
*ENTRAMOS A MIPC- PROPIEDADES - OPCIONES AVANZADAS Y SE AGREGA A LA VARIABLE DE AMBIENTE PATH C:\wamp\php\php 5.2.6
*CERRAR LA VENTANA DE CMD SI ESTA ABIERTA.
*DESPUES EN CMD SE EJECUTA:
C:\wamp\www\blog>symfony init-project blog (Observamos toda la estructura de carpetas que se crean en la carpeta blog)
*ESTRUCTURA DEL PROYECTO
C:\wamp\www\blog>symfony init-app frontend
C:\wamp\www\blog>symfony init-app backend
*CONFIGURACION DE LA BASE DE DATOS
Se crea la base de datos por PHPMYADMIN el usuario se llama ublog y nombre de la BD blog
Entramos a C:\wamp\www\blog\config\database.yml y agregamos
all:
propel:
class: sfPropelDatabase
param:
classname: PropelPDO
dsn: mysql:dbname=blog;host=localhost
username: ublog
password: 1234
encoding: utf8
persistent: true
pooling: true
NOTA:"No se debe tener varias instalaciones de php en el PATH porque presenta problemas en la estructura de Symfony"
Entramos a C:\wamo\www\blog\config\schema.yml y agregamos
propel:
blog_articulo:
_attributes: { phpName: Articulo }
id:
titulo: varchar(255)
contenido: longvarchar
created_at:
blog_comentario:
_attributes: { phpName: Comentario }
id:
articulo_id:
autor: varchar(255)
contenido: longvarchar
created_at:
*DESPUES VAMOS A CMD Y EJECUTAMOS
C:\wamp\www\blog>symfony propel-build-model
>> schema converting "C:/wamp/www/blog/config/schema.yml" to XML
>> schema putting C:/wamp/www/blog/config/generated-schema.xml
>> propel Running "om" phing task
[propel-om] Could not perform XLST transformation. Make sure PHP has been compi
led/configured to support XSLT.
>> file- C:/wamp/www/blog/config/generated-schema.xml
>> autoload reloading autoloading
C:\wamp\www\blog>symfony propel-build-sql
>> schema converting "C:/wamp/www/blog/config/schema.yml" to XML
>> schema putting C:/wamp/www/blog/config/generated-schema.xml
>> propel Running "sql" phing task
[propel-sql] Could not perform XLST transformation. Make sure PHP has been comp
iled/configured to support XSLT.
>> file- C:/wamp/www/blog/config/generated-schema.xml
*POR ULTIMO ENTRAMOS A
C:\wamp\www\blog\data\sql y miramos el archivo lib.model.schema.sql se copia el texto de la BD y se ejecuta por phpMyAdmin
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
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.iniinclude_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 . . .
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
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
Escribe Y
php.ini
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
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
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.
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.
Etiquetas:
cakephp,
comparativa,
framework,
symfony,
Zend
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/
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/
http://www.puentesdiaz.com.ar/blog/2008/11/07/symfony-12-bondades-de-doctrine/
martes, 4 de noviembre de 2008
Acta Reunión 2 - 04-11-2008 - Grupo de Desarrollo Web
- Revisar la compatibilidad de Symfony.
- Instalar de manera personalizada el Symfony Sandbox.
- Instalar WAMP Server 2.0
- Realizar taller maestros del Web.
Suscribirse a:
Entradas (Atom)