Search   Feed   Browse   Add
Feed items 1 - 3 of 3 for April 2007

JS context serialization by Jesse Thompson - April 10, 2007

Say, would anyone know if it would be possible or easy to serialize aJavaScript runtime environment or context into a string, to save stateas to all the data in that environment I don&39;t fully understand howthe "compile" option works so I can&39;t say if that is comparable.What I am thinking is, my project would like to be able to run scriptsin the browser when the browser is compatible with the JSrequirements, and run them on the server otherwise. Doing this rises aton of technical.
http://www.nntp.perl.org/group/perl.javascript/2007/04/msg64.html

Re: Perl exceptions from bound JS constructors do not propogate by Claes Jakobsson - April 10, 2007

Hi Jesse.On 6 apr 2007, at 10.35, Jesse Thompson wrote:> Am I approaching this the wrong way, or is this perhaps something > to report> in rt>> It looks like when I bind a class and throw an error (such as a die()> statement or a failed DB connect) from within a static or object > method, it> bubbles beautifully through JS as an exception.>> However when I bind a class and register some perl sub as a > constructor,> any dies or errors from there seem to...
http://www.nntp.perl.org/group/perl.javascript/2007/04/msg63.html

Perl exceptions from bound JS constructors do not propogate by Jesse Thompson - April 6, 2007

Am I approaching this the wrong way, or is this perhaps something to reportin rtIt looks like when I bind a class and throw an error (such as a die()statement or a failed DB connect) from within a static or object method, itbubbles beautifully through JS as an exception.However when I bind a class and register some perl sub as a constructor,any dies or errors from there seem to make the constructor abort silentlyinstead.Example: in the code attached below, the perl diagnostic displays a...
http://www.nntp.perl.org/group/perl.javascript/2007/04/msg62.html
Available Archives
- February (2 items)
- March (7 items)
- April (3 items)
- July (1 item)
- October (1 item)
- November (4 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact