Presentation:

This demonstration was built using 4th Dimension (from ACI) and Internet ToolKit for 4D. It shows how a web server can fully interact with a database by allowing you to search and add records to it.

Demonstration Script:

Setup

  1. On the server, make sure that "Intranet PhoneBook" phonebook. By default, it is configured to answer HTTP request on port "8080", but you can modify this using the menu item [File]Preference.

  2. Make sure that the browser you use is correctly configured to

  3. Through your browser access the following URL : http://www.intranet.com:8080/

Demo

  1. Let's first do a search for someone whoose name begins by "Nic". Type "Nic" in the "First Name" field and hit "Search". A few records are found.

  2. Knowing that the person you search works in the accounting department, you click on "Nicole Hemmo" and you get directly to her page.

  3. Clicking on her eMail address alows you to immediately send her a message.

  4. Once your are done writing the message, you may want to send a carbon copy to her manager, so you click on her department ("Accounting"). You then get a decription of her department inlcuding the name of her manager who his A.J. Chow, followed by the list of all the people working in this department.

  5. Let's imagine now that you have someone new in your department and you want to add it to the phonebook. You click on "Up One Level" at the bottom of the page to return to the phonebook's main page.

  6. You then click on "Add Employee" to get to the form. The pop-up on this form is dynamically generated so that if someone added a new department a few seconds before you clicked on "Add Employee", its name would have automatically appeared in the pop-up.

  7. Once you are done filling this form, you click on the "Add" button. At this time a local Java script briefly runs to check if you correly entered number in the date field and if the eMail address looks correct. If it is not the case, an alert will inform you of your mistake. This means that we were able to partially check the form integrity without generating traffic on the network.

  8. If your entry was correct, you now get a confirmation page. If not, you now have a list of the mistakes made. You can hit "Back" on your browser to return to the form.

  9. You can now do a search on this person's name, and see that the lists have been update immediately.

Link Home Link Up One Lvl