Home     |      Learn AJAX     |      Forum     |      Register     |      Submit Resource     |      Submit Article      |      Contact Us

Home AJAX-Tips
 

Fine Tuning Server Side Code

 

When a developer talks about Ajax, JavaScript and any other functions related to the programming language, the client side is always considered. The client side interaction, the functions that will work without needing extra push from the server and the general behavior of the functions in specific browser is often discussed in the client side. This is highly expected since the client side of any programming language is very susceptible to attacks and incompatibilities.


JavaScript is often challenged with new form of attacks and browser incompatibilities is still a perennial problem for many developers especially those starting in JavaScript.


The Role of Server Side


But the talk about the client side often leaves out the other half of the application - the server side. In JavaScript, server side aids the client side application by providing the needed data. The client side is practically communicating with the server so that the user's needed data will always be available.


Because the role of the server side in an Ajax or JavaScript based application, this part of developing the application is often left out. After all, the server side only holds the data and everything else will be taken cared by the client side.


On the other hand, using the server-side as the data source without additional functions may open up some security problems in the client side application. You can easily implement security protocols in the client side but consider this fact: the server-side is a totally different source of information and there is always a required function before the client side gets the information needed.


The security protocols implemented in the client side has to go through another function before it can be implemented in the client side. This extra function for security could be exploited and be used to monitor the transaction between the client and the server.


Even though there is a security problem, the inherent role of the server side should be able to protect the data provided by developers and the users of the application. Server-side is not just any cloud computing component of the application. It is also rooted in a hardware where extra security features could be implemented. Developers who will invest in placing security features in their hardware will significantly increase their security protocols since the security implemented is not tied up with the application.


Optimizing the server side is heavily influenced by the security measures you apply in the application and the hardware components. The security measures through coding is implemented in the client side and the server side is protected by its code.


Since it's not efficient enough as attacks can utilize the functions that connects the server and the client side, developers can then turn to the hardware components of the server for security. Servers that can come equipped with powerful encryption firmware can help securing the application. This might require extra resources in terms of funds in developing a highly efficient and secured application but it's a worthy trade-off.



Read Next: Working with Cookies



 

 

Comments



Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links