Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1716 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Make twAjaxTools TG2/Pylons Compliant

Reported by: percious Owned by: percious
Priority: normal Milestone:
Component: ToscaWidgets Version: trunk
Severity: normal Keywords:


Currently twAjaxTools only works on TG1 because it is very CherryPy? oriented. I think the right way to fix the problems with twAjaxTools is to create some middleware that sits between twAjax and the WSGI server. This is going to lead to a harder way to get going with twAjaxTools to start, but a much more flexible solution in the end.

Change History

comment:1 Changed 11 years ago by mramm

Chris and I discussed this at some length, and we have decided that TWAjax tools should probably have two main pieces:

1) The widgets which contain the HTML/CSS/JavaScript for the fancy ajax features 2) WSGI applications which can handle the server-side stuff.

I think having TG controllers would also be very helpful, but that these should be based on the plain WSGI apps.

Ideally TG2 users should be able to just instantiate a widget, and tell it where the controller that handles the responses is mounted.

Some controllers/WSGI apps may require some customization... not sure how we're handling that yet.

comment:2 Changed 11 years ago by mramm

  • Milestone changed from 2.0-preview-1 to 2.0-preview-2

Moved this to TG2 preview 2, since we'll need to talk more about it, and the PyCon? sprint will be a great opportunity to do that kind of thing.

comment:3 Changed 11 years ago by percious

  • Status changed from new to closed
  • Resolution set to fixed

This has been implemented in tw.jquery and tw.prototype.

comment:4 Changed 11 years ago by anonymous

  • Milestone 2.0-preview-2 deleted

Milestone 2.0-preview-2 deleted

Note: See TracTickets for help on using tickets.