Page 1 of 1

Client server models

Posted: Tue Apr 30, 2024 3:00 pm
by kingwolf71
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

Re: Client server models

Posted: Wed May 01, 2024 3:57 pm
by plouf
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 ?

Re: Client server models

Posted: Thu May 02, 2024 2:44 pm
by the.weavster
kingwolf71 wrote: Tue Apr 30, 2024 3:00 pm But are there other "cleaner" ways than using CGI? Are there examples? Or recommendation?
CGI is the most simple.
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
Not really, you can't access the db server directly from the browser so you'd go from:
Browser -> Web Server -> CGI -> SQLite Database
To:
Browser -> Web Server -> CGI -> DB Server -> Database