Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
cgi_programming [2023/01/31 23:47] – fix indents on list peteyboy | cgi_programming [2023/01/31 23:50] – added line on Mojolicious peteyboy |
---|
* Use //CGI::Tiny//, a non-framework modern replacement for standalone perl CGI: [[https://metacpan.org/pod/CGI::Alternatives#BUT-I-DON'T-WANT-TO-USE-A-FRAMEWORK | Perl CGI But I Don't Want to Use a Framework]]. You can easily install in your user perl library, and it works great! Mojo Templates are installed on both the SDF cluster and on the metaarray, and CGI::Tiny works with (safe) templates to prevent XSS, plus [[https://metacpan.org/dist/CGI-Tiny/view/lib/CGI/Tiny/Cookbook.pod#Templating | it works with other template engines]] which the docs have examples for. | * Use //CGI::Tiny//, a non-framework modern replacement for standalone perl CGI: [[https://metacpan.org/pod/CGI::Alternatives#BUT-I-DON'T-WANT-TO-USE-A-FRAMEWORK | Perl CGI But I Don't Want to Use a Framework]]. You can easily install in your user perl library, and it works great! Mojo Templates are installed on both the SDF cluster and on the metaarray, and CGI::Tiny works with (safe) templates to prevent XSS, plus [[https://metacpan.org/dist/CGI-Tiny/view/lib/CGI/Tiny/Cookbook.pod#Templating | it works with other template engines]] which the docs have examples for. |
* Use [[https://metacpan.org/pod/CGI::Alternatives#Plack-As-A-Run-On-Demand-CGI-Script| Plack]], it can be set up in your SDF space and run as CGI even though it's designed around a web framework and its own webservers. | * Use [[https://metacpan.org/pod/CGI::Alternatives#Plack-As-A-Run-On-Demand-CGI-Script| Plack]], it can be set up in your SDF space and run as CGI even though it's designed around a web framework and its own webservers. |
| * Mojolicious and Mojolicious Lite are well-known Perl CGI frameworks, but at presentl do not work on SDF. |
| |