Client side code vs service side code?

Posted by Allemahesh under ASP.NET on 3/20/2014 | Points: 10 | Views : 1113 | Status : [Member] [MVP] | Replies : 2
For the performance point of view, what is main different between server side code and client side code.
One of my friend is saying that client side code will cause performance issue as compared to client side code.
Is this true? Which one will cause the performance issue?
He is saying that client side code will load every time.
Can any one help me to clear this?




Responses

Posted by: A2H on: 3/20/2014 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi,
AFAIK Client side code like Javascript and all wont create Performance issues and it will be much faster in performance when comparing with server side code.
Simple Ex:
You can select a checkbox from ClientSide(using javascript) and ServerSide(using C#).If you take a look at both, selecting the checkbox on clientside will be faster compare to serverside.

You can find a excellent discussion on the link given below
http://programmers.stackexchange.com/questions/171203/what-are-the-difference-between-server-side-and-client-side-programming

Thanks,
A2H
My Blog

Allemahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 3/20/2014 [Member] [MVP] Silver | Points: 25

Up
0
Down
Dear A2H, I am not taking about controls, I am taking about code. Hope you understand.
Also, what you say about "Client side code will load every time. So Client side code will cause performance?".
Any idea about this?


Allemahesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response