[Grok-dev] Re: AJAX example for Uli using Mochikit and HTML-injection

Martijn Faassen faassen at startifact.com
Mon May 28 09:28:38 EDT 2007


Hey,

Martin Aspeli wrote:
>  - KSS (http://kssproject.org), which is what powers AJAX in Plone 3. 
> This is designed so that it works in "pure Zope 3". This is a bit 
> "different" in that you generally don't write Java Script at all. Take a 
> look at the demos on that website to see what I mean. I know Philipp did 
> some work with KSS in Grok a while ago.

We should definitely see whether we can use KSS with Grok. It's 
definitely attractive because it seems quite declarative. This needs 
more examination.

Grok needs to support two things:

* the default Grok AJAX framework

* support any AJAX framework on the server side in case you don't want 
to use the default for whatever reason. This means things like JSON 
support (which we have)

>  - jQuery is being used by z3c.form, apparently.

Just as some input: I know that jQuery and MochiKit can be made to work 
together, with some care.

>  - Some things in the z3c.widgets package uses Prototype. Note sure how 
> widely used they are, though.

I'd like to stay away from Prototype. This is mostly because I hear it 
monkey patches Javascript core stuff and definitely doesn't play well 
with others as a result. Not informed by any deep knowledge. :)

Regards,

Martijn



More information about the Grok-dev mailing list