for my culture

for my culture

Postby damianodec » Fri Mar 08, 2013 7:26 pm

Hi,
what kind of database used for your FWH application (DBF,SQL, ADS...) ?
how many users are connected to the database (about) ?
thank to all
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 422
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: for my culture

Postby damianodec » Sat Mar 09, 2013 3:17 pm

Nobody helps me?
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 422
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: for my culture

Postby Rick Lipkin » Sat Mar 09, 2013 4:57 pm

damianodec

There is no good answer to your question .. Things to consider for the type of database to use depends on your audience and their infrastructure.

My personal opinion is this :

1) .dbf\cdx is great for local applications to be run on a single computer or shared on a network for a small group of people. If your audience grows to multiple locations over a wide area network Advantage Database server would be the next logical step.

My personal favorite is to use ADO to be able to manipulate Sql Client\Server databases such as Ms Access, MS Sql Server, Oracle, etc. Generally you code once and only change the 'connection string' for the different RDMS. As a bonus Microsoft gives you the ADO connectivity client for Ms Access and MS Sql Server on every Desktop from WinXP thru Windows 8... Oracle, dB2 and MySql will need clients to be loaded on each desktop running your application. I chose to use Ms Access and Ms Sql Server.

Here is a good write up on how ADO works with FiveWin :
http://wiki.fivetechsoft.com/doku.php?i ... uffs&s=ado

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: for my culture

Postby Rimantas » Sat Mar 09, 2013 5:12 pm

Rick Lipkin wrote:My personal favorite is to use ADO to be able to manipulate Sql Client\Server databases such as Ms Access, MS Sql Server, Oracle, etc. Generally you code once and only change the 'connection string' for the different RDMS. As a bonus Microsoft gives you the ADO connectivity client for Ms Access and MS Sql Server on every Desktop from WinXP thru Windows 8... Oracle, dB2 and MySql will need clients to be loaded on each desktop running your application. I chose to use Ms Access and Ms Sql Server.

Rick Lipkin


Not so true , Rick ... :) . Simply MySql , with which I'm working , only needs connection string . Native lib works perfect and with a good speed in Harbour + Fwh app. Also I'm using the same MySql database from Internet ( JavaScript + PhP app ) . So need only did all work in client server ( install Wamp and install mine Harbour + Fwh app ) and all enterprise local network clients can work with mine program . Also through Internet too . Nothing requires for clients PC . Only create desktop link from server to Harbour app or save Internet address as Favorite in browser ... :)
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: for my culture

Postby Rick Lipkin » Sat Mar 09, 2013 5:13 pm

Rimantas

Thank you for your correction ..

Rick
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: for my culture

Postby damianodec » Sat Mar 09, 2013 7:36 pm

Thanks,
So, do you think that FWH & mysql is a very good choice?
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 422
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: for my culture

Postby Rick Lipkin » Sat Mar 09, 2013 8:49 pm

damianodec

There is nothing wrong with MySql+Fwh .. many successful friends here use MySql and Daniel Garcia-Gil's TDolphan Library

http://tdolphin.blogspot.com/

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: for my culture

Postby ADutheil » Sat Mar 09, 2013 9:47 pm

I followed the MySQL path an never looked back. TDolphin helps a lot.
Regards,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: for my culture

Postby Daniel Garcia-Gil » Sun Mar 10, 2013 12:04 am

Hello

if you plan is use more than one database engine (postgres, oracle, mysql server, etc), the best way is ADO, the big difference between ADO and Mysql API (used by TDolphin) with Mysql API you dont need install any ODBC client, not need create DSN, only need a dll and link a library
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: for my culture

Postby MarcoBoschi » Mon Mar 11, 2013 4:18 pm

LAN
DBFCDX
twenty users
an average of 50,000 records modified every day
about a hundred touched tables every day in about 900 tables
bye
User avatar
MarcoBoschi
 
Posts: 1066
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: for my culture

Postby damianodec » Mon Mar 11, 2013 5:20 pm

ciao Marco,
in una LAN con tre sedi distaccate pensi sia una buona scelta?
grazie per l'eventuale risposta.
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 422
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 81 guests