Free

Can JavaScript be used in server-side validation - Essay Example

Comments (0) Cite this document
Summary
It can be used for client-side validation to primarily reduce the network traffic. However, today, the extension of JavaScript to the server side can be made possible through embedded JavaScript engines (Hanselman and Rader,…
Download full paperFile format: .doc, available for editing
GRAB THE BEST PAPER96.6% of users find it useful
Can JavaScript be used in server-side validation
Read TextPreview

Extract of sample "Can JavaScript be used in server-side validation"

There are many reasons why JavaScript is used today. It can be used for client-side validation to primarily reduce the network traffic. However, today, the extension of JavaScript to the server side can be made possible through embedded JavaScript engines (Hanselman and Rader, 2011, 185). SpiderMonkey and Rhino, both maintained by Mozilla Foundation are known established engines. By linking these engines to the JavaScript it can be evident that a few lines of code can take advantage of optimizing the importance of SQL data in JavaScript, which means that fast processing of information is possible to take place. Furthermore, simplifying the process of consuming XML can also be looked forward to.
However, from the standpoint of security, it is important to say that not all users will have JavaScript enabled. This means that server side validation is important for both compatibility and security reason.
In today’s advancing digital world, everyone wants to be protected against the malicious user. JavaScript however can easily be bypassed by this user and allow him to turn in detrimental input to the server (Hall, Brown and Chaikin, 2007). In this regard, although JavaScript is possible in server-side validation, it is also important that upon its implementation, a remarkable connection to the user will have to be initiated first. Unfortunately, not all users will have their JavaScript enabled.
One should respond correctly to the client who is sending HTTP, which must literally include the concept of validation. This makes sense especially in the context of the entire validation process for security purposes. Thus, it also makes sense to explore further JavaScript and its potential usage in the server-side validation.
References
Evjen, B., Hanselman, S., and Rader, D. (2011) Professional ASP.NET. Hoboken: John Wiley & Sons.
Hall, M., Brown, L., and Chaikin, Y. (2007) Core Servlets and JavaServer Pages, Volume 2: Advanced Technologies. 2nd ed. Boston, MA: Pearson Education. Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Can JavaScript be used in server-side validation Essay”, n.d.)
Can JavaScript be used in server-side validation Essay. Retrieved from https://studentshare.org/information-technology/1650721-can-javascript-be-used-in-server-side-validation
(Can JavaScript Be Used in Server-Side Validation Essay)
Can JavaScript Be Used in Server-Side Validation Essay. https://studentshare.org/information-technology/1650721-can-javascript-be-used-in-server-side-validation.
“Can JavaScript Be Used in Server-Side Validation Essay”, n.d. https://studentshare.org/information-technology/1650721-can-javascript-be-used-in-server-side-validation.
  • Cited: 0 times
Comments (0)
Click to create a comment or rate a document

CHECK THESE SAMPLES OF Can JavaScript be used in server-side validation

DQ: Content Validation Paper

...: Content Validation Do you think that any form of document content validation should be applied to web pages before they are placed in the public domain? That is, some form of assurance that they do not contain completely incorrect information. As opposed to censorship, this could be some form of assurance that someone is not advocating incorrect doses of medicine, or advocating historical events that did not take place... etc. Any do you think some form of automatic checking is viable? Although this may be difficult to achieve, document content validation should be applied to web pages before they are placed in public domain for many reasons. First and foremost is the fact that...
3 Pages(750 words)Essay

Server consolidation

...possible. In the time it takes to install a single legacy server, an entire SuperBlade chassis—can be provisioned. Simplifying server deployment allows developers to focus on strategic initiatives, which means the bank can respond more quickly to business opportunities for its user base. Performance improvements in the form of higher transaction-processing rates have also been documented compared to legacy servers. The SuperBlade can handle one million ex-pression evaluations per second compared to just 120,000 per second on a RISC Unix platform being used by the Bank in its rest of the server...
4 Pages(1000 words)Essay

Javascript

...JavaScript Test plan: We desire to perform verification and validation for the product. Verification is "Are we building the product right”. The software should conform to its specification. Validation is "Are we building the right product”. The software should do what the user really requires. Verification is demonstrating conformance to the specification whereas validation is checking that the system meets the customers needs. Validation is difficult because there are many different stakeholders who may use the system with different needs. Therefore, a system that meets one users needs may not meet the needs of a different user....
6 Pages(1500 words)Essay

JavaScript

... and in such cases, it would be advantageous if the web developer knows other scripting languages or even programming languages that can run on a web browser (e.g. Java). Goodman (2001) enumerates JavaScript’s limitations as follows, which are mostly due to privacy protection: Setting or retrieving the browser’s preferences settings, main window appearance features, action buttons, and printing Launching an application on the client computer Reading or writing files or directories on the client or server computer Capturing live data streams from the server for retransmission Sending secret e-mails from Web site visitors to you JavaScript: Compatibility 7 Other than security concerns, Thau (2000), in his The Book of JavaScript... a number...
4 Pages(1000 words)Essay

Left side right side

...Xiwen Ma Eng 105 Left side and Right side I was born in Chengdu, which is a large in China. However, it is far away from Beijing, the center of political power. Despite this, I grew up in a political family. My father always told me what the party gave to him. We had only one party, “the Communist Party,” so my father said that the party meant the Communist Party. He said if the party did not support us, then we would not have a good life. I always did not want to listen to him, so I moved to the U.S. I always doubted anything that my father said to me when I was a young child. When I came to America, I realized what true freedom and human rights were. I discovered that the political...
6 Pages(1500 words)Essay

Server

...security is extremely essential in any company; the chief information officer should be aware of how to ensure network security. How to secure the network infrastructure There are several ways in which unauthorized users can gain access to the peer-to-peer networks in a company. First, they can access the peer networks by using any of the networked computers to type a unique username as well as password. This can be prevented by making sure that the networked computers cannot be accessed physically. To achieve this, the BIOS security should be enabled; this makes sure that the user sets an access name and password for the computers (Maiwald, 2003). Maiwald (2003)...
2 Pages(500 words)Essay

Validation Guidelines

...this statistical formulation correctly expresses the true co-variation. This validity deals with the quality of the statistical evidence of co-variation such as sources of error, the use of appropriate statistical tools, and bias. Type I and Type II errors are classic violations of this kind of validity. The article by David and Joseph tries to establish a method for investigative the cognitive processes and knowledge structures of expert salespeople. It is a study that focuses on the mental process rather than the overt behavior of sales people. Therefore, the research can be termed as activity-oriented. This is an approach which recognizes that people are goal-seeking,...
2 Pages(500 words)Article

Advantages & Disadvantages of JavaScript

... Advantages & Disadvantages of JavaScript Introduction: JavaScript is a dynamic form of computer language which is used in the purpose of programming. JavaScript has emerged as a leading language that has been used frequently because of its feasibility to target audience. JavaScript had reached a new level of popularity after its adoption from Microsoft as a diverse language for scripting on client side. Due to increment in programming presently, deeper effects of JavaScript has been highlighted regarding its advantages and disadvantages (Quigley, 2004, p. 1). Advantages & Disadvantages of...
2 Pages(500 words)Essay

JavaScript-Same Origin Policy

... that is through writing JavaScript encryptions that inserts and erases into the existing page. The browser, therefore, will instantly load the image, in a way, showing that it had been present in the existing page, and removes it from the display if the image is deleted. Thus, the same origin policy code prevents the JavaScript from directing data to a dissimilar server or from writing a data belonging to a different server (Powers, 2008). Enabling communications with another domain will depend on the use of JSONP, which grounds on a
Contact Us