4 ms·
Example: You are building an editable list. The client insert and delete items from the list, which is then synchronized with the database. Now you need the HTM
by jules 15y ago
Example: You are building an editable list. The client insert and delete items from the list, which is then synchronized with the database. Now you need the HTML generating code on both the client and the server.
Another example: validation. You want to validate on the client for responsiveness, but on the server for integrity.
- Flenser 15y agoExample: You are building an editable list. The client insert and delete items from the list, which is then synchronized with the database. Now you need the HTML generating code on both the client and the server. Being able to reuse content generating code can be especially useful when you don't realise that you will need it on both the client and server when you write it, or you have to move it from one to the other.