A Few Closing Notes

This application combines elements from every chapter of this book. If you've understood everything here, you can consider yourself well versed in JavaScript lore. However, before closing, I have two final issues to raise about the application: how to decide whether code should run in the client side versus the server side, and considerations about the security of the application.

Client-Side or Server-Side Code?

Most of the code in this application was written in JavaScript and therefore appeared on the client side. I designed the application this way because this is The Book of JavaScript, not The Book of PHP (which may be in the works).

Nevertheless, some of the code would have been better placed on the server side. For example, ...

Get The Book of JavaScript, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.