Server Side Code and Client Side Code
-
Hi Guys, Which method is best for an application means doing code in Server side or Client Side ? For instance if I'm going to Bind a Grid view which is best Server side http://www.aspdotnet-suresh.com/2014/07/bind-aspnet-gridview-with-datatable-in-csharp-dynamically.html[^] Client Side http://www.aspdotnet-suresh.com/2012/03/bind-data-to-gridview-with-jquery-or.html[^] :confused:
நெஞ்சு பொறுக்கு திலையே-இந்த நிலைகெட்ட மனிதரை நினைந்துவிட்டால்
-
Hi Guys, Which method is best for an application means doing code in Server side or Client Side ? For instance if I'm going to Bind a Grid view which is best Server side http://www.aspdotnet-suresh.com/2014/07/bind-aspnet-gridview-with-datatable-in-csharp-dynamically.html[^] Client Side http://www.aspdotnet-suresh.com/2012/03/bind-data-to-gridview-with-jquery-or.html[^] :confused:
நெஞ்சு பொறுக்கு திலையே-இந்த நிலைகெட்ட மனிதரை நினைந்துவிட்டால்
I you have any Security level project/task than always use Server Side code... but if no need to security than always use Client side because it's more faster than Server side... :)
-
Hi Guys, Which method is best for an application means doing code in Server side or Client Side ? For instance if I'm going to Bind a Grid view which is best Server side http://www.aspdotnet-suresh.com/2014/07/bind-aspnet-gridview-with-datatable-in-csharp-dynamically.html[^] Client Side http://www.aspdotnet-suresh.com/2012/03/bind-data-to-gridview-with-jquery-or.html[^] :confused:
நெஞ்சு பொறுக்கு திலையே-இந்த நிலைகெட்ட மனிதரை நினைந்துவிட்டால்
It is a classic question for the answer - it depends... Of course it has nothing to do with security - the data always coming from the server and always displayed on the client, so you have no problem to check security before it got displayed... What you actually have to see is the requirements of your system, see what the units of the data and how those units are related to actions made in the system...For instance: is your data for display only, or you are going to edit it. Are you going to display a single page of data (small amount) or we are talking about a huge amount of it (paging)... So it is not a question to answer as there is no one-size-for-all answer, but you have to analyze and design the system at hand...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.