Client-server computing or networking is a distributed application architecture that partitions tasks or work loads between service providers (servers) and service requesters, called clients. Often clients and servers operate over a computer network on separate hardware. A client requests a server's content or service function. Reference Wikipedia.
Client side programming facilitates user customisation of the interaction between the client and the server which delivers the service or data.
The exercise for this session required the creation of a client side program to help users access a desired link from the BBC Web Site according to:
* whether the user is interested in news or sport
* whether 'news users' are in england, northern ireland, scotland or wales
* whether 'sport users' are interested in cycling, golf, football or tennis
While developing the program the development and testing facility at TryIt was used along with the descriptions and examples of Javascript given at w3schools.com. The development order followed the structure of the problem and the eventual program: 1) user selections input 2)processing the decisions 3) outputting the required link. The development was full of iterative changes and tests followed by modifications to correct program behaviour.
Once the basic functions were completed futher work was done to exclude and report erroneous input. Finally the program was tested using a variety of test cases chosen to cover all control flow boundary conditions (The art of software testing By Glenford J. Myers, Tom Badgett, Todd M. Thomas, Corey Sandler) including valid and invalid inputs with the aim of finding errors.
This link takes you to my JAVASCRIPT coded webpage: Select BBC Weblink
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment