Prev | Current Page 189 | Next

Peter Farrell-Vinay

"Manage Software Testing"


T
66
Manage Software Testing
5.1 How Websites Work
Web development is dominated by architectural concerns. Figure 5.1 is a typical web architecture corresponding
to level 4 in Table 5.1.
There are many web system types, all of which have similar architectures to the one shown above. The
elements of the architecture can interact as shown in Figure 5.2.
FIGURE 5.1
A typical web architecture
FIGURE 5.2
Web interactions
Order-processing system
Web system
Customer
Internet
Web server
Firewall
Database server
Application
objects
Banking
application
Legacy
applications
Browser
Web server
Banking
application
Application server
Relational database
Login
Choose
an
option
Search
for an
item
Add
item to
basket
Confirmation
cookie
Check-
out
Form and cookie
Reply
Reply
Request
Script parses
login and sends
form and cookie
Script parses
fields and sends
form and cookie
Script parses fields
interrogates
application server,
and sends populated
form and cookie
Script parses
basket details
and sends them to
the application
server, and
returns populated
form and cookie
Script parses
checkout details
and sends them to
the application
server, and
returns populated
form and cookie
Request
Responds
Form and cookie
Form and cookie
Form and cookie
Checkout details
and cookie
Confirmation form
and cookie
Item request and cookie
Basket details and
cookie
cookie
cookie
cookie
Option data and cookie
Login data
Interrogates
database
Testing and the Web
67
The browser pages communicate with the web server using details (form fields filled, check-boxes
ticked, etc.


Pages:
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201