
In Python code:
Process:
The user (client) requests data from the (server)
DataFile:
USAStates2020.csv
User Layer:
The user selects a country, and passes the country name to the Business Layer. Use TKinter to produce a UI for the user to select a country. Send the selected country to the Business Layer.
Business Layer:
Receives the information from the User Layer and constructs a SQL query to send to the Data Layer. The query extracts the yearly data (1970,2020) for the requested country. The data may be queried either country year-by-year or in one query for year range. After receiving the JSON string back from the Data Layer, send the data to the Graphic Layer for plotting.
Data Layer:
Construct a SQL Database based on the data from the DataFile. Processes the queries from the Business Layer. Sends back a JSON string for the requested query.
Graphic Layer:
Create a graphics class to plot the MatPlotLib XYPlot.
Server Layer:
The database access is controlled by the Server Socket. The client sends a query, and the server sends a JSON string.
Client Socket:
Requests data from the server. After receiving the data from the server, the client displays the data.

Trending nowThis is a popular solution!
Step by stepSolved in 2 steps

- Question1: create a: 1. View php page: This page should have an html table that displays the data from (users table) you created in Lab#7. 2. In the View php page you created, add two more columns in the view table, one allows editing of the row and one allows deleting the row.arrow_forwardA file with the name "Index.html" is notable for a number of different reasons.arrow_forwardHow to code? Hello, Im completely lost with my coding assignment. Here are the instuctions: Summary Kidder Garden Pete Burnham of the Kidder Garden website wants you to develop an application for drawing images or "stamps". As a proof of concept, he wants you to create a webpage in which users can choose stamps of a specified size and shade (opacity) and then place those stamp images on a canvas using the mouse. The user can then modify the size, position, rotation, or shading (opacity) by clicking tools from a toolbar and applying that tool to a stamp image. Pete has already designed the webpage. He needs you to write the code to create the stamp objects and place them as images on the page's canvas. Figure 14-50 shows a preview of a completed page with stamp images created and modified by the user. Pete has also supplied you with the following object methods that will be useful to you: The elementX() method for the Event object prototype that returns the x-coordinate of a mouse…arrow_forward
- Edit the existing code to add an admin account that is seperate from the regular user accounts. When logging in using the admin account, the page should redirect you to sales.html Existing code: login.js function Login() {window.location.href = window.location.href.substring(0, window.location.href.lastIndexOf('/')) + "/Login.html"} function ResetPassword() {window.location.href = window.location.href.substring(0, window.location.href.lastIndexOf('/')) + "/resetpassword.html"} function LoginUser() {var userName = document.getElementById("txtUserName").value;var password = document.getElementById("txtPassword").value; var user = JSON.parse(localStorage.getItem("user")); var storedUserName = user.email;var storedPassword = user.password; if (storedUserName && storedPassword) { if (userName.length > 0 && password.length > 0) { if (userName == storedUserName && password == storedPassword) {alert("Logged In");} else {alert("username or password does not match…arrow_forwardWeb Page: http://web.archive.org/web/20210411193535/https://docs.python-requests.org/en/master/ Inspect the Title Text (Requests: HTTP for HumansTM). What kind of element is it (what is its HTML tag)?arrow_forwardPlease anwser the following question regarding ios app development.arrow_forward
- Write an HTML file that creates the following online Registration form. Be noted that the gender field has Male and Female items. Important notes: You should copy and paste the "HTML script" to answer this question. DON’T take screenshots for your HTML script. It must be an editable script. Take a screenshot of your output web page and paste it as a part of your answer.arrow_forwardIn Python code: Process: The user (client) requests data from the (server) database. The database sends back the data to the user. At acquisition of the data an XYPlot is drawn. DataFile: USAStates2020.csv User Layer:The user selects a country, and passes the country name to the Business Layer. Use TKinter to produce a UI for the user to select a country. Send the selected country to the Business Layer. Business Layer:Receives the information from the User Layer and constructs a SQL query to send to the Data Layer. The query extracts the yearly data (1970,2020) for the requested country. The data may be queried either country year-by-year or in one query for year range. After receiving the JSON string back from the Data Layer, send the data to the Graphic Layer for plotting. Data Layer:Construct a SQL Database based on the data from the DataFile. Processes the queries from the Business Layer. Sends back a JSON string for the requested query. Graphic Layer:Create a graphics…arrow_forwardjavascript programmingarrow_forward
- The index.html filename is important for a number of reasons.arrow_forwardCreate a NetBeans project for this activity. The project name should be as follows: Project Name: MP4_<lastname_firstname> Example: MP4_Blanco_Maria Compress the NetBeans project into .rar or .zip format and then upload to the link provided in the LMS. Only NetBeans project compressed in .rar or .zip format will be accepted. All other formats will be graded with 0. Create a Java GUI with events of a Simple Calculator as follows: The simple calculator should be able to display the computed result based on the operation. The Reset button should clear all values entered and displayed. When the Quit button is clicked, a JOptionPane window will display an information as shown before the program terminates. The program codes should be hard-coded.arrow_forwardCalculate average and grade of marks through html helper. Create new C# asp.net MVC project. Add controller class Create http get request to return view Use html helpers to create form for the view Write http post request for the button percentage to calculate percentage Display the grade on grade label under the suitable criteria Percentage Calculator:arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





