matt_mods

questions

Apr 30th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. a. Paul can use server side scripting, to store an index of snogs to be played. Client side scripting can be used to store each users playlists, containing there songs, this is used to keep the playlists separate per user. sever side scripting can be used to output the songs. Paul can use server side processing to handle events, passed by the users. Paul will also need a database to log the songs provided by users, as well as a database to hold the songs that are originally available.
  2.  
  3. explain why server side processing would be used to allow the customers to add songs to a playlist? (4 marks)
  4. most-up to date list
  5. work together in real time
  6. reduce duplication
  7. don't need specific software on the client side
  8. pual can manage the process more effectually
  9. reduces the processing load in the users computer
  10.  
  11. b. A selection of songs that Pual has stored and the rules that should be followed when generating a playlist, can be seen in Section 4 of the information Booklet. Devlop an algorithm using pseudicide that meets the rules to generate a playlist. (10 marks)
  12.  
  13. begin
  14. open database connection
  15. time = songlength(i) - 25
  16. if time < then 60s:
  17. minute ++
  18. store songname
  19. store time
  20. store rating
  21. index++
  22.  
  23. if rating = :
  24.  
  25. end
  26.  
  27.  
  28.  
  29.  
  30. pual should use SSL (1)
  31. paul should use a firewall (1)
  32. paul should sanatize his inputs, to stop SQL injection (1)
  33. paul should not use client side scripting for sending payment details, this allows for XSS
  34. paul should store user data in other tables
  35. paul should encrypt the user data (1)
  36. paul should keep the server
Add Comment
Please, Sign In to add comment