[mnet-devel] more about the old HTTP UI

Zooko zooko at zooko.com
Sat Jul 26 20:00:42 BST 2003


So, once you look into the templates, then your eyes suddenly go cross-eyed, 
because your eyes are used to looking at clean, well documented Python code, 
and the templates are full of this awful mishmash of HTML, Python fragments, 
and this other string-interpolation language "DTML".

What do you do?  Well, in v0.7 a.k.a. mnet_new, what to do is obvious -- write 
a fresh new HTML-based UI using Twisted and some really nice and not-too-
powerful Python Web Engine.  (Not-too-powerful because really, we only have 
like half-a-dozen web pages with a form or two.  We should be able to pull 
this off with the simplest, most minimal tool around.  Maybe just straight 
Python that returns strings containing HTML?)

But for v0.6, here are a few suggestions:

a.  Just ignore it.  Let the old Mojo Nation-inherited HTTP UI rot.  Warn 
people that it is a second-class citizen next to the wx UI.  This is already 
the case, as there are some features that are just not supported under the 
HTTP UI (such as publishing a file with Mozilla without manually entering the 
appropriate URL in Mozilla's URL window halfway through the process).

b.  Ask a DTML expert like tav at espians.com to debug it or add the feature that 
you want.  That's what I've done in the past, which is why tav's name is in 
the CREDITS file now.

c.  Squint, and try some careful "search and replace" or "tweak it and run it 
again to see what it does" it sorts of experiments.  I've done that, too, and 
perhaps I could help you with it.

--Z



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel




More information about the Mnet-devel mailing list