Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick
brad

Conclusion

After doing a lot of research and playing around, I think I've decided to use mod_perl for the middleware layer (the protocol handler) and use PHP for the web crap... and just write some PHP functions that'll interface with the middleware. Sure, it'll be an extra socket open (currently the Perl code in BML calls the protocol handler directly) but I have to do it eventually when the middleware runs on its own heavy-duty box (dual P3-933, shitload of memory) and there's a farm of stupid web servers (not yet, but later). Yeah, the more I think about this the more I like it. I'll probably abstract the protocol handler while I'm at it and make it return a tree internally to a output engine that can format the response as XML (for XML-RPC, or people doing XSL), or the current "log.cgi" text file output format.
Tags: perl, tech
Subscribe

  • Ukraine

    Nobody reads my LiveJournal anymore, but thank you to everybody in Russia protesting Putin's insane war against Ukraine. (I know it's risky…

  • Happy Birthday!

    Happy 20th Birthday, LiveJournal! 🐐🎂🎉

  • hi

    Posting from the iPhone app. Maybe I'm unblocked now.

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 4 comments