Solved

Stand-alone to client/server application

Posted on 2003-10-27
6
233 Views
Last Modified: 2010-04-05
I have all ready done stand-alone Accounting Application. Which is easiest way to run (convert) stand-alone as a client/server (or how to run my application on network).
0
Comment
Question by:agim_bekaj
  • 2
6 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 9627511
do you have a database?
if yes, what database?
0
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 250 total points
ID: 9627556
Simple.

There is NO easy way...

It all depends on your network and your experience. It also depends on what kind of data you're going to transfer between client and server.
If you want to maintain the look of the client application similar to the desktop application then you have to choose between DCOM, CORBA, COM+ or SOAP as the easiest solutions. If you just want to access your application through a webbrowser interface then WebSnap and/or SOAP again are good options.

I am a bit more experienced in developing C/S applications and I must say that I do like the way SOAP works. It's quite easy once you understand it's possibilities and limitations. It is a bit between web-development and COM+ development, doesn't require much configuration and since it's a webserver-based technique it uses the security of your webserver. Also, since a SOAP server application can also be used to serve normal webpages, a SOAP application can be prepared to also be available through a webpage. You could, for example, create an ISAPI dll that serves webpages that people can browse while it also has a SOAP extension that you connect to with a client application to, for example, add or delete some of these pages. You could also create a simple forum that users can use from a webbrowser but which you administer through a client application with neat user interface.
SOAP, the best of two worlds I think.

However, it's not easy to begin with if you know nothing about C/S techniques and it does have some limitations...
0
 
LVL 6

Assisted Solution

by:swift99
swift99 earned 250 total points
ID: 9631491
It also depends on the scale ... if you are talking about 10 users or 10,000 users your approaches will be very different.  What performance do you need?

For small scale, it may be as simple as setting up the back end database on a common server and giving people login permissions, provided you have correctly bult your code in the first place.

For large scale and high performance, it is more difficult.

I am in the process of developing a framework for enterprise scale accounting apps in Delphi.  it is not a trivial task, but it is fun.
0
 
LVL 6

Expert Comment

by:swift99
ID: 9631502
My experience is that it is much easier to refactor a client server app for standalone operation than the other way around.  If you build for large scale, then you automatically do things like transaction control, concurrency checking, and so on.  Adding them after the fact is often very painful.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question