Web Science/Part1: Foundations of the web/Dynamic Web Content/Basics of server side web programming/quiz

Da Wikiversità, l'apprendimento libero.

1 Why is server side programming useful?

Generate dynamic content (like pulling content from databases and put them to HTML templates)
React to HTTP headers
Allow for personalization (recommender engines)
Enable features like search

2 What should be kept in mind when doing server side programming

Web servers should communicate with the databases in a synchronous way creating blocking I/O to increase the consistency of the web application
The programs and scripts on the server should be running in a few milliseconds
The more complex your scripts the easier your web servers are a target for a denial of service attack
Web servers should support cross side scripting