473,378 Members | 1,395 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

client-side versus server-side code in ASP.NET

I guess the principal differences between client-side and server-side code
is that
client-side code is processed in web browser, and server-side code is
processed in web server. In ASP.NET web controls, since it has the attribute
runat="server", so the controls will be processed in web server?? Do you
think
the processing time will be slower than tradiational ASP applications??

I guess the fundamental question is when do we use client-side code? when
do we use server-side code??

please advise!
Thanks!

Nov 17 '05 #1
2 1634
The advantage with server side technology is that you can finely control the
execution environment because you own it. It runs on your servers. The
client is just a window into the results of the execution. This is a good
model because the window (browser and desktop) can be any platform running
on any cpu. You shouldn't be concerned about this window normally.

When you start to execute code on the client you have to start taking all
these things into consideration because depending on the user settings,
desktop environment and cpu, you have to adjust your code.

A prudent mix of the two is normally a good way to go.

regards

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"Matt" <ma*******@hotmail.com> wrote in message
news:u$**************@TK2MSFTNGP11.phx.gbl...
I guess the principal differences between client-side and server-side code
is that
client-side code is processed in web browser, and server-side code is
processed in web server. In ASP.NET web controls, since it has the attribute runat="server", so the controls will be processed in web server?? Do you
think
the processing time will be slower than tradiational ASP applications??

I guess the fundamental question is when do we use client-side code? when
do we use server-side code??

please advise!
Thanks!

Nov 17 '05 #2
Jos
Matt wrote:
I guess the principal differences between client-side and server-side
code is that
client-side code is processed in web browser, and server-side code is
processed in web server. In ASP.NET web controls, since it has the
attribute runat="server", so the controls will be processed in web
server?? Do you think
the processing time will be slower than tradiational ASP
applications??

I guess the fundamental question is when do we use client-side code?
when do we use server-side code??


Server-side is good for
- interfacing to other stuff on the server,
ie databases, mail or news servers, etc
- collaboration among users (forums, bulletin boards, blogs,
surveys, etc...)
- dynamically updating your site - adding "today's headlines" etc.
- keeping your proprietary source code secret

Server-side is bad for
- increasing the load on your server
- introducing security holes (when poorly written).

Client-side is good for
- making individual pages dynamic - image rollovers, form checking,
dropdown menus, processing cookies, etc

Client-side is bad for
- major incompatibilities between browser
object models makes cross-browser coding difficult.
- your source code is open to the public

--

Jos
Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Justin Stockton | last post by:
I recently upgraded from ActivePython 2.2.2 to ActivePython 2.3.2 and I'm running into an issue importing the win32com.client module. Before installing the new version, I made sure to properly...
4
by: Mike D | last post by:
I want to connect to an oracle database from my client pc, OS is win2k or XP. Can I connect to an oracle database without having the full oracle client installed? If so what would be the minimum...
2
by: Rhino | last post by:
I am trying to verify that I correctly understand something I saw in the DB2 Information Center. I am running DB2 Personal Edition V8.2.1 on Windows. I came across the following in the Info...
5
by: Paul H | last post by:
How do you folks get a reliable and complete brief of what is required before development starts? I am forever going back to a client once a project has started saying "Hang on, now that I've...
11
by: pshindle | last post by:
We have several machines currently running the DB2 V7 Run-time Client that we would like to actually be running the App Dev Client. To 'upgrade' (within the same version) this client software can...
2
by: J Huntley Palmer | last post by:
I am having a horrific time integrating uw-imap's c-client for imap support in php. The problem is a whole bunch of "Text relocation remains referenced against symbol" errors during linking....
1
by: WebServiceSecurity | last post by:
The issue involves the following technologies: - 1. .NET 2.0 Framework 2. WSE2.0 (WS-Security) 3. X.509 certificates 4. BEA Weblogic 8.1.5
3
by: rjha94 | last post by:
Hi I just installed the runtime client on my windows machine. when i go inside the SQLLIB\bin folder i can see db2.exe. is it possible to use this db2 bundled with runtime client for command line...
4
MMcCarthy
by: MMcCarthy | last post by:
http://bytes.com/images/howtos/projectscope_blocks.jpgAs a freelance IT consultant for over 10 years, I’ve come to appreciate well defined project scopes. A project scope is a common understanding...
11
by: Bill Davy | last post by:
I am trying to edit Contacts in Outlook. This is so I can transfer numbers from my address book which is an Excel spreadsheet to my mobile phone. I came across the following snippet of code which...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.