php
mojo
php | mojo | |
---|---|---|
7 | 51 | |
63 | 2,657 | |
- | 0.5% | |
5.7 | 7.9 | |
6 months ago | 6 days ago | |
HTML | Perl | |
MIT License | Artistic License 2.0 |
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.
mojo
- Mojolicious
-
CSS in Perl
Initial thoughts
-
Perl 5.38 Released
If you end up doing web development, check out Mojolicious:
https://mojolicious.org/
-
How can I host a perl based website on a vps?
If you choose to go down the Mojolicious road, there's lots of deployment information and guides in the Mojolicious Cookbook.
-
Mojo may be the biggest programming language advance in decades
I guess this will make it harder to search for Mojo(licious)-related stuff. 😩
-
Getting the result/reject values from a Mojo::Promise using async subs
But if I want the return value of 'test_p' or the error message 'This is an error', I can't seem to figure that out. I tried looking at the promise tests (https://github.com/mojolicious/mojo/blob/main/t/mojo/promise.t) but that didn't seem to work either.
-
Choose boring tools
Several! The 3 big players in order of release are Catalyst, (released in 2005), Dancer2 (Dancer was first released in 2009, but went through a complete re-write as Dancer2 around 2013), and Mojolicious (released in 2010).
-
Guidance on Building a Web Application in Perl
This project sounds to me like the perfect excuse to learn Mojolicious if you're interested in converting your scripts into a web application using Perl.
-
i3mojo -- an i3status replacement in Perl
Awesome! I still use Perl on a pretty regular basis both for work and fun. I really enjoy it. Definitely take a look at Mojolicious if you haven't already. It's primarily focused on being a web framework (both server and client), but it's nicely modular so you can use bits and pieces of the stack. In i3mojo, I used the Mojo::IOLoop event loop, Mojo::Base as a base class system, and Mojo::UserAgent as a web client for some plugins.
-
The beauty of CGI and simple design
Last time I used Perl for anything web it was via https://mojolicious.org/
It even does event-based and websockets
What are some alternatives?
logtalk3 - Logtalk - declarative object-oriented logic programming language
Flask - The Python micro framework for building web applications.
quickserv - Dangerously user-friendly web server for quick prototyping and hackathons
go - The Go programming language
trealla - A compact, efficient Prolog interpreter written in plain-old C.
node - Node.js JavaScript runtime ✨🐢🚀✨
ciao - Ciao is a modern Prolog implementation that builds up from a logic-based simple kernel designed to be portable, extensible, and modular.
Django - The Web framework for perfectionists with deadlines.
trealla-js - Trealla Prolog for the web
LANraragi - Web application for archival and reading of manga/doujinshi. Lightweight and Docker-ready for NAS/servers.
packages-http - The SWI-Prolog HTTP server and client libraries
Express - Fast, unopinionated, minimalist web framework for node.