Josue,
 
WEBSERVER
PWS has its own licensing regarding distribution-- contact Microsof for details. If I were doing this, I would use Apache for Win32 provided this isn't running in production on the Internet i.e., a demo running from a CDROM. Of course, you may want to Google for web servers written entirely in Perl. That would offer the option to write a Win32 service and could be spawned from an Win32 executable launched by the customer (not to small memory footprint and/or integration with other parts of your application in Perl).
 
MySQL licensing is GPL-- see www.mysql.com for details. I would definitely consider using DBI or even better ODBC. You might install the ODBC driver during in your setup executable.
 
The web site itself is definitely doable in HTML/JavaScript/Perl. Unless, I do not understand completely what you're trying to accomplish your "executable" would launching all needed services, configuration, etc... but the web site would be in Perl (or PerlScript).
 
Another idea that would exclude the need to run a web server at all but would depend on your requirements too, of course, would be to write a Perl Win32 application that used OLE to automate the web browser or write HTML/JavaScript however I have not found a way to execute JavaScript function via automation (OLE) yet!  So, I am using PerlScript for the client-side scripting language and launching my Perl Win32 application from the web page so I can pass the browser object back. Of course, something like this requires that you install ActivePerl (and necessary modueles)-- so that PerlScript can pass objects back and forth to the Perl Win32 application. That is why Perl Win32 + OLE executing JavaScript would be ideal because I could build and distribute an executable to do everything.
 
Maybe someone who knows will read this and explain. Anyways, I hope my experienced gave you some direction or ideas.
 
<michael/>
----- Original Message -----
Sent: Wednesday, April 10, 2002 10:35 PM
Subject: Building a Program from HTML/Perl

Hi: I have a situation...
I'm designing a complete program in HTML/Javascript/Perl/MySQL. This use PWS (Personal Web Server). Can I disttribute this in a standaralone version with PerlApp? Think about a Portal in the Web. Can I transform all this in a exe file? What is the correct programming tool for do this work? Can Visual Perl do this?
Thank for any comments...

Reply via email to