On Mon, Aug 31, 2009 at 4:46 AM, Tim Dumol <timdu...@gmail.com> wrote:

>
> The Notebook currently uses Twisted.Web2 as its server. As stated <a
> href="http://twistedmatrix.com/trac/wiki/TwistedWebPlan";>here</a>,
> Twisted.Web2 is being phased out and its useful features being merged
> back into Twisted.Web. There doesn't seem to be any support for
> Twisted.Web2 -- I cannot find proper documentation for Twisted.Web2,
> aside from http://twistedmatrix.com/trac/browser/trunk/doc/web2. API
> listings for Twisted.Web2 are gone in the latest version of API
> documentation (http://twistedmatrix.com/documents/8.2.0/api/
> twisted.html<http://twistedmatrix.com/documents/8.2.0/api/%0Atwisted.html>
> ).
>
> Would it cause any problems if the Notebook were gradually migrated to
> Twisted.Web?
>

When we wrote the second version of the notebook, twisted.web2 was *the* way
to go, according to various people.  However, it turned out that using
twisted.web2 was not the way to go, as the project was discontinued as an
independent project.

I'm not at all convinced that using twisted in any way (web or web2) is a
good idea for the Sage notebook.   I plan to revisit this in late
September.    The first thing I plan to do is consider switching from
twisted to Django, as is done in codenode -- see http://codenode.org/ --
hopefully, even sharing code with that project.   Of course, twisted could
still get used at a certain level behind the scenes, but the Sage notebook
would then no longer explicitly use it.

So if you want to help as you describe above, perhaps you could accelerate
this.  This involves:

  (1) getting familiar with Django, if you don't already know it.

  (2) reading through the current codenode codebase

  (3) then formulating a plan to replace server/notebook/twist.py with
something based either directly on Django, or possibly using codenode in
some way.

The above is what I would do, but if you do it first that would be
spectacular.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an 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