On 10/21/07, Don Brown <[EMAIL PROTECTED]> wrote:
>
> [...]
> Which reminds me, this plugin is targeted towards HTML-based web apps
> that want to expose their information in machine-readable ways (XML
> and JSON),


I presume you mean DOM-based apps; some of us don't use HTML any more. ;-)

but another thing I'm thinking about is how to better
> support the case where XML and JSON are the primary formats, but you'd
> want a simple, automatic XHTML view to make testing and debugging
> easier. For this, you'd want XHTML to be generated by the framework
> from the data without needing to write custom templates.  Still
> thinking how exactly that would work, but it would be a huge
> productivity tool to have an automatic XHTML view of your app during
> the early stages of development.


I was right with you up to here, but I'm not sure I get the part about
XHTML. Are you just talking about a quick way for a human to look at the
response? For XML and JSON responses, I would think you'd want to use the
appropriate unit test tools (e.g. xmlunit and jsunit).

--
Martin Cooper


Don
>
> >
> > Matt
> >
> > [1] http://www.theserverside.com/news/thread.tss?thread_id=47213
> > [2] http://memeagora.blogspot.com/2006/12/polyglot-programming.html
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to