ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Prettig Personeel
   jQuery.pyproxy
    Vincent Pretre - Zest software
14-09-10 - Plone user day - Rotterdam
Prettig Personeel


Products.plonehrm

collective.sendaspdf

collective.pdftransform

jquery.pyproxy
Jquery Pyproxy -  Vincent Pretre
jQuery.pyproxy



replace KSS to handle Ajax

modify the DOM with Python
jQuery.pyproxy



easy to use on both client and server side

keep jQuery syntax

as extensible as jQuery
jQuery plugin


pyproxy: binds a
call to an event


pyproxy_call:
executes an Ajax
call and processes
the result.
Python module

@jquery: de?nes a
view as callable by
jquery.pyproxy

JQueryProxy: object
used to modify the DOM


extend_grammar:
de?nes plugins syntax
To in?nity and beyond

Limitations:

    chained call

    save the query

    function as parameters

Used on production for
months

Plone & Django versions.
Can be extended to other
frameworks

More Related Content

Jquery Pyproxy - Vincent Pretre