Re: First web interface and service API draft
- From
- Christian Meder <chris@absolutegiganten.org>
- Date
- Apr 22, 2005, 13:32 UTC
- Message-ID
- <1114176754.3233.47.camel@localhost>
- In-Reply-To
- <2cfc403205042205277b2d9f69@mail.gmail.com>
On Fri, 2005-04-22 at 22:27 +1000, Jon Seymour wrote:
Show 23 quoted lines
> On 4/22/05, Petr Baudis <pasky@ucw.cz> wrote: > > Dear diary, on Fri, Apr 22, 2005 at 01:34:45PM CEST, I got a letter > > where Jon Seymour <jon.seymour@gmail.com> told me that... > > > On 4/22/05, Christian Meder <chris@absolutegiganten.org> wrote: > > > > > > > > Comments ? Ideas ? Other feedback ? > > > > > > > > > > I'd suggest serving XML rather than HTML and using client side XSLT to > > > transform it into HTML. ... > > > > Why "rather than"? Why not "in addition to"? > > > > You just append either .html or .xml, based on what you want. > > > > You are right - there is no good reason that an implementation should > not to support both. > > >From the point of view of a specification, though, I think it would be > useful to focus on an XML content model rather than the details of one > particular HTML model - get the XML model right and you can do > whatever you like with the HTML model at any time after that.
Actually I think the order is get the C content model right (done), get the Python object model right (in flux), produce an appropriate XML model.
Christian
Show 32 quoted lines
> > jon. > > On 4/22/05, Petr Baudis <pasky@ucw.cz> wrote: > > Dear diary, on Fri, Apr 22, 2005 at 01:34:45PM CEST, I got a letter > > where Jon Seymour <jon.seymour@gmail.com> told me that... > > > On 4/22/05, Christian Meder <chris@absolutegiganten.org> wrote: > > > > > > > > Comments ? Ideas ? Other feedback ? > > > > > > > > > > I'd suggest serving XML rather than HTML and using client side XSLT to > > > transform it into HTML. Client-side XSLT works well in IE 6 and all > > > versions of Firefox, so there is no question that it is a mature > > > technology. Provide a fall back via server transformed HTML if need > > > be, but that is trivial to do once you have the client-side XSLT > > > stylesheets. > > > > > > Serving XML is as easy as serving HTML and gives you a much more > > > flexible outcome. > > > > Why "rather than"? Why not "in addition to"? > > > > You just append either .html or .xml, based on what you want. > > > > -- > > Petr "Pasky" Baudis > > Stuff: http://pasky.or.cz/ > > C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor > > > >
--
Christian Meder, email: chris@absolutegiganten.org
The Way-Seeking Mind of a tenzo is actualized
by rolling up your sleeves.
(Eihei Dogen Zenji)