Re: New PHP project from scratch, PDO or psycopg?

Lawrence D’Oliveiro <[email protected]> Tue, 24 Feb 2026 20:29:03 -0000 (UTC)
Newsgroups comp.lang.php,comp.lang.python
Organization A noiseless patient Spider
Message-ID <[email protected]>
On Tue, 24 Feb 2026 15:39:36 +0100, J.O. Aho wrote:

> Sure you could have been able to write everything in one or the
> other language (python can do both frontend and backend, as you can
> do with php too even less common), but I doubt you have the power to
> decide this.

You could make the case to your PHP-loving PHBs to write the whole
thing in Python on the basis that it is a more sophisticated language,
with built-in support for async/await, advanced libraries for
convenient access to WebSocket functionality etc.

And it doesn’t need to run as a module in a web server.