hi Dmitry!

 Wouldn't it be great it someone came up with a general solution for this...
some kind of logical class from which you could inherit and implement the
necessary methods. 

 There was an interesting thread about this problem with Mason. I'm sure it's 
come up before with ASP. The mod_perl guide has a great section on it.. so
what's missing for a mod_perl handler? what would it take to make a general 
solution... Well a general framework. Is that even possible?

 Just Curious,
        Aaron

> (Joshua, promise to let me know when you get tired of my "ideas" and I'll 
> stop :-)
> 
> >No, this wouldn't make sense for most scripts which will
> >contain dynamic parts.
> 
> What about a situation when the content is been dynamically generated from 
> a source that doesn't change often, but in an unpredictable fashion (e.g. a 
> guest book or such)?  I realize that it impossible for ASP itself to know 
> when the actual source has been changed, but it should be able to make an 
> educated guess with some help from the author.
> 
> My original thought was to have a way to define file dependencies for an 
> .asp file.  If any of these files has an mtime greater then 
> 'If-Modified-Since,' then the .asp file gets processed, otherwise, the 
> client gets NOT_MODIFIED.  Then I realized that the datasource may not 
> necessarily be a file.  The data could be coming from a database, from 
> another web server, etc., so a more general mtime discovery mechanism would 
> be needed.  (perhaps a callback into the script?)
> 
> Any thoughts?
> 
> Regards
> Dmitry

Reply via email to