Está en la página 1de 13

Apache + PHP + MySQL

Desarrollo de
Aplicaciones Web
Apache HTTP Server
Servidor HTTP.
Gran robustez y
desempeo.
Mdulos.
Freeware.
Es multiplataforma.
Unix/Linux/BSD.
Windows.
Solaris.
MacOS.
PHP
PHP = PHP Hypertext Preprocessor.
No es un compilador.
Es un interprete de comandos (scripts).
Gran cantidad de funciones de todo tipo.
Soporta Programacin Orientada a
Objetos.
Freeware.
PHP (cont.)
Se integra muy bien con
muchos Servidores HTTP.
Apache HTTP Server.
Internet Information Server.
Personal Web Server.
OmniHTTPd.
Oreilly Website Pro.
Xitami.
SunONE Webserver.
Netscape Enterprise Server.
iPlanet.
Es multiplataforma.
Unix/Linux/BSD.
Windows.
Solaris.
MacOS.

MySQL
RDBMS de gran potencia y agilidad.
Utilizado principalmente en entornos web.
No tiene soporte nativo de Integridad
Referencial (hasta la version 4).
No soporta Stored Procedures (hasta la
version 4).
Freeware.
Sitios de inters
Apache project: http://www.apache.org
PHP: http://www.php.net
PHP Builder: http://www.phpbuilder.com
PHP Freaks: http://www.phpfreaks.com
MySQL AB: http://www.mysql.com

PHP en Tres Capas
- Clases de Anlisis
- Clases de Diseo
Clases de Anlisis
-idUsuario : int
-usr : string
-pwd : string
-nombre : string
-fechaAlta : string
-fechaLogin : string
Usuario
-idContacto : int
-apellidos : string
-nombres : string
-direccion : string
-cp : string
-ciudad : string
-provincia : string
-tel : string
-cel : string
-fax : string
-beeper : string
-icq : int
Contacto
-idEMail : int
-eMail : string
EMail
1 0..* 1 0..*
Clases de Diseo
-idUsuario : int
-usr : string
-pwd : string
-nombre : string
-fechaAlta : string
-fechaLogin : string
Usuario
-idContacto : int
-apellidos : string
-nombres : string
-direccion : string
-cp : string
-ciudad : string
-provincia : string
-tel : string
-cel : string
-fax : string
-beeper : string
-icq : int
Contacto
-idEMail : int
-eMail : string
EMail
1 0..* 1 0..*
-usr : string
-pwd : string
Session
-sql : string
-rs
-num
Query
-db_usr : string
-db_pwd : string
-db_cnn
-db
Connection
0..* 1
Utils
-page : int
-items : int
-ipp : int
Listado
PHP en Tres Capas
- Formas de Implementacin
- Modelo de Tres Capas
Formas de Implementacin
HTML
JAVASCRIPT
PHP
C
PHP
C
MySQL
C
Capa de Presentacin Capa de Negocio Capa de Datos
PHP
(interface)
Formas de Implementacin
HTML
JAVASCRIPT
FLASH
JAVA
PHP
C
PHP
C
MySQL
C
Capa de Presentacin Capa de Negocio Capa de Datos
PHP
(interface)
index.php
(login)
logout.php
contactos.php
contactos_abm.php
contactos_lista.php
usr : string
pwd : string
s_data : Session
idUsuario : int
usr : string
pwd : string
nombre : string
fechaAlta : string
fechaLogin : string
oUsr : Usuario
idContacto : int
apellidos : string
nombres : string
direccion : string
cp : string
ciudad : string
provincia : string
tel : string
cel : string
fax : string
beeper : string
icq : int
oContacto : Contacto
idEMail : int
eMail : string
oEMail : EMail
sql : string
rs
num
q : Query
db_usr : string
db_pwd : string
db_cnn
db
cnn : Connection
page : int
items : int
ipp : int
listado : Listado
fx : Utils
M
o
d
e
l
o

d
e

T
r
e
s

C
a
p
a
s

También podría gustarte