ADS or similar products

ADS or similar products

Postby MarcoBoschi » Thu Feb 24, 2011 1:53 pm

Hi,
I'm looking for a product that permits to me modify a program written by me from the
typical file/server to client/server architecture.
I'm looking for a low cost solution.
Client pc are connected to server through several vpn.
Any advice?

Best regards

marco
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: ADS or similar products

Postby anserkk » Fri Feb 25, 2011 4:09 am

I'm looking for a low cost solution.

How about MySQL as your database ?

Regards
Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: ADS or similar products

Postby MarcoBoschi » Sun Feb 27, 2011 6:12 pm

Anser,
please show me some links to read informations
Many thanks
marco
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: ADS or similar products

Postby Ruben Fernandez » Mon Feb 28, 2011 1:27 pm

Marco:
The solutions are
ADS, tDolphing (MySql, de Daniel), Eagle1 (MySql,de Manu), and Apollo.
Nobody speak about Apollo and I don't know why.
http://www.vistasoftware.com/apollo_server.asp

Sorry for my bad English

Regards
Ruben Fernandez
Gracias y Saludos
Ruben Fernandez - Uruguay
FWH 11.06, Harbour, Borland 5.82
Ruben Fernandez
 
Posts: 366
Joined: Wed Aug 30, 2006 5:25 pm
Location: Uruguay

Re: ADS or similar products

Postby Armando » Tue Mar 01, 2011 12:17 am

Marco:

Just my five cents, ADO as another one option.

http://sqlcmd.blogspot.com/

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3217
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: ADS or similar products

Postby xProgrammer » Tue Mar 01, 2011 2:55 am

Hi Marco

You can actually do client server with [x}Harbour code alone. It doesn't give you all the features you may get with an SQL based product but it is very fast and easy to understand.

I did exactly that when faced with the exact same situation that you seem to be facing. I used IP sockets as my transport layer and arrays serialized using HB_Serialize() and HB_Deserialize() to wrap up query details and returned data and error codes.

Some other nice features of this approach are:

you can use existing tables unaltered
if your code is OO you can directly update object properties
it is a cross platform solution ( clients and servers can be run on any OS that supports [x}Harbour and its TIP library.

This isn't the solution for everyone but if you are interested I can provide you with some working code. When I wrote this I took the opportunity to restructure how my queries worked (so that they are now basically parameterized objects) but that isn't necessary.

If you have a relatively large number of clients you may need to implement threads - I may do that at some point inn the future - currently I effectively have a series of servers (on the one physical PC) listening on different ports and different clients use different ports (read form a local config file). It arguably isn't the prettiest way but it is very effective and reliable.

Regards
Doug

PS I originally coded this in xHarbour but then switched to Harbour but it will work in either.
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Re: ADS or similar products

Postby Randal » Tue Mar 01, 2011 10:19 pm

Doug:

I'd like to see some working code if you don't mind.

Thanks,
Randal

xProgrammer wrote:Hi Marco

You can actually do client server with [x}Harbour code alone. It doesn't give you all the features you may get with an SQL based product but it is very fast and easy to understand.

I did exactly that when faced with the exact same situation that you seem to be facing. I used IP sockets as my transport layer and arrays serialized using HB_Serialize() and HB_Deserialize() to wrap up query details and returned data and error codes.

Some other nice features of this approach are:

you can use existing tables unaltered
if your code is OO you can directly update object properties
it is a cross platform solution ( clients and servers can be run on any OS that supports [x}Harbour and its TIP library.

This isn't the solution for everyone but if you are interested I can provide you with some working code. When I wrote this I took the opportunity to restructure how my queries worked (so that they are now basically parameterized objects) but that isn't necessary.

If you have a relatively large number of clients you may need to implement threads - I may do that at some point inn the future - currently I effectively have a series of servers (on the one physical PC) listening on different ports and different clients use different ports (read form a local config file). It arguably isn't the prettiest way but it is very effective and reliable.

Regards
Doug

PS I originally coded this in xHarbour but then switched to Harbour but it will work in either.
Randal
 
Posts: 260
Joined: Mon Oct 24, 2005 8:04 pm

Re: ADS or similar products

Postby MarcoBoschi » Wed Mar 02, 2011 8:28 am

Thanks guys
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: ADS or similar products

Postby xProgrammer » Wed Mar 02, 2011 11:25 am

Hi Randal, Marco

Bear with me for a day or two and I'll post my solution. It's late at night and I have to get Mum out of hospital and settled back home tomorrow after her fall.

Regards
Doug
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Re: ADS or similar products

Postby Enrico Maria Giordano » Wed Mar 02, 2011 2:25 pm

My best wishes for a fast recovery to your Mum.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8711
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: ADS or similar products

Postby Massimo Linossi » Thu Mar 03, 2011 7:09 am

Enrico Maria Giordano wrote:My best wishes for a fast recovery to your Mum.

EMG


Me too
User avatar
Massimo Linossi
 
Posts: 498
Joined: Mon Oct 17, 2005 10:38 am
Location: Italy

Re: ADS or similar products

Postby MarcoBoschi » Thu Mar 03, 2011 9:56 am

>Marco:
>Nobody speak about Apollo and I don't know why.

>Ruben Fernandez

Do you think is the right product for a Fivewin/xHarbour programmer?
Where can I find some pieces of code to better understand the problem?
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: ADS or similar products

Postby xProgrammer » Thu Mar 03, 2011 10:27 am

Hi Enrico, Massimo

Thanks for your kind thoughts. Mum is now home and so far coping quite well. Will post code tomorrow time permitting. It probably needs some explanation with it. Like so many projects it grew out of a simple "proof of concept" but as the project has dvelkoped the simple beginning is probably hard to see.

Regards
Doug
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Re: ADS or similar products

Postby carlos vargas » Thu Mar 03, 2011 3:46 pm

I think Apollo should be a good option as it currently sells for $ 149.00, one-stop shopping for multiple implementations. ADS is much more expensive and only for a specific client.
currently only has an RDD xHarbour developed, but I think only for the local version and not client / server, harbour began to develop the RDD but does not go far

**sorry traslate with google**

salu2
carlos vargas
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1720
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: ADS or similar products

Postby Ruben Fernandez » Thu Mar 03, 2011 4:49 pm

Marco:
I don't know if it's the right choice, but it's cheaper than other and I think it's esasy.
There's no code and. I dont't know If FWH could go well together.
Very Sorry for my bad English.

Best regards
Ruben Fernandez
Gracias y Saludos
Ruben Fernandez - Uruguay
FWH 11.06, Harbour, Borland 5.82
Ruben Fernandez
 
Posts: 366
Joined: Wed Aug 30, 2006 5:25 pm
Location: Uruguay

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 100 guests