The modern Internet is no longer static. It is made up of any number of Web 2.0 applications such as consumer reviews, wikis, social media and more that allow Web users to generate their own content. However, as you might imagine, so much user input often requires some form of validation. Granted, you probably do not need to validate a Facebook comment, but you do need to validate the user's login information so that he or she can make that comment in the first place. Moreover, with the wealth of sensitive information (personal banking, corporate trade secrets, etc.) now circulating the Web, security via input validation is all the more paramount. Even seemingly innocuous accounts (such as Facebook) are troves of personal information that need protecting.
Thankfully, there are several ways to bolster such security and validate inputs on both the client side of a browser and the server side of the Web server. In the case of the former, JavaScript is a great tool, but for the latter, PHP might be a better choice. Nevertheless, this brings up the question as to when validation should be carried out on the client or server side. For this Discussion, consider such situations and make recommendations that could guide a Web developer on when he or she should validate input on the client side or the server side.
The document should be 600-700 words, though you will be marked based on the quality of your writing, not on the number of words. No plagiarism and at least 6 or 7 references in Haward style.