1.3.4. Client-Side vs. Server-Side
Client-side Interactivity
Client-Side Interactivity based on (Salvini 2006)- Advantages
- fast reaction time on client-side
- independent of Internet connection
- Disadvantages
- dependent on browser settings (e.g. denying of scripting or different interpretation of scripts)
- limited possibility of file queries
- appropriate only to small data amounts
- difficult content updating
Server-side Interactivity
Server-Side Interactivity based on (Salvini 2006)- Advantages
- independent of client settings
- appropriate to large data amounts
- combination of several servers possible
- session management, database / file queries etc. possible
- easy content updating
- Disadvantages
- slower (each interaction needs contact to the server)
- need connection to the server
- dependent on the Internet
Server-Side Interactivity or Client-Side Interactivity
Dependent on the interactions you want to make it is either better to implement client-side or server-side interactivity:
Server-Side Interactivity
- huge data amount is best stored in a database
- if it is important to have up-to-date data
Client-Side Interactivity
- small data amount
- independent of Internet
- if speed is important