Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Ashafix: Postfixadmin port in Perl/Mojolicious

by mbethke (Hermit)
on May 18, 2012 at 15:55 UTC ( #971334=CUFP: 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!

Comment on Ashafix: Postfixadmin port in Perl/Mojolicious
Re: Ashafix: Postfixadmin port in Perl/Mojolicious
by marcus (Scribe) on Jun 22, 2012 at 11:55 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://971334]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-07-29 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls