Re: Multipart response support

On 28. mar. 2007, at 11.23, Luka Kladaric wrote:

> easy preloading at the cost of difficult setup... if you're talking
> PHP, it's complex output buffering and voodoo... if you're talking
> plain HTML then it's just a pain to edit with plaintext editors

I agree that this is impractical in manually authored web pages.

When it comes to web applications driven by PHP and other types of  
server side infrastructure, however, this is (or can be made) quite  
straight forward, at least for modestly sized attachments. There are  
already a lot of applications out there that use these techniques to  
send emails with attachments. No voodoo here.

There is certainly room for improvements in function libraries etc.  
but most of these are quite easily to implement. In PHP, for  
instance, it should be pretty straight forward to implement a  
function that inserts attachments, alongside the header() and  
setcookie() functions.

> security through obscurity, anyone?

This is no more obscure than attachements in emails and images in  
Word documents. Actually it corresponds more closely to what most  
people think is happening.

> average users don't look at scripts and stylesheets,
> advanced users will get them anyway.

It will represent a significant barrier though. Obtaining hidden code  
etc. simply won't be worth while in many situations. The same goes  
for images and other types of media.

--
Henrik

Received on Wednesday, 28 March 2007 10:38:05 UTC