?
Solved

Stand-alone to client/server application

Posted on 2003-10-27
6
Medium Priority
?
246 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
4 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 1000 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 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Loops Section Overview
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month13 days, 15 hours left to enroll

807 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