Completed

Help me make a reusable library

I have an assignment that I want close guidance/help on. I'm not sure if that is something anyone would be willing to do, but I would be very appreciative! I need to create a "library" of reusable code and use that library as part of a small web application that collects inputs from users. The library will be a reusable set of code to be used by the MainHandler class. It should include at least 2 classes that will be used as part of organizing, and displaying information. The application will generate (at least) two "views" (i.e. pages). For now, this may require two classes & some repetition of code. This is OK for now until I learn about Inheritance. The code will run TWICE, once for the first time the user sees the app, and once after it submits the form info. Will need conditional statements to guide the code into choosing what to do when: (1)The form collecting the user input & (2)The page with the resulting information. The vast majority of the visual HTML/CSS elements should be in "view" classes. At least 4 inputs will collect information from the user. The code should make instances of the Data Object class to hold the information the user entered into the input fields (in the MainHandler class). These data objects should be made from the same class. There should be a minimum of 5 attributes. This class MUST have properties set up for at least 2 of the attributes/variables in the class and there should be at least one example of a getter and one of a setter. (The setter must be there, even though it will not actually be used by the rest of the code.) Validate user fields with JavaScript. The JS should validate the fields and submit the form ONLY if the information is entered and entered correctly. Checking that they are entered is sufficient. Library Python File Should Include the Following:

At least two classes: A data object class and a class with a selection of reusable utility methods for your application to use. They should be named appropriately for the application.

One of the above-mentioned classes should be a Data Object class (i.e. a class in charge of storing data for transport between classes). DO NOT use arrays and/or dictionaries to do this.

The other class(es) is the "library" or "reusable class"

Should have at least 3 utility functions (even if only two are used by the project). These functions could perform calculations or otherwise organize the data inputted.

One utility function needs to use more than one data object instance's data.

This library class should be FULLY encapsulated. This means using access modifiers (the underscores in front of variable names) to make and getters and setters in all the right places. NO attributes should be public and directly accessible by the MainHandler.

Here's an example:

A grade average calculator: The user enters in the names, grades and id numbers for a set of 5 students. After the user submits the information, the information is displayed including an average grade for the class, median grade for the class and it highlights the highest achieving student using CSS.

Skills: CSS, HTML, Javascript, Python

See more: web application user guide, need help with assignment in python, library part, learn web application, learn html and css, javascript code library, create calculator app in javascript, calculator html javascript code, learn html 5, to make a application form, reusable, python rest, organize html code, library information, application transport, javascript html calculator project, python html javascript, javascript html css python, variable html, python library

About the Employer:
( 3 reviews ) Jacksonville, United States

Project ID: #7015234

Awarded to:

StarTrix

I like that! I've always been fascinated with code organizing. And I think I can be of great help to you. I will also teach you about the stuffs I do on the way, like inheritance. It is so easy to grasp. I'm an exp More

$26 USD / hour
(0 Reviews)
0.0

2 freelancers are bidding on average $30/hour for this job

henry4d

Hello,Thanks for your job posting. I am very interesting for your project. I have rich experiences in Mobile App/Game Developments for 5 years and just started working on freelancer.com I already developed many mo More

$33 USD / hour
(0 Reviews)
0.0