
Browser Stack demonstrator
4907
£20(approx. $27)
- Posted:
- Proposals: 1
- Remote
- #205528
- Archived
Description
Experience Level: Entry
Project Description:
Design a system that models the way the client browser maintains the aforementioned state. The system must allow the user to enter a new URL into the system and either go back to a URL loaded previous to the current URL or go forward to a URL loaded after the current URL. The storage mechanism used by the browser must include two stacks (one backward and one forward) both of which support the following behaviour:
• LIFO
• Pop item from stack
• Push item onto stack
• Empty a stack
Generally speaking, the backward stack stores items of previously visited URLs and the forward stack stores items moved from the backward stack to the forward stack.
The system must allow the user to interact in three ways: enter a new URL, recover URLs from the backward stack; and recover URLs from the forward stack. The actions of the user should produce the following results:
• Entering URL (via an address bar)
o Push current document onto backward stack
o Empty forward stack
• Recover URL from backward stack
o Push current document onto forward stack
o Pop backward stack
o Load popped URL as current document
• Load URL from forward stack
o Push current document onto back stack
o Pop forward stack
o Load popped URL as current document
• Additional Rules
o The system is initialised with a Home page
o A new Window has empty stacks
o Popping an Empty Stack is non-fatal
NB. The aim of the stack is to only allow access to the item at the top of the stack. In other words, a stack is a form of sequential access (NB Arrays allows random or non-sequential access) 3
Implementation
Implement a client interface to support the requirements and demonstrate the principles in full. The best approach to take in order to solve the problem is to use an event based style of programming. Use appropriate form components to represent the components of the browser and a series of JavaScript functions to model the behaviour of the browser. The design must simulate the behaviour of the web client, but not duplicate its performance. Do not, therefore, write code which calls a web page via a URL and inserts the page into part of the loaded document.
Additional Requirements
For those wishing to explore regular expressions, additional credit will be given to implementations which support a full URL string and are able to extract the relevant parts and store/display them appropriately.
For those wishing to explore stacks in more detail, additional credit will be given to implementations which support the data structures made from objects (nodes and links) in the form of linked lists. These structures do not allow non-sequential access to data. It is recommended that this requirement is only attempted once the working standard ‘array based’ implementation has been completed.
Testing
Develop a series of 10 tests to check the accuracy of the model given the requirements and produce an appropriate test plan to support this. These tests can be verified against a suitable series of HTTP clients. Use a standard test grid.
I have already half done this work, so all i will be needing is for you to make sure that it is all working and that its complete.
Thanks a lot
Design a system that models the way the client browser maintains the aforementioned state. The system must allow the user to enter a new URL into the system and either go back to a URL loaded previous to the current URL or go forward to a URL loaded after the current URL. The storage mechanism used by the browser must include two stacks (one backward and one forward) both of which support the following behaviour:
• LIFO
• Pop item from stack
• Push item onto stack
• Empty a stack
Generally speaking, the backward stack stores items of previously visited URLs and the forward stack stores items moved from the backward stack to the forward stack.
The system must allow the user to interact in three ways: enter a new URL, recover URLs from the backward stack; and recover URLs from the forward stack. The actions of the user should produce the following results:
• Entering URL (via an address bar)
o Push current document onto backward stack
o Empty forward stack
• Recover URL from backward stack
o Push current document onto forward stack
o Pop backward stack
o Load popped URL as current document
• Load URL from forward stack
o Push current document onto back stack
o Pop forward stack
o Load popped URL as current document
• Additional Rules
o The system is initialised with a Home page
o A new Window has empty stacks
o Popping an Empty Stack is non-fatal
NB. The aim of the stack is to only allow access to the item at the top of the stack. In other words, a stack is a form of sequential access (NB Arrays allows random or non-sequential access) 3
Implementation
Implement a client interface to support the requirements and demonstrate the principles in full. The best approach to take in order to solve the problem is to use an event based style of programming. Use appropriate form components to represent the components of the browser and a series of JavaScript functions to model the behaviour of the browser. The design must simulate the behaviour of the web client, but not duplicate its performance. Do not, therefore, write code which calls a web page via a URL and inserts the page into part of the loaded document.
Additional Requirements
For those wishing to explore regular expressions, additional credit will be given to implementations which support a full URL string and are able to extract the relevant parts and store/display them appropriately.
For those wishing to explore stacks in more detail, additional credit will be given to implementations which support the data structures made from objects (nodes and links) in the form of linked lists. These structures do not allow non-sequential access to data. It is recommended that this requirement is only attempted once the working standard ‘array based’ implementation has been completed.
Testing
Develop a series of 10 tests to check the accuracy of the model given the requirements and produce an appropriate test plan to support this. These tests can be verified against a suitable series of HTTP clients. Use a standard test grid.
I have already half done this work, so all i will be needing is for you to make sure that it is all working and that its complete.
Thanks a lot
Farhan C.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
0%
Last project
22 Jul 2026
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies