Você está na página 1de 47

/

[ :
1 ] 05

2
... :


.
.

.


.

3





: ....
/


/


/


26 1
27 2

28 3
29 4
30
5
31 6
1 32 7
33 . 8
34 9
2 35 10
36 11
37 12
38
39
13
14
3 40 15
.
41 16
42 17
4 43 18
44
45
. 19
20
5 46 21

47
48
22
23


49
50
. 24
25
6
. flow chart

7
.
8
. html

9

10


, ,
,





6


:
*
.
*

.
*
.


:

* .

*
.

*
.

) Hypertext Preprocessor ( PHP


" ) Personal Home Page Tools
" (


.

PHP

C

PHP

PHP



.

PHP


MYSQL
.

PHP
.

9
)Query Language (SQL Structured

SQL Non Procedural Language



.



.


1987 SQL
. 1987

IBM SQL
SYSTEM R

10
SQL/DS DB2
.

) (SQL

)Data Definition Language (DDL

)Data Manipulation Language (DML

)HYPER TEXT LANGUAGE MARKUP ( HTML

HTML

C

. JAVA

11


.

HTML TAGES

: < >

><html> , <p> , <h1> , <body

></html> , </p> , </h1> , </body

HTML

12

.


) (

,
, .



,
. Database

13

ERD


C Name (ERD)
C id
Catego
ry
Price C id Name

14
include Email Serial
Name Serial

Product Buy Custom


s ers
Phone
Picture .Descr
Addres
s
Make

Serial
Quantit Price
y

Order Orders
details

Product id Order id Customerid Date



Field
Information
Properties name
type
Primarykey Integer Serial 1
Not null Varchar(90) name 2

Not null Varchar(80) Email 3

15
Not null Varchar(80) Address 4
Not null Varchar(20) Phone nu 5
-:( ):

customer):-) ( 1



Information Field name
Properties
type
Primary
Integer Serial 1
key
Not null Varchar(30) name 2
Not null Varchar(255) description 3
Not null Float Price 4
Not null Varchar(80) Picture 5
Not null Integer cid 6
Products ):) ( 2

Orders ):) ( 3


Field

Properties Informati name
on type
Primary key Integer Serial 1
Not null Date O date 2
Customer
Not null Integer 3
id

: Order details ) ) ( 4

16

( 5 Propertie Field

Information type name
) s
Categ Primary
Integer Order id 1
: ( ory key
Primary Product
Integer 2
key Field
id

Properti
Not Informatio
null name
Integer Quantity 3
es Not null
n type Float Price 4
Primary Integer cid 1
key
Not null Integer cname 2

17


Data Bases

18

categ
ory

custo
mer

Oredr_detail

Orders

19
Products

Insert category

Regest customer

20
Oredr_detail

ID Order

Products

21

22

)(index +

) ( index

) ( Localhost
Localhost /
bookg4 / index.php

User name E-mail Password
Login
Sign Up

23
)(Register

Register

) (

24
)(categorys

List Box
) (.....

25
)(products

) (
)( category

) (
.

26
(shoping ) cart

27
:


...... 2


) X
(


) (






) (.

28
)(billing

29
)(search

30
31

)(dd.php

32
33
(INDEX.php )

34
(reg.php)

35
(Doreg.php)

(Cat.php)

36
(products.php)

37
((Biling

38
39
40
((shoppingcart.php

41
((Search.php
42
(doSearch.php)

43
((Add.php

44
((Doadd.php

45
46

47

Você também pode gostar