Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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



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
jQuery plugin


pyproxy: binds a
call to an event
jQuery plugin


pyproxy: binds a
call to an event


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

@jquery: defines a
view as callable by
jquery.pyproxy
Python module

@jquery: defines a
view as callable by
jquery.pyproxy

JQueryProxy: object
used to modify the DOM
Python module

@jquery: defines a
view as callable by
jquery.pyproxy

JQueryProxy: object
used to modify the DOM
Python module

@jquery: defines a
view as callable by
jquery.pyproxy

JQueryProxy: object
used to modify the DOM


extend_g...
Python module

@jquery: defines a
view as callable by
jquery.pyproxy

JQueryProxy: object
used to modify the DOM


extend_g...
To infinity and beyond

Limitations:

    chained call

    save the query

    function as parameters

Used on production ...
Prettigpersoneel.nl and jQuery;pyproxy
Prettigpersoneel.nl and jQuery;pyproxy
Upcoming SlideShare
Loading in …5
×

Prettigpersoneel.nl and jQuery;pyproxy

813 views

Published on

Slides for the lightning talk at Plone user day in Rotterdam, the 14th of september 2010.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Prettigpersoneel.nl and jQuery;pyproxy

  1. 1. Prettig Personeel jQuery.pyproxy Vincent Pretre - Zest software 14-09-10 - Plone user day - Rotterdam
  2. 2. Prettig Personeel Products.plonehrm collective.sendaspdf collective.pdftransform jquery.pyproxy
  3. 3. jQuery.pyproxy replace KSS to handle Ajax modify the DOM with Python
  4. 4. jQuery.pyproxy easy to use on both client and server side keep jQuery syntax as extensible as jQuery
  5. 5. jQuery plugin
  6. 6. jQuery plugin pyproxy: binds a call to an event
  7. 7. jQuery plugin pyproxy: binds a call to an event pyproxy_call: executes an Ajax call and processes the result.
  8. 8. Python module
  9. 9. Python module @jquery: defines a view as callable by jquery.pyproxy
  10. 10. Python module @jquery: defines a view as callable by jquery.pyproxy JQueryProxy: object used to modify the DOM
  11. 11. Python module @jquery: defines a view as callable by jquery.pyproxy JQueryProxy: object used to modify the DOM
  12. 12. Python module @jquery: defines a view as callable by jquery.pyproxy JQueryProxy: object used to modify the DOM extend_grammar: defines plugins syntax
  13. 13. Python module @jquery: defines a view as callable by jquery.pyproxy JQueryProxy: object used to modify the DOM extend_grammar: defines plugins syntax
  14. 14. To infinity 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

×