CRC Cards

FSmain
Handle data from forms Make requests to server and handles response
Output HTML to surround result Need the page to print
Output HTML header Needs specific information for each page to print
Output result Need connection, query and query result
Output text Message handler for admin login
Output ratiing Needs the rating
Format phone entry Needs the phone number
Output HTML footer Needs to know which header to print (standard or admin)

FSrequest
Handle query request Make requests to server and handles response and cookies
Remove cookies Needs to know response
Add cookies Needs to know response
Process cookies Needs to know response
Parse input from web form Needs to know the request from the forms
Gain access to the input
Retrieve username from input
Find administrator status
Retrieve password from input
Retrieve query type from input

FSconnection
Establish a connection with the web server
Open the connection for a specific user and password Need the user and password
Close the connection
Execute a query Need the request from the web and the type of query

FSqueryString
Build a query string Need the HashMap and the query type
Find if the query type is an update type
Retrieve the value of the query string
Select the query string to execute Needs the query type and HashMap
Build the WHERE portion of the query string The values to search on
Strip formatting from phone number Needs the phone number
Substitute certain characters in a string Need the values to replace
Formats query for use in MySQL Needs the string to format
Formats search query for use in MySQL Needs the string to format
Retrieve query type from input

< Go back to the Index of Diagrams