I was wondering if it were possible to stream HAML output to a socket
or a file handle directly without buffering the output?

>From looking at the API, it seems as if I can only receive a fully
formed String as output.  What I'd be looking for is a way to provide
an object that HAML will pass the results of each tag (through << or
something similar), which I could use to progressively send the HTML
to the client rather than buffering it in memory.

If there isn't currently a way to do this, would someone who is
familiar with the HAML code base let me know how difficult it would be
to add? (and if such a patch would be accepted)  If its reasonably
possible, I would gladly supply a patch, but I'm not too familiar with
HAML's internals to know one way or the other.

Thanks,

Dan
(dkubb)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to