Creating a simple chat application using #perl #mojolicious framework. Shows both the front and the back end.
In short, it's dead easy.
@ajaxStardust It wasn’t a cinch. I don’t work with #JavaScript daily and I’ve never used #Mojolicious’ JS version. And the last time I wrote anything for #NodeJS in anger was 2019.
#javascript #mojolicious #nodejs
@danjac I still have a couple of SPA’s to manage that are about 9-10 years old. Written in #CoffeeScript 1 (not too bad) and #BackboneJS with a #Perl #Mojolicious backend.
Getting to run the JS dev stuff and keeping it up to date, or rather working with a newer Node version is challenging. Looking back it being a SPA doesn’t do much for 85% of these apps. I should’ve used some #jQuery instead for the interactive parts. That way I could’ve moved to #htmx without any issue.
#coffeescript #backbonejs #perl #mojolicious #jquery #htmx
this is such a great idea!! I know soo many people who are on what'sapp etc just for the family and of course nothing keeps you to use it for friends, roommates, study groups, swinger circle, party, knitting club, book club... 🎉
https://fosstodon.org/@ology/110680649401031311
ology - So I've been recreating my 30 year old "Family Site" as a #perl #mojolicious app with an #sqlite backend [...]
So I've been recreating my 30 year old "Family Site" as a #perl #mojolicious app with an #sqlite backend. It needs some TLC before it can be a fully "production ready" app. But it works! If anyone has a family that might like a private place to share, msg me. 🙂
Whew. Ok now I can manage my #Moog settings with https://metacpan.org/dist/Synth-Config + https://github.com/ology/Synth-Config/blob/main/eg/mojo-ui.pl = #Perl + #Mojolicious
I've uploaded a new version of Mojolicious::Plugin::Text::Minify to #CPAN https://metacpan.org/release/RRWO/Mojolicious-Plugin-Text-Minify-v0.2.4
This is a #Perl #Mojo #Mojolicious plugin that minifies whitespace from HTML documents on the fly.
This change updates the documentation and signs the distribution.
#cpan #perl #mojo #mojolicious
@vandys @randomgeek @codinghorror As a #Perl hacker I will never besmirch #CGI as a standard or for light-use web scripts, but a lot of sins were committed with the two.
These days the done thing is to use #PSGI and a framework like #Mojolicious or #Dancer2 in a persistent app server. You don’t have to write nearly as much code, either. https://plackperl.org
The #Plack middleware can even run your code as a CGI or #FastCGI script if you reallly want.
#perl #cgi #psgi #mojolicious #dancer2 #plack #fastcgi
Removing a session in Mojolicious https://github.polettix.it/ETOOBUSY/2023/04/22/mojolicious-removing-session/ #mojolicious #web
Cloudflare caching https://github.polettix.it/ETOOBUSY/2023/04/16/cloudflare-caching/ #cloudflare #web #mojolicious
Crap. Stayed up late because I was thinking up a solution for a dynamic HTML form (think query builder with ‘unlimited’ layering AND/OR statements) with using plain HTML and server side rendering (#mojolicious) sprinkled with some #htmx. Think I found a pretty neat solution. Now to figure out the rendering by parsing the data structure.
Happy with my progress so far but getting to sleep now with my brain in overdrive is likely to be challenging.
@oalders I posted about #PrettyGoodPing to #HackerNews and #ProductHunt. I hope that’s OK.
https://news.ycombinator.com/item?id=35444292
https://www.producthunt.com/products/prettygoodping
#Perl #Mojolicious #webdev #SoftwareDevelopment #SaaS #security #infosec #cybersecurity #SSL #TLS #certificates @mojolicious
#prettygoodping #hackernews #producthunt #perl #mojolicious #webdev #softwaredevelopment #saas #security #infosec #cybersecurity #ssl #tls #certificates
I've sent email to the #mojolicious #slackbuild maintainer to see if I can poke him into updating it to the most recent. I'd like to get the Minion & Minion-backend-sqlite slackbuild into the repo!
Buzzing along with #Perlurl (i've almost reached 0.30!) and still have a long way to go. A tiny bit stuck because my favorite linux distro's build system doesn't have a recent enough version of #Mojolicious to go forward in an 'official' way and I don't want to make it too retrograde, since the newer Mojo/Minion stuff is just too nice.
I honestly always install via #CPAN myself, but if I were going to make a docker/whatever on #Slackware I'd want #slackbuilds for everything.
#perlurl #mojolicious #cpan #slackware #slackbuilds
Hmmm. Maybe I should take the next step and create a #perl #mojolicious interface, so that my drummer is an easier to use app with #midi play & download buttons. It is after all the weekend... 🤔 😅
Learning Reactive/Bootstrap by hacking this together. Looks great on a tablet, which is how I'll probably primarily use this... I should finish by end of day.
Not bad for not knowing perl/Reactive or Mojolicious...
Always making my tools/writings useful at the table!
#hexdescribe #ttrpg #dmtools #perl #reactive #mojolicious
Add a base URL to xlinx https://github.polettix.it/ETOOBUSY/2023/02/05/base-in-xlinx/ #perl #mojolicious #web #client
#perl #mojolicious #web #client
@ibboard @darkhunter @kagan I favor the @mojolicious framework. Here’s a complete #Perl #Mojolicious web application from https://mojolicious.org :
```
use Mojolicious::Lite;
get '/' => {text => 'I ♥ Mojolicious!'};
app->start;
```
Mojolicious has also been ported to #TypeScript for #JavaScript-based #WebDevelopment: https://mojojs.org
#perl #mojolicious #typescript #javascript #webdevelopment #programming #coding #webdev #softwaredevelopment #perl5
KnowTee - easy notifications https://github.polettix.it/ETOOBUSY/2023/01/22/knowtee/ #perl #mojolicious #telegram
Like I said, this stack of #perl, #Mojolicious, #MySQL, #CoffeeScript, #BackboneJS and #Bootstrap has served me well this past decade. I've got several business critical webapps running in it.
The backend stays. The frontend gets replaced by mostly plain #HTML with #htmx and #TailwindCSS. This makes development a lot faster: less context switching as most of it is done inside HTML templates. Added but very nice bonus: less complicated and error prone build pipeline!
END
#perl #mojolicious #mysql #coffeescript #backbonejs #bootstrap #html #htmx #tailwindcss