Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
more useful options
 
PerlMonks  

Re: web-based application or desktop application?

by b10m (Vicar)
on Dec 05, 2003 at 11:14 UTC ( #312479=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: web-based application or desktop application?
in thread web-based application or desktop application?

Why would you want that, and what do you want to accomplish with that? This can already be achieved by a simple Perl CGI script, PHP, or -oh, let's throw this back in- Server Side Includes, if I understand your point (what I probably don't do)...

--
B10m


Comment on Re: web-based application or desktop application?
Re: Re: web-based application or desktop application?
by EvdB (Deacon) on Dec 05, 2003 at 11:30 UTC
    If you take a typical web-shop page, such as say http://thinkgeek.com the whole page is standard issue - the same for every customer. All, that is, for the little bit in the top right which says "Loot: Your cart is empty.".

    It would be great to save the whole page statically to the server and then only have to generate that tiny little bit from the CGI. This would allow some really heavy processing to be applied to each page, such as category generation and related products, safe in the knowledge that it need only be done when te database changes, not for each request.

    It also would allow the page to be cached by proxies and would allow you to slurp small amounts of data from other sites - stuff that is currently done using images - such as hit counters.

    Just because you have not felt the need for it does not mean that it is not desirable...

    UPDATE: This could be made into a mod_perl filter is suppose - that is a thought...

    --tidiness is the memory loss of environmental mnemonics

      I think you want to check out SSI then:
      The decision of when to use SSI, and when to have your page entirely generated by some program, is usually a matter of how much of the page is static, and how much needs to be recalculated every time the page is served. SSI is a great way to add small pieces of information, such as the current time. But if a majority of your page is being generated at the time that it is served, you need to look for some other solution.
      Or even some JavaScript might do *shrug*
      "Just because you have not felt the need for it does not mean that it is not desirable..."
      Oh most certainly not :) If the case was wheter I felt a need for something to allow something's existence, the world'd be pretty boring :)

      --
      B10m

      It's called Mason :) Ciao, Valerio

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://312479]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-04-17 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (439 votes), past polls