Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-06-2012, 08:45 AM
vishualsoft vishualsoft is offline
Senior Member
 
Join Date: Jan 2010
Location: Bangalore, India
Posts: 244
Question Desktop Application For Centralized Database Server...

Hi Dear All,

I am planning to create a library related desktop application, for which there would be a single database kept at one place and this application would be installed at different places more over in different cities.

Here, my doubt is Using Delphi 5, is it possible for all the instances of this application which are installed at different cities could access one centralized database ? If yes then HOW ?

If anybody is having any other ideas kindly feel free to share it. Because I have familier to only desktop application development, that is the reason I am asking how these different instances of an application could access only one centralized database ?

So, all the screens and coding would be done using Delphi 5, moreover it would be a desktop application only the difference would be database access would be from different places.


Thanks In Advance.


With Best Regards.

Vishal
__________________
"Hardwork always pays."

"Confidence never comes if we have all the answers
but it comes only when we are ready for all the questions."

The man who removes a mountain begins by carrying away small stones. - William Faulkner

Last edited by vishualsoft; 09-06-2012 at 11:08 AM.
Reply With Quote
  #2  
Old 09-06-2012, 10:00 AM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 6,699
Default

Several ways possible:

- Direct TCP connection to for example MSSQL using sql server authentication. Components in delphi would be ADO. There are some security issues if you publish
- DataSnap, never worked with it though
- WebServices, not sure if that's even available in D5
Reply With Quote
  #3  
Old 09-06-2012, 11:06 AM
vishualsoft vishualsoft is offline
Senior Member
 
Join Date: Jan 2010
Location: Bangalore, India
Posts: 244
Smile

Hi Norrit ,

Thank you for the reply. I got some confidance in your reply, could you pl make in detail for "Direct TCP connection" option. I would like to know more about it. If possible pl mention in detail.

You mentioned about "WebServices" also, exactly what it is ?, is there any link to refer it. If possible pl explain.



If I would have to make a network connection between clients and server, that splits to two questions.
  1. How to find server
  2. How to connect to it
Thank You Once Again.




With Best Regards.

Vishal
__________________
"Hardwork always pays."

"Confidence never comes if we have all the answers
but it comes only when we are ready for all the questions."

The man who removes a mountain begins by carrying away small stones. - William Faulkner

Last edited by vishualsoft; 09-06-2012 at 11:10 AM.
Reply With Quote
  #4  
Old 09-06-2012, 05:58 PM
Donovan Donovan is offline
Senior Member
 
Join Date: Jan 2011
Posts: 150
Send a message via Skype™ to Donovan
Default

I think web services would be your best best.

Give these articles a read before you decide though

http://delphi.about.com/od/webservic...ith_Delphi.htm
Reply With Quote
  #5  
Old 09-06-2012, 10:32 PM
Marsheng Marsheng is offline
Senior Member
 
Join Date: Nov 2008
Posts: 205
Default

I've just done the exercise with Club membership.

I've used Wamp - Windows SQl server for the database
HTML Code:
http://www.wampserver.com/en/
and Devart's SQL components to access the data.
HTML Code:
http://www.devart.com/mydac/
It has taken a while to get it all going but it is a good solution.

Basically my local Delphi app access the database via the web.

Let me know if you want further help.
Reply With Quote
  #6  
Old 09-07-2012, 05:36 AM
vishualsoft vishualsoft is offline
Senior Member
 
Join Date: Jan 2010
Location: Bangalore, India
Posts: 244
Smile

Hi Marsheng, Donovan,


Thanks alot for the reply.

Marsheng, I have one doubt, if I would like to go for the Firebird database, as it is a free database available, how these component would help in that case ?


Donovan, I would come back to you if I get any doubts.



Thank You Once Again And With Best Regards.

Vishal
__________________
"Hardwork always pays."

"Confidence never comes if we have all the answers
but it comes only when we are ready for all the questions."

The man who removes a mountain begins by carrying away small stones. - William Faulkner
Reply With Quote
  #7  
Old 09-07-2012, 11:23 AM
Marsheng Marsheng is offline
Senior Member
 
Join Date: Nov 2008
Posts: 205
Default

MYSQL is free
Devart components are $150 from memory.

Cheers Wallace
Reply With Quote
  #8  
Old 09-07-2012, 11:27 AM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 6,699
Default

MSSQL is also free (Express installation), ADO components are default
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 12:42 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.