Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Web App Resource/Asset Bundler ?

by renodino (Curate)
on Nov 06, 2007 at 18:05 UTC ( #649296=note: print w/replies, xml ) Need Help??

in reply to Re: Web App Resource/Asset Bundler ?
in thread Web App Resource/Asset Bundler ?

I'm trying to simplify deployment for standalone web apps, ie, browser based GUI apps. Instead of running under Apache or somesuch, a web app would include its own web server module (eg, HTTP::Server::Simple, HTTP::Daemon, HTTP::Daemon::Threaded, etc.). Assuming the app might eventually be packaged into an exe (via PAR, perl2exe, etc.), or even installed as a std. Perl package, it would be nice to have all the assets handled in the "Perlish" way, wo/ the hassle of trying to figure out the directory structure where the assets reside.

So if the assets are all rolled into Perl modules, the app can just introspect to get datetime info, and roll HTTP headers as appropriate, doing any decoding/decompressing as needed.

Perl Contrarian & SQL fanboy

Replies are listed 'Best First'.
Re^3: Web App Resource/Asset Bundler ?
by perrin (Chancellor) on Nov 06, 2007 at 20:41 UTC
    I think it would be a lot easier to package the whole thing as a tarball or other installer package and use relative paths in your scripts.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://649296]
[choroba]: Perlingo
[Discipulus]: Perl In Go?
[erix]: hm comfortable french cars..
[Discipulus]: congrats choroba!
Discipulus shutdown and logoff seem untrappable by Perl on win. But it is in Cygwin. but i cannot switch to it

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-01-17 09:33 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (154 votes). Check out past polls.