On Tue, Jul 21, 2009 at 9:03 PM, Ondrej Certik<ond...@certik.cz> wrote:
> Hi,
>
> here is an early preview of the pyjamas version:
>
> http://2.latest.pythonnb.appspot.com/
>
> So far my experience is:
>
> * it doesn't work in IE8 (that's a showstopper)
> * it's fast enough
> * implementing the cursor positions and resizing was a piece of cake
> (I was very impressed)
> * learning the whole framework took me some time, one has to read sources a 
> lot
> * if it doesn't work, it's a bit difficult to debug (because it's not
> just javascript, I need to figure out where I made the mistake in the
> python code), I basically use git a lot and always do a small change
> and test, small change and test. If it fails, I break my changes in
> half and test, etc.
>
> Essentially, pyjamas provide a complete DOM access (just like jQuery),
> but in Python, and then builds its own widgets on top of it.
>
> I am now learning how to do AJAX with it. So far only the cursor
> movement and cells work (the focus is not yet shown by a blue line,
> I'll do that later). Try this:
>
> def f(x):
> <hit TAB couple times>
>
> and then hit <backspace>, you will see that it deletes 4 spaces, but
> in a clever way, e.g. if you are at a position 7, it goes to 4 first
> and then to 0. This is how my vim is setup for python editing and I
> like it a lot.
>
> Let me know if it works in your browser so far. I only tested firefox
> 3.5, that works fine. IE8 doesn't load the javascript, e.g. you will
> see no textbox. Also, in Firefox I get frequent error messages
> (printed in the actual HTML):
>
> "
> JavaScript Error: Permission denied to get property
> HTMLDivElement.parentNode at line number 9254. Please inform
> webmaster.
> "
>
> It's a bug in pyjamas.

Also cell joining is not yet implemented. But it works in the Chrome
browser, so at least something.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to