Solved

Stand-alone to client/server application

Posted on 2003-10-27
6
231 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
my delphi exe application have  problem with windows explorer ! 12 80
delphi prevent click fast 2 189
Convert GUI app into console app for Win32 Env 5 78
Base1 Encode/Decode 3 67
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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

930 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now