
Hello all, I have spent most of the day looking at the documentation of Twisted, and I am quite impressed. What a wonderful toy ! It is like Christmas a second time in the year. Congratulations to you happy hackers, you have accomplished a tremendous job. However, I have a question regarding Woven; as the howto ends quite abruptly, I have tried to figure out how I could build a web interface I planned to develop in a more usual way. But I quickly became puzzled by the lack of examples, and a quick look on the sources only helped a bit. Is Woven usable at this state ? This question is based on a limitation I encountered while trying to make the menu of my interface : I could not find a way to build a link (Anchor) with a text different from the href parameter. I found a message from Donovan Preston in this list's archives (http://twistedmatrix.com/pipermail/twisted-python/2002-December/002426 .html) stating that it was not possible with the actual Anchor widget. I would have the option to write a subclass of Anchor implementing what I need, but finding such a limitation on the first widget I look at is disturbing. :-) If Woven is usable, can you point some examples of realizations using it, and/or some good example sources to get started ? Thank you ! -- Xavier.

On Tue, 14 Jan 2003 20:23:14 +0100 Xavier Antoviaque <xavier@plebia.org> wrote:
Is Woven usable at this state ? This question is based on a limitation I encountered while trying to make the menu of my interface : I could not find a way to build a link (Anchor) with a text different from the href parameter.
It's quite usable, but very undocumented, yes. For links, use a Link widget instead of an Anchor widget. For examples, see Issues and Blog in twistedmatrix.com CVS - they both should be accessable via the web viewcvs link from the CVS page on the website. -- Itamar Shtull-Trauring http://itamarst.org/ Available for Python, Twisted, Zope and Java consulting ***> http://VoteNoWar.org -- vote/donate/volunteer <***

On Tue, 14 Jan 2003 14:29:04 -0500, Itamar Shtull-Trauring <twisted@itamarst.org> wrote:
It's quite usable, but very undocumented, yes. For links, use a Link widget instead of an Anchor widget. For examples, see Issues and Blog in twistedmatrix.com CVS - they both should be accessable via the web viewcvs link from the CVS page on the website.
If you're interested in using Woven, I highly recommend tracking CVS. It's the most actively developed part of Twisted right now, since several people (including myself) are developing the first generation of applications using woven+twisted, and we're discovering features that need to be added. This Link class that Itamar mentions is one such feature: it's only available in CVS currently, or in the 1.0.2 alpha. -- | <`'> | Glyph Lefkowitz: Travelling Sorcerer | | < _/ > | Lead Developer, the Twisted project | | < ___/ > | http://www.twistedmatrix.com |

On Tue, 14 Jan 2003 14:47:29 -0600 (CST) Glyph Lefkowitz <glyph@twistedmatrix.com> wrote:
If you're interested in using Woven, I highly recommend tracking CVS. It's the most actively developed part of Twisted right now, since several people(including myself) are developing the first generation of applications using woven+twisted, and we're discovering features that need to be added.
I just grabbed the CVS version; I also suscribed to twisted-commits to track modifications.
This Link class that Itamar mentions is one such feature: it's only available in CVS currently, or in the 1.0.2 alpha.
Yes - and it is exactly what I needed. Thanks ! -- Xavier.

On Tue, 14 Jan 2003 14:29:04 -0500 Itamar Shtull-Trauring <twisted@itamarst.org> wrote:
It's quite usable, but very undocumented, yes.
That's ok with me - my only fear was that Woven was not ready for production.
For links, use a Link widget instead of an Anchor widget.
Thanks, it works well. :-)
For examples, see Issues and Blog in twistedmatrix.com CVS
I could not find this part : xavier@leto:~$ find prog/twisted/cvs/ -name "*.rpy" prog/twisted/cvs/Twisted/doc/howto/listings/HelloWorld/HelloWorld.rpy prog/twisted/cvs/Twisted/doc/howto/listings/HelloWorld/HelloWorld2.rpy prog/twisted/cvs/Twisted/doc/howto/listings/TwistedQuotes/soap.rpy prog/twisted/cvs/Twisted/doc/howto/listings/TwistedQuotes/webquote.rpy prog/twisted/cvs/Twisted/doc/howto/listings/TwistedQuotes/wovenquotes.r py prog/twisted/cvs/Twisted/doc/howto/listings/TwistedQuotes/xmlquote.rpy prog/twisted/cvs/Twisted/static/test.rpy xavier@leto:~$ find prog/twisted/cvs/ -name "*.?html" prog/twisted/cvs/Twisted/doc/howto/listings/TwistedQuotes/WebQuotes.xht ml prog/twisted/cvs/Twisted/doc/howto/listings/TwistedQuotes/WovenQuotes.x html xavier@leto:~$ Do you have an idea of where these examples could be located ? -- Xavier.

On Tue, 14 Jan 2003 22:37:09 +0100 Xavier Antoviaque <xavier@plebia.org> wrote:
Do you have an idea of where these examples could be located ?
Forget about it, I found them. :) cvs -d:pserver:anon@twistedmatrix.com:/cvs co Blog cvs -d:pserver:anon@twistedmatrix.com:/cvs co Issues -- Xavier.
participants (3)
-
Glyph Lefkowitz
-
Itamar Shtull-Trauring
-
Xavier Antoviaque