Solved

Stand-alone to client/server application

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert Jpg /PNG To GIF 5 138
code issue 8 132
Why can't I create any project with my delphi EXE file? 6 26
Sending files from  idTcpServer Socket to idTcpClient 2 40
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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 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