5 ms·
The Future of Perl apparently resides on a JavaScript only site. What a weird world.
by mlang23 6y ago
The Future of Perl apparently resides on a JavaScript only site. What a weird world.
- gerikson 6y agoPerl is nothing if not pragmatic.
- mmcclimon 6y agoI work for Fastmail, and helped write Topicbox, the backend of which is entirely written in modern Perl. The frontend obviously uses JavaScript, and talks to the backend using JMAP (RFC 8620), which we helped to develop; Topicbox was using 100% JMAP well before Fastmail itself did.
- bshimmin 6y agoWhy can't the back-end of Topicbox do the JMAP stuff and then serve up some HTML? Beyond "because that's how we built it and it must be thus", it's quite hard to see why the front-end would need so much JavaScript to render nothing more than a chain of emails.
- brongondwana 6y agoIf you're just loading a single page, then yeah - it's pretty useless. If you're spending any time in Topicbox then the benefits of push updates and dynamic preloading pay off, and it's pretty lightweight as Javascript goes. But yeah, in a perfect world where we had infinite time to develop it, we'd have the backend serve up a non-javascript static version of the content in response to direct links - if nothing else because it makes things a lot nicer for search engines - and then the javascript would load in and take over if enabled to allow you to keep moving through the site like usual.
- phillc73 6y ago> and talks to the backend using JMAP (RFC 8620) FastCGI and mod_perl would have been a better choice.
- chrisseaton 6y agoJust because you use Perl doesn't mean you can't use any other languages where appropriate. You don't need to be a zealot about everything.
- mlang23 6y agoBelieve it or not, I am one of these people hurt daily by the modern web. I rely on accessibility to do my daily tasks, and accessibility is the thing that goes away bit by bit from year to year. I used to do Perl for server-side scripting, the classical CGI stuff. I know the war is over. But calling a disabled person a zealot is probably a bit overshooting, dont you think?