Hypnotoad ? Required

21 views
Skip to first unread message

bs.machine...@gmail.com

unread,
Nov 26, 2020, 1:55:36 PM11/26/20
to Mojolicious
Not sure I have this right.
Is hypnotoad required to use mobolicious, or can I use Apache?

Scott H

unread,
Nov 26, 2020, 2:07:01 PM11/26/20
to mojol...@googlegroups.com

On Thu, Nov 26, 2020 at 11:55 AM bs.machine...@gmail.com <bs.machine...@gmail.com> wrote:
Not sure I have this right.
Is hypnotoad required to use mobolicious, or can I use Apache?

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/e10c82c3-20a3-4452-82f1-d28f54427ebfn%40googlegroups.com.

bs.machine...@gmail.com

unread,
Nov 26, 2020, 3:31:07 PM11/26/20
to Mojolicious
So Hypnotoad or Apache mod_proxy seem like preferred setup or Elzar for Windows

I guess I'll go down the hypnotoad path and see where it takes me
Thanks

Scott H

unread,
Nov 26, 2020, 4:37:25 PM11/26/20
to mojol...@googlegroups.com
i believe you can use fast cgi, look at the plack section. there is also a apache plack mod in metacpan that you could use...


bs.machine...@gmail.com

unread,
Nov 26, 2020, 6:04:10 PM11/26/20
to Mojolicious
I read the plack section. Websockets is something I think I'll be using so I discounted it, as the notes indicated Websockets is not supported...

The app I'm working on has a web page for receipt and updates of inventory on the whse side, on the inventory status side, salespeople, clients etc
will see real time updates of items, item quantities and item locations in their web view.
I figured on using a postgresql db, and a stored proc with a trigger to throw the receipt transactions into a queue which the Websocket server side can
update the web client.
Been a long time since I've played with web stuff, but on the desktop, it's pretty easy.
Thanks a lot for the suggestions, feel free to advise anytime.
Bret

Dan Book

unread,
Nov 26, 2020, 6:09:24 PM11/26/20
to mojol...@googlegroups.com
Note that prefork servers including hypnotoad are not supported on windows (and the benefit of hypnotoad over the standard server is only hot deployment, which also doesn't work on windows). You will just want to use a regular single process daemon, which the cookbook also covers, and you can proxy to it from apache in the same way, just make sure to set production mode since the servers other than hypnotoad default to development mode.

-Dan

Reply all
Reply to author
Forward
0 new messages