CSYM019 Internet Programming Assignment

Assignment Help Computer Engineering
Reference no: EM132900551

CSYM019 Internet Programming - University of Northampton

Outline:

You will create two small-scale UK weather information applications. For the first application, you will start by creating a JSON data file capable of holding UK weather summary data.

You will then use javascript to extract data from your JSON data file, and to process and display the data in HTML format. For the second weather application, you will use javascript to access and query current UK weather conditions from a weather data API. You will then display the resultant data in HTML format.

Assignment Specifications:

Task 1 - Create a Current Weather Application

A) JSON:

Create a JSON file (weather.json) with a structure capable of holding current weather data for cities across the UK. The file should be capable of holding the following data:

city id city name
current conditions temperature
wind speed wind direction wind chill factor

B) JSON Schema:

Create a JSON schema (weatherschema.json) against which weather data from the file (weather.json) can be validated. The schema should enforce realistic data types and restrictions for each data element.

Add dummy weather data for several UK cities to the file (weather.json). The data you add should validate against the schema provided in the file (weatherschema.json).

C) Javascript and HTML:

Create a script (weather.js) that will extract data from the file (weather.json), and insert it in a HTML page (weather.html) in table format. The data should automatically update at a realistic pre-set interval. This should be achieved using a setTimeout method. The produced HTML should be formatted to professional standard using CSS.

Also, include a weather icon (provided) for each city weather report.

D) Code Explanation:

Copy your code to a Word document. Annotate each line of the code with a full explanation of what the code does. This includes variables, methods, structural constructs (e.g. conditionals), etc.

Task 2 - Create a Weather Application based on API Data

A) The API:

To build the UK weather application for this part of the assignment, you will use the OpenWeatherMap API. To use this API you will first need to register and get yourself an API key. There are detailed instructions on the OpenWeatherMap API help page on how to work with the API (e.g. how to create a request URL).

B) The Application:

In this application, users should be able to choose a UK country (England, Scotland, Wales, or Northern Ireland) from a menu on a HTML page. Depending on which country the user chooses, corresponding city name data for the chosen country should be dynamically loaded into a second menu. The user should then be able to select a city name from the second menu. Upon selection, the weather for the selected city should be retrieved from the API, and displayed as HTML.

UK city data for the menus is provided in the resources folder in on NILE. The following weather data items should be displayed for a selected city:
City name Date
Weather conditions Temperature
Wind speed Wind direction Weather icon.

The following display requirements should apply:

1) Temperature must be displayed in Celsius and Fahrenheit. If the temperature is above 35°C or below -5°C, a severe weather warning must be issued.

2) Wind speed must be displayed in miles-per-hour and kilometres per hour. If the wind speed is greater than 50mph (80.47kph), a severe weather warning must be issued.

3) Wind direction must be displayed as a degree (e.g. 90°) and as a textual description (e.g. Southerly, South Westerly, Westerly, etc.).

4) The date must be displayed in standard date format (e.g. DD-MM-YYYY). Presentation of the application must be to professional standard.

C) Code Explanation:

Copy your code to a Word document. Annotate each line of the code with a full explanation of what the code does. This includes variables, methods, structural constructs (e.g. conditionals), etc.

D) Source Code:

Your finished application should contain the following files:

apiweather.html apiweather.js styles.css
england-cities.html scotland-cities.html wales-cities.html nireland-cities.html

Copy your application files into a one folder. Name the folder (Task2). Submit the folder along with task2-code-explanation.docx to the assignment point in the NILE page (see the section Submission Procedure). Failure to submit your files in NILE will mean that your assignment may be awarded 0% for Task2.

F) Version Control:

Create a folder/directory named (Task2). Save/copy all the source code files
(.html, .css, .js, .json) created for the this task (Task2) into the folder. Add the folder, and all the files in it, to the local git repository (csym2019_assignment), which you created in Task1. Push the files in local repository (csym2019_assignment) to the same Github private repository (csym2019_assignment) that you created in Task1.

You must regularly push the files to your PRIVATE repository throughout the development. You must include meaningful commit messages every time you commit to your local repository.

You MUST NOT push the assignment files to a public repository.

E) Video Demonstration:

In addition to the source code and the explanation of the code, you must submit a video demo (URL) of your assignment. The demo should be about 15 minutes long (maximum:20 minutes) and should cover all of your work in a logical way. You should explain the implementation of the two tasks covering the main fragments of your code. Your voice needs to be clear for the marker to hear. It should also include a walk through of using the two applications and must demonstrate the key features. The module tutor reserves the right to invite you for an online viva-voce. Poor demo/viva could negatively influence other sections in the marking criteria.

Attachment:- Internet Programming.rar

Reference no: EM132900551

Questions Cloud

Provide competitive analysis : AMC Entertainment Holdings, Inc. on (Use financial information, stock prices, market shares, etc.) Competitors (who they are and why they pose a threat). Financ
Case-keller and alsdorf text every good endeavor : Now that you have read the Keller and Alsdorf text Every Good Endeavor, (1) describe 5 things that you found to be most important from the text, (2) list anythi
Identify the stakeholders in situation : Modern retailing approaches in Guyana have changed in the last decade especially in the technology, food and apparel sectors. It is common practice to shop for
Identify various costs involved with warehousing of material : Identify the various costs involved with warehousing of materials and parts related to an aviation or aerospace operation, and describe the relative impact of e
CSYM019 Internet Programming Assignment : CSYM019 Internet Programming Assignment Help and Solution, University of Northampton - Assessment Writing Service
Measuring the health of a company : In the case of Yahoo, why could it be argued that investing in employee engagement and satisfaction is a key indicator of success as well as an important metric
Describe the concept of diversification : -Describe the concept of diversification -Describe and give examples of the types of integrating mechanisms.
Explain investment in technological innovation : How does our perception of the present reality shape our investment in technological innovation? How do we avoid personal bias from influencing the collective'
Explain example of a marketing strategy : What is an example of a marketing strategy wherein authoritative leadership is applied? How about a marketing strategy using democratic leadership?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd