P5-masonx-webapp

Jul 20, 2023

Works with HTML::Mason to do processing before Mason is invoked

MasonXWebApp works with Mason to let you do processing before Mason is ever invoked. There are a number of things that one might want to do

  • Argument munging

    You might want to make sure all incoming arguments are UTF-8 encoded. Or you might want to create some objects which Mason will see as incoming arguments. For example, a “user_id” parameter could be turned into a user object.

  • Handle requests without Mason

    If you’re not generating output for the browser other than a redirect, then there’s no reason to use Mason. You can use a MasonXWebApp subclass to handle all form submissions, for example.

    This has the added benefit of making it easier to preload this code once during server startup.

  • And others …



Checkout these related ports:
  • Zope213 - Object-based web application platform Version 2.13
  • Zola - Fast static site generator
  • Zgrab2 - Fast Go application scanner
  • Zerowait-httpd - Lightweight and fast http server
  • Zenphoto - Simpler web photo gallery
  • Zend-framework - Framework for developing PHP web applications
  • Yuicompressor - The Yahoo! JavaScript and CSS Compressor
  • Ytdl - YouTube downloader written in Go
  • Yt-dlp - Command-line program for downloading videos from various platforms
  • Youtube_dl - Program for downloading videos from various services
  • Yourls - Your Own URL Shortener
  • You-get - Dumb downloader that scrapes the web
  • Yaws - Web server for dynamic content written in Erlang
  • Yarr - Yet another rss reader
  • Yarn - Package manager for node, alternative to npm (meta port)