Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I started a new project a while ago and recently it got its own site, time to let them Monks know about it and get it properly bashed:

Ashafix—a Postfixadmin port using Mojolicious

I was tired of trying to hack Postfixadmin to implement stuff like per-user transports and ending up wanting to gouge my eyes out at the look of the PHP, so I decided to take one last look and convert it to something more digestible/extensible, adding a bit of security like the CSRF protection Postfixadmin never got due to its nonexistent (in release versions that is, the alpha is a bit further) templating system and some protection against SQL injection through consistent use of prepared statements.

The result is still very alpha but has basic things working. As I suck at HTML design, it looks pretty much exactly like Postfixadmin but uses the Template Toolkit under the hood. It supports only MySQL so far as sprinkling the business logic with database case distinctions as in PFA was something I didn't even want to start; if someone has a good idea on how to abstract away datatype differences such as Postgres' boolean that can be 't' or 'f' vs. MySQL's TINYINT with 0 or !0 short of using DBIx::Class with column inflators, go ahead!

Any other ideas, criticism and patches (code is on GitHub) are welcome too of course!


In reply to Ashafix: Postfixadmin port in Perl/Mojolicious by mbethke

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-20 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found