I really apologize to the esteemed professor Eugene Lutsenko, because this topic interested me,
but it seems that his first question (first post), and especially his second question (answer given to Roger)
I couldn't understand well.
The following confuses me:
- programming in Xbase ++ and eXpress ++ in file system mode, without the use of a database server
is what is known and what is the default Xbase ++ mode
- Xbase ++ and sXpress ++ a program or application written for such work uses a windowsow file
system and can work in a LAN using mapped disks (as DOS used to do)
- In order for such an application to work under an ADS server (whether it is a remote ADS server or local
ADS server or ALS server) only a certain number of lines of code should be added to it at the start of the application,
which it connects to the ADS server. Also, the application should contain the ADSDBE database engine.
After that, everything in the application works flawlessly and it works through the ADS server (Advantage Database
server) or ALS (Advantage Local Server).
- So, there is no need to change or add anything further in the existing default Xbase ++ application to
the same application worked with ADS / ALS server. Therefore, everything that Professor Lustenko stated after
points in response to Roger's post will work without any problems.
- As for the remote ADS server, it cannot be used without prior installation on the computer in which
is a DBF / NTX or DBF / CDX database whether it is a remote computer server connected to
a large number of client computers, whether it is just one local computer running Xbase ++
the application runs under an ADS server. The ADS server cannot be used online in internet.
There is a version for that of this server called AIS (Advantage Internet Server).
- Local ALS server can be used without ADS server and is intended for use instead of ADS server.
The ADS server (currently owned by SAP) costs around 900 EUR
The ALS server is free and consists of only two files: adsloc32.dll (1,851 Kb) and adsloc.cfg
The ALS server works identically to the ADS server, but runs over the TCPIP protocol and can support up to 5
computers on the network. The ALS server behaves and works as an integral part of Xbase ++.
If with runtime Xbase ++ applications deliver and file adsloc32.dll, then you have ready to work ALS server.
Since 2002, I have been making business and bookkeeping applications using ALS and ADS servers. That are
applications that run locally (without ALS and ADS servers) when ALS and ADS servers are not present (or
when present but excluded). When ALS and ADS servers are present and turned on, the same applications
access DBF / NTX and DBF / CDX databases through these servers. He worked out this technique especially well
Roger Donnay in numerous examples of his DBESYS.PRG files.
I used a simple ON / OFF switch
When the application starts, it first checks if there is a file on the disk called: ADS
- if the ADS file exists in DBESYS.PRG, ADSDBE and FOXDBE or ADSDBE and DBFDBE are activated.
- if the ADS file does not exist in DBESYS.PRG, FOXDBE or DBFDBE is activated (default)
Everything else in the application works without any changes in either case
CONCLUSION
For that reason, the questions and answers to those questions in previous posts are unclear to me.
I probably didn't understand something well - probably due to inadequate translation, so please
Professor Lutsenko to clarify the issue.
P.S.
In recent years, I have tested working with a remote ADS server where a DBF / NTX database is installed
on a computer server in the company, and a remote ADS server is installed in the same computer server,
as well as a business application that uses a database via a remote ADS server. Clients respectively
users of the application access the application via the Internet via the WINDOWS REMOTE DESKTOP SERVICE
WINDOWS RDP. This proved to be an extraordinary solution. Access is fast, data manipulation
are fast and real-time. The client user must have only Windows 7 or 10 on their computer
and Web Browser.
There is no installation of the program by the user and replacement of the program with new versions.
Everything this is done only on the server computer. Data archiving is done on the server, and can be done
and on client computers. In other words, there is no need to think about web applications, if
you have a ready-made application in Xbase ++ and you want it to work over the Internet.
Note: In this case, the computer server must be a real server machine and the operating system
it must contain WINDOWS SERVER 2012, 2016 or 2019.
See examples at:
www.cobasystems.com
You can find and download it in any package of my programs that are on
www.cobasystems.com
ALS server and complete client engine ACE32.DLL for remote ADS server version: 10.10.00.49
files:
ADS.INI // ADS/ALS configure
ace32.dll // ADS remote client
ace32.lib
axcws32.dll
aicu32.dll
ansi.chr
extend.chr
adsloc32.dll // ALS Advantage Local Server
adslocal.cfg
I am also enclosing an excellent program here:
TServerXMLHTTPRequest.prg
(Pablo Botela by ot4xb.dll)
which can only be found on the internet if you are a gifted detective,
and on German forums those who used it had no desire to give it away.
The program is an integral part of the ot4xb.dll library
and is used to send XML and JSON files to WEB services (now this is a trend)