Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Webserver on Windows

by packetstormer (Monk)
on Apr 05, 2012 at 12:11 UTC ( #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.

Comment on Webserver on Windows
Re: Webserver on Windows
by Corion (Pope) 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 (Abbot) 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'
      Nope - Starman is Unix only. I've looked at that too.

      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.

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
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? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2015-07-07 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (91 votes), past polls