Client server models

Just starting out? Need help? Post your questions and find answers here.
kingwolf71
Posts: 30
Joined: Wed May 01, 2019 10:14 am

Client server models

Post 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
plouf
Posts: 295
Joined: Tue Feb 25, 2014 6:01 pm
Location: Athens,Greece

Re: Client server models

Post 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 ?
Christos
the.weavster
Posts: 229
Joined: Sat Mar 01, 2014 3:02 pm

Re: Client server models

Post 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
Post Reply