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

What is spring configuration file, Spring configuration file is an XML file...

Spring configuration file is an XML file. This file having the classes information and defines how these classes are configured and introduced to each other.

Algorithms, COMPSCI220S2C2012 Assignment 1 due 8 August 8:30 pm This assign...

COMPSCI220S2C2012 Assignment 1 due 8 August 8:30 pm This assignment introduces you to an example of applied algorithm analysis and shows you why, sometimes, compromises in an algor

How would you interact between servlets and applets? , We may use the java...

We may use the java.net.URL and java.net.URLConnection classes to start a standard HTTP connection and "tunnel" to a Web server. The server then gives this information to the s

Assistance for json authentication problem rss/aol/android, Assistance for ...

Assistance for JSON authentication problem RSS/AOL/Android The key problem we face is how to authenticate afterward the user logged in the webview as well as then parse the JSON

Concept of events and events listeners and events handlers, Question: (...

Question: (a) State and explain clearly FIVE new features of Actionscript 3.0 as compared to Actionscript 2.0. (b) Explain clearly the concept of events and events listen

Explain overriding methods and the solution, Explain Overriding Methods: Th...

Explain Overriding Methods: The Solution The object oriented solution to this problem is to describe a new class, call it SlowCar, that inherits from Car and imposes the additi

Define the life cycle methods of a servlet? , The Web container is used for...

The Web container is used for managing the servlet's life cycle. The Web container produces an instance of the servlet and then the container invokes the init() function. At the co

Give an example for using getter methods, Give an example for Using Getter ...

Give an example for Using Getter Methods ? class CarTest6 { public static void main(String args[]) { Car c = new Car(); c.setLicensePlate("New York A45 636"); c.setMa

What is a proxy, A proxy is an object that is formed after applying advice ...

A proxy is an object that is formed after applying advice to a target object. When you think of client objects the target object and the proxy object are the similar.

Methods in java, public class Foothill {    public static void main(String[...

public class Foothill {    public static void main(String[] args)    {       Client person_1 = new Client("Bruce Ruprecht", 16000, 10);       Writer writer_1 = new Writer("Adam Buf

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