php
vehiclelogserver
php | vehiclelogserver | |
---|---|---|
7 | 2 | |
63 | 0 | |
- | - | |
5.7 | 10.0 | |
6 months ago | about 6 years ago | |
HTML | Go | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
php
-
What is your favorite programming language?
I thought you might enjoy this, if you haven't seen it already.
- PHP is Prolog implemented in C, compiled to WASM, speaking CGI, executed by a Rust runtime, interpreting PHP-style templates
-
PHP: Prolog Home Page
When I clicked the last commit message was too good. Preserving just in case they are doing rapid releases: https://github.com/guregu/php/commit/65b1e991f473d6ac0dd9de4...
-
The beauty of CGI and simple design
Recently I enjoyed some "retrofuturistic" development with WASM and CGI. Spin[1], a webserver written in Rust, can execute WASI[2] binaries that speak CGI. You can then deploy it to Fermyon Cloud or your own server and it "just works". It's a wonderful mix of old and new. I used it for PHP (Prolog Home Page): https://github.com/guregu/php
[1]: https://spin.fermyon.dev/
[2]: WASI is a POSIX-ish standard for WASM that gives you all the low level stuff like standard input and output. It includes all the bits and pieces needed for CGI to work.
vehiclelogserver
-
The beauty of CGI and simple design
> How do you handle DB connections?
Look at
https://github.com/John-Nagle/vehiclelogserver, which has database connections.
Each FCGI program has a database connection. That database connection persists as long as the program instance is running. So it's not establishing a new database connection for each transaction.
What are some alternatives?
logtalk3 - Logtalk - declarative object-oriented logic programming language
quickserv - Dangerously user-friendly web server for quick prototyping and hackathons
preemptible-thread - How to preempt threads in user space
trealla - A compact, efficient Prolog interpreter written in plain-old C.
Trusted-CGI - Lightweight runner for lambda functions/apps in CGI like mode
ciao - Ciao is a modern Prolog implementation that builds up from a logic-based simple kernel designed to be portable, extensible, and modular.
sozluk-cgi - one of the first versions of ekşi sözlük code as of may 1999
trealla-js - Trealla Prolog for the web
mojo - :sparkles: Mojolicious - Perl real-time web framework
packages-http - The SWI-Prolog HTTP server and client libraries