Though one of my best friends had explained to me the client/server model it took me years for me to actually digest and finally understand it.
And lately I managed to do my first client/server app using PB/CGI.
Q1
But are there other "cleaner" ways than using CGI? Are there examples? Or recommendation?
Q2
Is it possible to use a database other than sqlite? As that would sure make client/server data exchange much simpler
Client server models
Re: Client server models
hu?
"server" where running cgi is exe or php server or whatever, this server can access ANY database...
what exactly have you do ? and what looking for ?
"server" where running cgi is exe or php server or whatever, this server can access ANY database...
what exactly have you do ? and what looking for ?
Christos
-
- Posts: 229
- Joined: Sat Mar 01, 2014 3:02 pm
Re: Client server models
CGI is the most simple.kingwolf71 wrote: Tue Apr 30, 2024 3:00 pm But are there other "cleaner" ways than using CGI? Are there examples? Or recommendation?
Not really, you can't access the db server directly from the browser so you'd go from:kingwolf71 wrote: Tue Apr 30, 2024 3:00 pm Is it possible to use a database other than sqlite? As that would sure make client/server data exchange much simpler
Browser -> Web Server -> CGI -> SQLite Database
To:
Browser -> Web Server -> CGI -> DB Server -> Database