Web application using javascript-xml and css, JAVA Programming

Assignment Help:

Journal of how you came to AUB

Write a web application using JavaScript, XML and CSS that contains a journal of major events and places on your journey to Bond University. The aim is for you to provide details of how you arrived at Bond and comments about interesting places on the way. Registered visitors will be able to post comments and links to other features of your visited places.

There are three types of users - you as the administrator and owner of the application, guests who can only view your journey and registered visitors who can make comments.

As well as the main application heading and information about the current user at the top right, the owner is presented with a text area with the caption ‘How did I arrive here?' and an Update and Clear button. Note that as the user types the number of characters left out of 160 is displayed. A visitor is presented with a text area with the caption ‘Any comments?'.

Requirements from assignment 1
- When the Update button is clicked the following occurs:
1. The user name is added to the message text typed by the user
2. A time stamp is added after the message text
3. A photo is added at the left
4. Any URLs are made into hyperlinks
5. The combined photo and text, formatted suitably, is prepended to the list of previous messages below the input area, i.e. the most recent item is at the top of the places visited.
6. The message box is cleared to allow further user input.
- When the Clear button is clicked the text area is cleared.

New requirements to be added for assignment 2
1. Allow users to register themselves - the password cannot be blank. You will need to manually create your users XML file
2. All your journey data is to be saved on the server. You will need to manually create a sample of your journey.
3. When anyone opens the default page they are presented with a list of all your journey and comments (retrieved from the server). Use javascript similar to the users.htm sample
4. Allow a registered user who has logged in to add, delete or modify only their comments.
5. Use one or more XML files to record registered users and passwords as well as your journey and comments. These are manually created in 1& 2 above

Make sure that all presentation of the page content is done using styles and style sheets. The old deprecated HTML tags for font size, family, colour and weight should not be used. Take care to use meaningful names for the Ids of all XHTML tags and JavaScript variable and function names. Add some JavaScript comments to each function. Attempt to keep the JavaScript statements to 20 or less for each function. Please follow normal user interface conventions such as feedback for every user action, autofocus of form controls, checks for invalid data entry, and horizontal and vertical alignment.

In the assignment demonstration:

1..Your web site must be resident on your VM.
2. You must run Firefox on your VM (or a browser of your choice).
3. Be quickly able to show the contents of the XHTML, CSS, XML and JavaScript. These need to be in separate files.


Related Discussions:- Web application using javascript-xml and css

Write names of the dos attacks phases, Write names of the DoS attack's phas...

Write names of the DoS attack's phases? DoS (Denail of service): DoS attach has in total 3 kinds of phases and below they are listed: 1. Search 2. Arm 3. Attack

Java program to play minesweeper , Project Requirements Write and tes...

Project Requirements Write and test a Java program to play Minesweeper using Model-View-Presenter design (The model is an interface defining the data to be displayed or other

What is application context, A bean factory is fine to easy applications, b...

A bean factory is fine to easy applications, but to take benefit of the full power of the Spring framework, you may require to move up to Springs more advanced container, the appli

How many kinds of errors can be found during a program, How many kinds of e...

How many kinds of errors can be found during a program development? List them. 1. Syntax errors 2. Semantic errors 3. Run-time errors

About state and behavier of two different object, two different object may...

two different object may have chance to have same behavier but property must be different why?

Waving two numbers into each other, I have to weave two positive integers t...

I have to weave two positive integers together. For example, if the numbers are 137 and 064, the output integer would be 103647. This has to be done using integer arithmetic (not s

What does a simple spring application contain, These applications are like ...

These applications are like any Java application. They are made up of not many classes, each performing a particular purpose within the application. But these classes are configure

Socket in java networking and rmi, What Is a Socket in Java Networking and ...

What Is a Socket in Java Networking and RMI? Ans) A socket is one end-point of a two-way communication link among two programs running on the network. A socket is bound to a por

Encapsulation, Defines to keeping all the related members together in an ob...

Defines to keeping all the related members together in an object. Specifying member variables as private may hide the methods and variables. Objects should hide their inner working

What are the advantages of jms, One of the principal benefits of JMS messag...

One of the principal benefits of JMS messaging is that it's asynchronous. Thus not all the pieces require to be up all the time for the application to function as a whole.

Write Your Message!

Captcha
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