* Shawn Walker <[EMAIL PROTECTED]> [2008-04-22 16:56]:
> On Tue, Apr 22, 2008 at 11:06 AM, Stephen Hahn <[EMAIL PROTECTED]> wrote:
> > * Shawn Walker <[EMAIL PROTECTED]> [2008-04-22 15:30]:
> >
> > > On Tue, Apr 8, 2008 at 12:46 PM, Stephen Hahn <[EMAIL PROTECTED]> wrote:
> >  > >   I think web-based search would be interesting and would be helped by 
> > a
> >  > >   better browsing interface.  (Some progress in search is dependent on
> >  > >   making progress on the tag/attribute discussion.)  I have a
> >  > >   preliminary changeset that provides an Atom feed of the catalog
> >  > >   updates that would be nice to see finished.  I'd like to see work on
> >  > >   the intent and statistics side, too.
> >  > >
> >  > >   Dan and I were kicking around how we might use either a templating
> >  > >   system, like
> >  > >
> >  > >   http://www.makotemplates.org/
> >  > >
> >  > >   or even one of the lighter frameworks, like
> >  > >
> >  > >   http://www.cherrypy.org/
> >  > >
> >  > >   to make it easier to flesh out pkg.depotd's reporting capabilities.
> >  >
> >  > Has anyone looked at Genshi as an alternative to Mako?
> >  >
> >  > http://genshi.edgewall.org/wiki/GenshiFaq
> >  >
> >  > It is XML-oriented instead of stream oriented and that makes it easier
> >  > to fit into the XML toolchains available.
> >
> >   (Yes.)  What XML data do you plan to transform?  Or, if you like, why
> >   would we use XML in an interface layer that we expect to be mostly
> >   directed at humans?
> 
> I was mainly talking about transforming the output.
> 
> The web formats I imagine being used are XML-based in nature, right?
> So, the output could be XHTML, RSS, etc.
>
> I don't have my heart set on any particular toolkit here. I just
> wanted to see if Genshi had been considered.
 
  Got it.

  When I read through the Genshi site, I was a bit worried about

        Alternative implementations of Python such as PyPy, Jython, or
        IronPython are also unlikely to work due to the Genshi code
        using some rather advanced features of the CPython
        implementation and standard library.
  
  Since I would expect any use of a template system to actually render
  to a file, rather then directly to the requestor (as we do presently),
  the absolute performance difference appears small.

  I suppose what I'm looking for is whether or not the XML stream is a
  useful intermediate interface for potential non-human consumers.  That
  is, is having

  http://pkg.opensolaris.org/status/xml

  being some XML representation of the server's status really useful?
  Or am I just considering imaginary consumers that will never
  materialize?

  I would defer to anyone who actually gave each toolkit a try, of
  course.

  - Stephen

-- 
[EMAIL PROTECTED]  http://blogs.sun.com/sch/
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to