Today I made progress on making a self-contained distribution of the Titanium web framework.
The goal is to have a single archive file you can unpack and have a complete web framework to work with-- no more CPAN dependencies to install! You can play with it on your desktop or laptop with the built-in web server, and upload a directory to your web server when you read to go live.
After I patched the great local::lib module, I can now use this simple command to create a "Titanium" directory, into which Titanium and all of it's non-core dependencies will be installed.
perl -MCPAN -Mlocal::lib=--self-contained,Titanium -e 'install Titanium'
The next step is to hopefully eliminate required dependencies on XS code. The following modules need to be address:
Params::Validate should be easy to handle, since it has a Pure Perl alternative. I haven't decided now to deal with the other two yet.
I can post an archive of what I have so far if it's of interest. The XS modules above are compiled for 'i486-linux-gnu-thread-multi'.
<pokes around >
Yes, Params::Validate was easy enough to take care of. For the other two, I may just handle them with documentation:
"If you want to use fill_form()" method, you may need to install the "HTML::Parser" module, which requires access to a C compiler".
"Likewise, if you want to use Test::WWW::Mechanize, you may need to install Compress::Zlib, which requires also requires access to a C-compiler"