[Solved] CSE451-Assignment 1-a combination Web 1.0 solution to display information from the key/value database

$25

File Name: CSE451-Assignment_1-a_combination_Web_1.0_solution_to_display_information_from_the_key/value_database.zip
File Size: 951.42 KB

SKU: [Solved] CSE451-Assignment 1-a combination Web 1.0 solution to display information from the key/value database Category: Tag:
5/5 - (1 vote)

Overview:

Create a combination Web 1.0 solution to display information from the key/value database you just worked on.

Directions:

  1. Create a directory called Display under your repository at the top level.
  2. Copy over the week2 files from my public git repository to this directory. By the way, there is a solution to the Tuesday lab in that public git.
  3. So you should now see in your Display directory files that include:
    1. php -> this contains the model code for accessing the database
    2. week2-rest.php -> the rest server for handling the ajax based calls
    3. php -> a script that will create the needed database and table as well as insert some test data
  4. You will need to create a password.php file that is used by the info.php
    1. $user
    2. $pass 3. $db
    3. $addPass -> this is the string the model uses to protect add functions.
    4. please use the string password so I can test your program.
  5. Also create a .gitignore file at the root of your repository. In this file you will place the string password.php so that the password file is never commited to GIT.
  6. make sure to do the git add .gitignore so the .gitignore is added to your repository. I never want to see the password.php file in your central repository.
  7. Create an index.php file that will call the info.php model and will create and display the table of key/value pairs. This is similar to what you did in the last assignment using ajax. This time however the creation of the table should be done on the server.
  8. Below the table, create a new div that contains a form that will be used to add key/value information to the database. The form should expect the key, value and password. After the data is added make sure to display an OK or Fail message and to resend the current values in the database.
  9. Submit:
    1. link to the working solution on your openstack instance
    2. Link to your git solution

You can run the createAndTestInfo.php program from the command link (php createAndTestInfo.php) to setup your database.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSE451-Assignment 1-a combination Web 1.0 solution to display information from the key/value database
$25