CS202 GDB Fall 2019 Solution & Discussion
Suppose you are assigned a task to develop a web application for stock exchange market. One of the client requirements is to show the updated stock exchange data of Pakistan, China, America, Australia and India. The data of Pakistan, China America, Australia and India should be updated after every 2 seconds, 4 seconds, 1 second, 6 seconds and 8 seconds respectively. Another requirement is to show summary of updated data of all given countries after every 8 seconds. If you as a developer are provided with the following two options to choose to implement the above requirements, which option would you prefer and why? Support your answer with solid arguments.
Option 1: Use AJAX
Option 2: Reload whole page after each update
Give your opinion with solid reasons to support your answer.
Please Discuss here about this GDB.Thanks
Our main purpose here discussion not just Solution
Students having same subject can start discussion here to solve assignment, GDB & Quiz and can clear their concepts until solution is provided.
P.S: Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”
Then copy Questions from assignment file and paste in Discussion.
+ http://bit.ly/vucodes (For Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (For Past Papers, Solved MCQs, Short Notes & More)
+ Click Here to Search (Looking For something at vustudents.ning.com?)
+ Click Here to Join (Our facebook study Group)
CS202 GDB 2019-2020
I will use AJAX for this Purpose Because AJAX allows web pages to be updated without reloading the whole page. It is a technique for creating very fast and dynamic web pages. Here are some real-life examples are like Gmail, Facebook, YouTube and Google Maps, etc.