On May 13, 2009 7:31am, Krishna <[email protected]> wrote:
> Will V8 be useful in that?.

v8 provides no way to get the parsed JS/HTML results back to the user (in  
fact, v8 doesn't parse HTML at all). What you could do, however, is combine  
v8 with a pure JS toolkit like jQuery (http://jquery.com/). HOWEVER, jquery  
(and similar tools) rely on having a DOM-oriented presentation of the HTML  
- they do not do the HTML parsing themselves. This means they only work in  
browsers which supply the "document" object and all of the related  
functionality. The author of jquery once write a pure-JS implementation of  
the major DOM functionality for use with things like this, but i don't have  
the bookmark to that article on this machine so i can't paste it in for you.

Ah, but google is our friend:

"john resig bringing javascript to the server jquery"

http://ejohn.org/projects/bringing-the-browser-to-the-server/

i haven't tried that code, so i don't know how useful it is, but in  
principal that's what you'd need for what you're looking to do.

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to