On Apr 18, 2006, at 1:22 PM, Yonik Seeley wrote:
On 4/18/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:
To add to that: when thinking about "how clients will specify what
extra
info they want" we should consider not only external clients using
HTTP
and the StandardRequestHandler, but also what the internal API
looks like
for people wanting to add highlighing to their own plugin.
And at a lower priority, other formats than XML.
I've considered adding a JSON response format that's smaller and very
AJAX friendly.
Yes indeed. I've been thinking of ways to increase the performance
to a Ruby (on Rails) front-end as well. Serializing the response as
plain Ruby that gets eval'd on the client side would very likely be
the most performant way to do it, or perhaps as YAML instead of XML.
Callbacks from the serializer to get documents and their fields, and
also highlighting and such, would be a nice way to go about things it
seems... decoupling without losing the streaming capability.
Erik