Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Webserver on Windows

by packetstormer (Monk)
on Apr 05, 2012 at 12:11 UTC ( [id://963663]=perlquestion: print w/replies, xml ) Need Help??

packetstormer has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,

I have a project that needs to run on various windows platforms where IIS may or may not be installed. Can anyone suggest a lightweight, portable Webserver that I could package up and serve up my Perl web application? I have been looking at Dancer, which is really cool. However, I am unsure (at least I can't get it to work) if I can use ODBC drivers for Sybase/MSSQL, which is a MUST for the procject.

Replies are listed 'Best First'.
Re: Webserver on Windows
by Corion (Patriarch) on Apr 05, 2012 at 12:12 UTC

    Dancer is written in Perl, so it can use all Perl modules, like DBD::ODBC. Also consider looking at Twiggy.

Re: Webserver on Windows
by tobyink (Canon) on Apr 05, 2012 at 18:25 UTC
    Dancer is indeed cool. Shame it's not a web server. Dancer is a web application framework. Maybe look at Starman - not sure if it works on Windows, but can't see why it wouldn't.
    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

      Dancer does have a standalone deployment mode using HTTP::Server::Simple::PSGI

      OP, not sure why you are having issues getting ODBC working, as Corion said there are modules for it. Post your code?

      Anyway, I'm a big fan of Dancer.

      Nope - Starman is Unix only. I've looked at that too.
Re: Webserver on Windows
by Anonymous Monk on Apr 06, 2012 at 00:11 UTC

    dancer comes with a webserver, same as catalyst, mojo .... and you can use all of them with plackup

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://963663]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (9)
As of 2024-04-19 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found