Data access via internet connection

Data access via internet connection

Postby Jeff Barnes » Fri Aug 08, 2008 11:09 pm

Hi Everybody,

I am looking into creating a new application where I will need to access a dbf file that is stored on the internet.

My idea is to have each user download/install my program then when they run the program it connects to a dbf file on the internet.

There will be many users and different locations and the dbf file will be always growing.

What is the best way to do this (and hopefully at a low cost) with FWH ?

Please note that I would like to stick with dbf files for now.
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Postby quique » Sat Aug 09, 2008 1:57 am

I don't test it, but perhaps leto db can serve to you.

Other options are to use a web server, xbscript of xharbour (I'm don't shure if it's free or of xharbour.com) and ftp://ftp.quiquesoft.com/webserv.zip (it's free) boot use xbase code, or you can use php or asp too (I don't shure that asp support dbf). You would do a web client and work doing requests to web server.

Other option is you do a program like server and other like cliente. With fivewin you can use tsocket class and review how work the webserver and webclient of fivewin or smtp for you work in internet, or with xharbour review tip (it's a tools set to work in internet) or review xharbour\samples\sitesvr, it's a good sample of how to make a web server, and with this you can learn how to work in internet, I do some thinks and I'm based in it last.
Saludos
Quique
User avatar
quique
 
Posts: 408
Joined: Sun Aug 13, 2006 5:38 am

Postby xProgrammer » Sat Aug 09, 2008 11:01 am

Hi Jeff

Just the other day I had a little play with FiveWin (well actually FiveLinux) and xHarbour and socket programming. Haven't done very much but enough to demonstrate an xHarbour server servicing xHarbour clients. I passed data across the connection in xml form. If you want to stick with xBase files and FiveWin at both ends that would seem to be quite feasible, provided you can provide adequate security.

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

Postby Antonio Linares » Sun Aug 10, 2008 11:52 am

Jeff,

Do you plan to use a Microsoft web server or a Linux web server (Apache) ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Jeff Barnes » Tue Aug 12, 2008 2:06 am

Hi Antonio,

I will be using a webserver called Xerver running under Windows Vista.
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Natter, Silvio.Falconi and 78 guests