On Tue, Dec 6, 2011 at 6:22 PM, Apexi 200sx <[email protected]> wrote:
> Hi Lex,
>
> I completely agree that you can write sophisticated apps without doing what
> I describe.  I also agree that pyjamas desktop is excellent for debugging
> etc.

 i don't do development nor running of applications under pyjs.  i
*only* develop using pyjd, and run locally.  it's only when it comes
to deploying live, or to show clients, that i compile for pyjs.  this
is actually bad practice: for large apps i at least do _some_ regular
compiling, and i always always make sure that i do regular commits (no
more than 5-10 lines of code) so that i can go back through the
revision history if an error is introduced that pyjs cannot cope with
[but pyjd can].


> Also, I was under the impression you can't run Javascript under pyjd as it
> is pure python ?

 correct.  there's a potential way to do it, but it's hellishly
tricky.  a combination of running a JSONRPC service (adapted to run
locally in the browser!) and using a hidden iframe (just like the
History module) to "serve" the results of the javascript call.... to
the browser itself!

 truly dreadful, but it'd work.  just.

 l.

Reply via email to