Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / July 2004

Tip: Looking for answers? Try searching our database.

VS .net (Windows vs. Web Application)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tmaora - 07 Jul 2004 06:12 GMT
Hi All,

I want to develop a Sales Order System which would be
operated from distant sites. Which approach (Windows/Web)
should I adopt in VS to develop the system? I have
concerned about speed & performance?

regards
Cowboy \(Gregory A. Beamer\) [MVP] - 07 Jul 2004 16:01 GMT
Either is workable. The benefit of a desktop is the client's ability to
churn numbers and not employ the server. The benefit of a web is having all
of the code in one place. There are compromise systems, using web services
for business and/or data layer and a desktop and/or web app for the UI.

In speed and perf, which are really the same thing when you think about it,
downloading everything to the client is fastest. But, you have the issue
with data getting out of sync. A connected app, across a wire, can be
costly, in terms of connection cost, esp. if lines go down.

For me, a web app is useful, as it only consumes data when using it. You do
have to worry about programming in concurrency, but that can happen with a
remote desktop app, unless full-time connected. You have to weigh the
different costs.

Signature

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************

> Hi All,
>
[quoted text clipped - 4 lines]
>
> regards
Lau Lei Cheong - 08 Jul 2004 03:33 GMT
I'll add more points to consider.

One of the obvious point is, you gain flexability in writing Windows
applications.
In web applications, you won't get results displayed unless the work process
is finished and return from server.(Though there are techniques to
workaround this) So the user will not have idea for what's going on in
transfer. For example, if the line drops suddenly during transfer the user
have to wait until timeout and get a somewhat blurred message of unable to
display a web page.

Another point is that the user will not get updated information unless the
page is refreshed. It's not uncommon that a salesperson will first check the
stock, then talk some time with the customer to persuade them to buy, and
finally have the product sold. For web application it's easy for the product
to be sold out when ordered if the stock is low and the business is large.
(Though there's still ways to get around this.)

A third point is for receipt/invoice printing(this point is much important
for POS system(I include the point here because I don't have the idea
whether your sales order system is like a POS one or not.) It's difficult
for a web application to control the precise printout, page break and page
cutting(for POS printer) while all of these can be done relatively easily on
standard windows application.

One point Cowboy have forgotten to mention is stability. In Win2k/XP it
doesn't easy for normal web application to crash a workstation, but a small
mistake in windows application causes freeze is quite common. Even if
exceptions occurs in web application it's very easy to centralise the
logfile for debug, while local application is more likely to be forced
shutdown by the system before errorlog is generated.

When a debugged version is release a web programmer only need to replace the
version on the web server while a standard application programmer should
tell their clients to download it themselves, and expecting continue to
receive the error report for next few days/months. This is considerable
difference in terms of system administration.

I'll consider the point made by Cowboy regarding connected application not
very important as with standard windows application, you still have the
choice of using a temporary database and update between time intervals.

To conclude, the choice of using both techniques have their Pros and Cons,
but the performance is more dependent on how you implement it. So it's just
as what Cowboy said at the beginning - both will do.

"Cowboy (Gregory A. Beamer) [MVP]" <NoSpamMgbworld@comcast.netNoSpamM> ?b?l
?? news:%23pJHvQDZEHA.644@tk2msftngp13.phx.gbl ?????g...
> Either is workable. The benefit of a desktop is the client's ability to
> churn numbers and not employ the server. The benefit of a web is having all
[quoted text clipped - 19 lines]
> >
> > regards

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.