[ANN] Seaside jquery-morphdom wrapper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ANN] Seaside jquery-morphdom wrapper

Esteban A. Maringolo
Hi all,

As a small experiment to improve the performance of a big grid of html
inputs I was updating using a traditional "full div replace", I
implemented a Seaside JQuery wrapper and examples for the morphdom
utility that dos DOM diffing/patching.

This DOM patching technique avoids removing whole elements from the
DOM to be added later, and instead it reutilizes the DOM nodes (if
they have the same element id), avoiding CPU time and wasted memory.

So far works a drop-in replacement of jQuery's replaceWith()

For further info, please check the just created repo and run the
example, that is self evident:
https://github.com/eMaringolo/seaside-morphdom

Regards,

Esteban A. Maringolo
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside