How to develop web form in a trac plugin?

7 views
Skip to first unread message

Eduardo Ferro Aldama

unread,
Jan 4, 2007, 4:33:05 PM1/4/07
to trac-...@googlegroups.com

Hi!

We have a trac host to track all the task, defects of a internal applications that we are developing.... now we are traing to trak the requierements, too. The problem is that the wiki interface and the ticket form is "strange" for the bussiness analysts so they want some kind of "web aplication" with forms especific for  all kind of requierements (use cases, test cases, high-level requirements, etc....)
The first aproximation was develop a plugin that expose (with XMLRpc)  all the  requirements types, conflicts, and so on.... with this API we develop a Django application that capture all the info and generate a trac ticket and a WikiPage with certain structure.... the problem is that the Django application have his own db so we have problem of sincronization when we change the tickets types at the trac system.

So we are looking for a better integration with the trac, so we want to create some kind of web form to capture and modify the requirements in a trac plugin. We want to develop a minimal app so we don't want to process the http request directily (we have no web development experience).

Is there any example, plugin or similar to create and process web forms in a trac plugin???
Any suggestion for alternative solutions (for example something similar to Django without the obligation of use his database)....

Any help would be appreciated.
Thanks in advance

Bye

Sorry for mi english
--
Hasta Otra
   Eduardo Ferro Aldama
   http://www.eferro.net/blog   http://www.eferro.net
   http://eduardo-fe...@neurona.com
   http://eduardo-fe...@econozco.com
   http://www.linkedin.com/in/eferro

Tom Berger

unread,
Jan 5, 2007, 9:47:06 AM1/5/07
to trac-...@googlegroups.com
On 1/4/07, Eduardo Ferro Aldama <efa0...@gmail.com> wrote:

Is there any example, plugin or similar to create and process web forms in a trac plugin???

To develop new web page plugins for Trac you need to write a component that implements the IRequestHandler interface.

See http://trac.edgewall.org/browser/trunk/trac/web/api.py

There are quite a few plugins that do that in the Track Hacks repositories - perhaps you could start coding by example with stuff you find there.

See http://www.trac-hacks.org/

Tom



--
http://intellectronica.net/
Reply all
Reply to author
Forward
0 new messages