On Tue, 31 Aug 2004, franki wrote: > What I'd like to see, is a complete package containing everything a web > application could need, session management, password validation, > templating, something like validateRM and so on, all in stand alone > package that can be included with my scripts and added to @INC with > "use lib".
I think you can achive something like this using the PAR http://par.perl.org/ framework. Then you can have a single file to upload that contains your framework + your own code. but it has a price ... AFAIK it need a newer version of Perl or you need to turn everything into an executable. > In another mailing list, I've had a minor arguement with Randal Schwartz > about this, he is off the opinion that the users should be told to get a > real host, and any that can't live with that can essentially go to hell. > Which is a fair enough opinion, but one that takes money from my > pocket and puts it into someone elses. One of the things I find most > ironic, is that in this respect, Perl has gone backwards since perl4, > where anyone could just require cgi-lib.pl type libraries into scripts > and just run with it. Now we need to install half a dozen modules and > such to get the same functionality (It is getting better now that most > of the modules needed are now core, but not every host runs 5.6 or > above.). Perl seems to be going back to it's beginnings, as a Sys > admins tool, or a tool for the root user. That eliminates much of the > target audience and is why PHP gets so much more press then Perl. Like > I said, an elitist attitude is great, until it costs you money, then it > isn't worth it anymore. (before someone tells me that you can install > modules as a user, I am aware of that, but I hate talking unexperianced > users though that process, and they don't always have shell access. (in > fact they usually don't.) Not all hosts run mainframes with thousands of > Linux/unix images that they can hand out to clients. When you are writing PHP, will it work on PHP2 or early versions of PHP3 or do you tell your clients that their hosting company needs to have PHP4 ? If you are using PHP3 then I guess you are missing out on a great deal of improvement in the language. The same happens if you want to make sure your code will run or hosts with old versions of perl. It can be done but you might waste a lot of time that would amount to a lot more money than going to a "real" host. You have to decide this. Going back to solving your issue, I think having a zipped version of all the CPAN modules you use and uploading them to the host server would be a good solution. Just as others have already mentioned. Would it be interesting for you to have a PAR version of all these modules? Gabor --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
