Lab 6 Communication

Sydney Mayfield

1. The primary programming language used in my application is PHP. SQL is also used to execute queries to the server.

2. PHP is compiled into bytecode and interpreted by the Zend engine. PHP was written in the C language. The Zend engine is also written in C.

3. The website communicates with the Delphi Postgres Database. User logon attempts, registration, account settings changes, and chat messages are all aspects of the application that require communication to the server. The flow of data is as follows: lab6 diagram


The web portion of this application is queueing requests to be sent to the Postgres database. The website is waiting after the initial request for data from the server. An example of this waiting is with a logon attempt. The user will input data in the Login page form. That data is then cleaned by the PHP and sent to the database for validation. Once the data is sent, the webpage is waiting for data to return from the server. The server will verify that the username and password exist in a matching record within the user table. The server then returns data to the waiting webpage so it can either login or tell the user the attempt failed.
Login attempt

This is a login attempt