Presentation is loading. Please wait.

Presentation is loading. Please wait.

User logging into Facebook’s interface. Running the application from FaceBook applications.

Similar presentations


Presentation on theme: "User logging into Facebook’s interface. Running the application from FaceBook applications."— Presentation transcript:

1

2 User logging into Facebook’s interface. Running the application from FaceBook applications

3 The relevant user record in the SQL USERS table is getting ONLINE status After watching the intro the user is logged into the application and ready to use it

4 When user typing in a message and press enter The message is being transferred to the server Message: Hello world ! JS Function ChatMsgToDB in functions.php file, preparing AJAX post transaction to the server Transaction is being sent to the server msgToDB.php file connecting to SQL server (using connectToDB.php function) Message is being inserted into CHATLOG table @ SQL

5 In the background an endless loop running JS function named GetMsgFromDB from functions.php file, which generates AJAX request for the message. PHP file – GetMsgFromDB retrieves message data from CHATLOG SQL table, and send it to GetMsgFromDB function. The message is being parsed out of the AJAX transaction, and displayed in the messages window.


Download ppt "User logging into Facebook’s interface. Running the application from FaceBook applications."

Similar presentations


Ads by Google