473,609 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question about client-side

MPA
Hi,

I am a newbee. All our applications so far were traditional client-server
database applications. We are considering now writing our main application
with Visual Studio .NET. Basically we want to be able to install each
version of our software on one or two machines without having to meddle with
typically several hundred client computers. We understand that using the new
architecture we write server side code in C# or Visual Basic, but what about
the client side (JavaScript)? Does our client side also reside on the server
and is transmitted, compiled and executed on client machines by the web
browser or do we have to write some applets and install them on client
machines?

Thanks,

Miroslaw
Aug 31 '06 #1
2 1421
Hi,

MPA wrote:
Hi,

I am a newbee. All our applications so far were traditional client-server
database applications. We are considering now writing our main application
with Visual Studio .NET. Basically we want to be able to install each
version of our software on one or two machines without having to meddle with
typically several hundred client computers. We understand that using the new
architecture we write server side code in C# or Visual Basic, but what about
the client side (JavaScript)? Does our client side also reside on the server
and is transmitted, compiled and executed on client machines by the web
browser or do we have to write some applets and install them on client
machines?

Thanks,

Miroslaw
First of all, JavaScript doesn't have applets. You're confusing with
Java. JavaScript is a totally different animal, nothing to do with Java
even though some clever marketing people at Sun tried to make the public
think otherwise. Only the syntax is similar, but not more than C# or C++.

JavaScript can be placed inline in the HTML code, or in external files.
These files reside on the web server and are delivered to the client on
request. You include an external file using this HTML code:

<script type="text/javascript" src="urlOfFile. js"></script>

Inline code is added to the HTML file using this:

<script type="text/javascript">
// code here
</script>

When the HTML page is parsed by the HTML engine, any script section will
be passed to the JavaScript engine, which will parse and interprete it.
Immediate code (i.e. code which has immediate actions, like
document.write or other calls not enclosed in functions) will be
executed sequentially. Finally, when the HTML document is fully parsed,
the onload event handler will be fired, which can be handled by JavaScript.

Typically, modern JavaScript works with events. An action by the user
fires an event which is handled by a script function.

JavaScript is very powerful, but can also be confusing for a
"traditiona l" programmer. For example, JavaScript variables are not
typed. A variable can contain a string one moment, and a number the
next. Also, JavaScript is very dynamic. Functions can be added to
classes during runtime, or variables to objects, etc... I strongly
recommend to specify guidelines if you use JavaScript for anything else
than your personal webpage (and even then...)

ASP.NET has a few nice features allowing each control on a page to add
scripts to the page. Check the Page.ClientScri pt property for example.

I could write much more about JavaScript (a truly fascinating language),
but I think I'd better stop now and let you read that. Feel free to ask
more if you need.

BTW, you should also check comp.lang.javas cript for JavaScript related
questions.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Aug 31 '06 #2
Miroslaw,

Regular client side code arrives to the client browser ready to use. No
special installation is required. If you want to achieve some special
functionality, for example, scanning documents on client machine or advanced
image features like zooming and panning, you will likely want to deploy 3rd
party ActiveX components. They also arrive to client from your site, but the
user will have to take some actions to install them. Sometimes the user will
need to customize his/her browser security setting to allow your code to
run.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"MPA" <mi*********@pf .plwrote in message
news:Oi******** ******@TK2MSFTN GP04.phx.gbl...
Hi,

I am a newbee. All our applications so far were traditional client-server
database applications. We are considering now writing our main application
with Visual Studio .NET. Basically we want to be able to install each
version of our software on one or two machines without having to meddle
with
typically several hundred client computers. We understand that using the
new
architecture we write server side code in C# or Visual Basic, but what
about
the client side (JavaScript)? Does our client side also reside on the
server
and is transmitted, compiled and executed on client machines by the web
browser or do we have to write some applets and install them on client
machines?

Thanks,

Miroslaw


Aug 31 '06 #3

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

Similar topics

6
381
by: Tim | last post by:
Hello everyone. I visit this board pretty regularly but have never posted. My question is an application architecture question... so hopefully it's okay to post in the dotnet general forum. I have this project I'm proposing but want to get some opinions on a good architecture. Some of the requirements are as follows: 1. 30+ tables and 25+ lookup tables 2. Small number of records added monthly (<100) 3. Fairly complex, PCU-intensive...
7
3356
by: CT | last post by:
Hi, This might seem like a basic question but I have some doubts, please humour me. I have a client-server application using java where each client on each machine needs to directly communicate directly with the database. Do I need a separate db2 connect on each such machine. Please advice.
6
2111
by: rodchar | last post by:
Hey all, I'm trying to understand Master/Detail concepts in VB.NET. If I do a data adapter fill for both customer and orders from Northwind where should that dataset live? What client is responsible for instantiating the orders class? Would it be the ui layer or the master class in the business layer? thanks,
1
1544
by: Brian Henry | last post by:
Hello, I was tring to learn socket's (being i never used them before) and have a simple question. I want to create a listner that will get any data recieved and print it out. I've been able to get it to recieve only one line of data, but the next one i send to it wont be printed like the 1st one. I had a listner running in a thread, does anyone have a simple listner code example that would show how to have a tcplistner thread running...
29
3560
by: MP | last post by:
Greets, context: vb6/ado/.mdb/jet 4.0 (no access)/sql beginning learner, first database, planning stages (I think the underlying question here is whether to normalize or not to normalize this one data field - but i'm not sure) :-) Background info:
1
1335
by: Frank Millman | last post by:
Hi all I am developing a multi-user business/accounting application. It is coming along nicely :-), though rather slowly :-( I have hit an issue which will require a lot of changes to the code I have written so far, together with an increase in complexity and all the bad things that follow from that. Before I go ahead and make the changes, I thought I would bounce it off the group and see if there is a simpler approach.
10
2091
by: Robert | last post by:
I am an attorney in a non-profit organization and a self-taught programmer. I'm trying to create a client db that will allow me to search for potential conflicts of interest based either on Social Security # or on Last Name. I've created two different tables with the following fields in each table: ClientInfo Client# (primary key) First Name Middle Name Last Name
4
3598
by: Engineerik | last post by:
I am trying to create a socket server which will listen for connections from multiple clients and call subroutines in a Fortran DLL and pass the results back to the client. The asynchronous socket client and asynchronous socket server example code provided in the .NET framework developers guide is a great start but I have not dealt with sockets before and I am struggling with something. From what I can tell the sample server code ...
1
1126
by: Peter Duniho | last post by:
I have run into a design question that I don't have strong feelings about one way or the other, so I'm curious what the OOP gurus think about it. :) A recent post led me to suggest using a state graph, which got me to wanting to fiddle with a state graph implementation in .NET. So far, so good. I even have some very simple code that solves his problem (or perhaps only part of it...he wasn't really specific as to what his requirements...
3
1177
by: CeJay | last post by:
Hi All Ok this is a bit of a doozy for me. Work related question, I have been tasked with sorting out this issue at work, but don't really have much background in this field, but theres no one else in my team that can do it. Bit of a background on the problem. At work we have a server and a client machine, They are both running on Windows Server 2000. They both have on them proprietry software for the client which uses MSSQL. Late last...
0
8067
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8567
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8527
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8215
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4015
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2529
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.