Hi Vic,

Am Freitag, den 19.11.2010, 10:43 +0800 schrieb Vicary Archangel: 
> I am an ActionScript developer and was intensively work under AMF against
> PHP and Java, but I have particularly interest in SSJS.
> 
> I am new to apache communities and the Sling project. While I can found no
> where but this mail list to ask questions, I'd put it here.

Welcome !

You have reached the right place to ask questions on using Sling.

> 
> The question is how does Sling handle streaming? And can it send binary data
> directly with pure JavaScript but not template things?

Do you want to know whether Sling is able to just provide raw files like
any regular Web Server like Apache httpd ?

Yes, Sling can do that. In fact we recently added support for the
If-Range and Range headers to the Sling get servlet helping with
streaming of Multi-media content.

> 
> In fact I'm seeking the possibility to implement an AMF-HTTP channel in the
> future.

Of course you can also implement a Servlet (or even a script in a
language like Groovy or JavaScript [I think this is your main interest,
right ?] or whatever comes with support for Java Scripting API) to
generate the content to send to the client, which may well be some AMF
serialization.

So, just come back when further questions arise -- and of course if you
want to contribute, you are welcome, too ;-)

Regards
Felix

> 
> If I have gone wrong place, please direct me to where I can ask this
> question. =]
> Thanks a lot.
> 
> cheers,
> Vic.


Reply via email to