I generally really like Webware and Cheetah--it's simple and fast and easy to work with. But one thing keeps bugging me. I think of my web pages as a bunch of objects which they are--a bunch of servlet objects. So it should be easy to access my web page servlet objects as a graph. I want to be able to traverse from my current page back up to the root object, find this page's siblings, etc. But for some reason I cannot find a simple way of doing this. The main problem is the difficulty of calling methods on servlets. You have to use callMethodOfServlet(), and that does not work with Cheetah templates. I am pursuing that on the Cheetah list separately, but I wonder, would it be possible to eliminate the need for callMethodOfServlet()? CherryPy does a very cool thing where every page is just a class or method that returns a string. The string contains the HTML that becomes the page. Simple yet gets the job done. Could we simplify Webware somehow in that direction?

-winston

<x-tad-smaller>_________________________________________
winston wolff - (646) 827-2242 - www.stratolab.com - learning by creating
</x-tad-smaller>

Reply via email to