Differences between revisions 22 and 23
Revision 22 as of 2006-08-20 22:31:13
Size: 4038
Editor: mindlace
Comment:
Revision 23 as of 2006-08-20 22:31:14
Size: 3991
Editor: mindlace
Comment: Migrated to Confluence 4.0
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DEV/versions/14352406 #pragma page-filename DEV/versions/79
Line 5: Line 5:
 * [[..//2006/08/20/Summer of Code summary|August 20th Summary]]
 * [[..//2006/07/05/More XHTML madness|June 7th News]]

* [[|August 20th Summary]]
 * [[|June 7th News]]
Line 8: Line 10:
Line 11: Line 14:
 * Modules/Supporting logic modules, to be implemented or borrowed:
  * Converters
 * Modules/Supporting logic modules, to be implemented or borrowed:  
  * Converters  
Line 16: Line 19:
   * Elemental mbox into xhtml
  * Handlers (mod_python)
   * Elemental mbox into xhtml  
  * Handlers (mod_python)  
Line 20: Line 23:
   * fragment handler - provides fragments of the UI and accepts 'fragmented' form submissions for XMLHttp / REST access.
  * Modules
   * glue code to patch the 1-user-per-list situation
  * Filters (mod_python)
   * fragment handler - provides fragments of the UI and accepts 'fragmented' form submissions for XMLHttp / REST access.  
  * Modules  
   * glue code to patch the 1-user-per-list situation  
  * Filters (mod_python)  
Line 25: Line 28:
   * bugfr --( "bug friend" )-- performs last minute dom/css/js munging to kludge for broken clients. this way all the inevitable client-specific workarounds don't make their way into the templates.    * bugfr - "bug friend" - performs last minute dom/css/js munging to kludge for broken clients. this way all the inevitable client-specific workarounds don't make their way into the templates.     
Line 27: Line 31:
Line 31: Line 36:
[[http://www.campaignmonitor.com/|Campaign monitor]] is an interesting example of what people who run list-like things want from their webui  [[http://www.campaignmonitor.com/|Campaign monitor]] is an interesting example of what people who run list-like things want from their webui 
Line 34: Line 39:
Line 38: Line 44:
Line 39: Line 46:
 * May 23 - June 21: Rewrite mailman interface using xhtml templates with the following attributes:
* May 23 - June 21: Rewrite mailman interface using xhtml templates with the following attributes:  
Line 43: Line 51:
  * Write pages in seperable, embeddable pieces.   * Write pages in seperable, embeddable pieces.  
Line 45: Line 53:
 * July 3 --( 14: Write handlers and RFC2822/ mbox \)--> ElementTree converter  * July 3 - 14: Write handlers and RFC2822/ mbox -> ElementTree converter
Line 51: Line 59:

Ethan Fremen is working on mailman for his Summer of Code Project. The project will use web standards, kid and mod_python to deliver a superior HTTP user experience with enhanced internationalization.

News

  • [[|August 20th Summary]]
  • [[|June 7th News]]

Technical Plan

  • Build a fully accessible web interface using xhtml without CSS or JavaScript.

  • Enhance that interface with CSS to make it visually intuitive.
  • Add JavaScript that provides additional ease of use.

  • Modules/Supporting logic modules, to be implemented or borrowed:
    • Converters
      • RFC-2822 into an ElementTree

      • .mbox files into an ElementTree

      • Elemental RFC-2822, mbox into xhtml
      • Elemental mbox into xhtml
    • Handlers (mod_python)
      • feed handler
      • authentication handler
      • fragment handler - provides fragments of the UI and accepts 'fragmented' form submissions for XMLHttp / REST access.
    • Modules
      • glue code to patch the 1-user-per-list situation
    • Filters (mod_python)
      • uniquer - take outgoing xml and render the ids within unique to mailman/the page. Would need helper JS to know how to decouple, but as only the JS really cares about the ids anyway, we can avoid problems. Primary need for this is auto-labeling for attributes on label and providing an ID namespace that doesn't collide with whatever page it's embedded in.
      • bugfr - "bug friend" - performs last minute dom/css/js munging to kludge for broken clients. this way all the inevitable client-specific workarounds don't make their way into the templates.

Notes

I've had to move away from the incremental approach and towards a reimplementation. I'm still working strictly from the existing implementation for feature-set, but because of the templating situation, I'll get there faster if I re-write the templates.

The decision to move to mod_python is based on the need for feed handlers that can maintain a semi-persistent cache and because I get access to Apache's internals. The existing CGI interface will be untouched, with the idea that eventually a wrapper will be found/written that provides backwards compatibility.

Campaign monitor is an interesting example of what people who run list-like things want from their webui 

Existing templating situation

  • There's a mismash of MM- pseudo tags and python str/dict replacement for variable substitutions.
  • Many pages are generated by a sort of proto-dom.
  • All the pages are mid-90's tag soup, with upper case and lower case tags and invalid html attributes.
  • Many pieces of code generate strings with html markup. This is bad form and makes i18n/multiple interfaces harder.

Timeline

  • May 23 - June 21: Rewrite mailman interface using xhtml templates with the following attributes:
    • Provide consistent navigation throughout the Mailman interface
    • Enhance the Administrator's user listing to allow for bulk modification and to highlight users that have been set nomail.
    • Collapse duplicate pages
    • Write pages in seperable, embeddable pieces.
  • June 23- June 30: Establish the scope of the glue modules, and write interfaces/stub classes.
  • July 3 - 14: Write handlers and RFC2822/ mbox -> ElementTree converter

  • July 17 - 21: Fill in glue modules, with knowledge of how the (user)db-in-SQLAlchemy project is going.
  • July 24 - 31: Add page-editing, easy support for stylesheet changes, site and list specific themes.
  • August 1 - 4: Update documentation to reflect changes.
  • August 7 - 11: Add ease-of-use JavaScript/CSS.
  • August 14 - 21: Merge branch to trunk, and make a release of some sort.

"a plan is just a list of things that never happen" - Benecio del Torro in The Way of the Gun

MailmanWiki: DEV/Summer of Code (last edited 2015-01-12 00:48:38 by SumanaHarihareswara)