Archive for May, 2008

TODO Note to self..

Setup mysql replication check on franklin…

New (to me) jQuery Plugins of Note

From Ralf S. Engelschall:
* jquery.debug.js

From GlyphX:
* jquery.xslTransform.js - works with sarissa to work the XSLT magic on the client side, in jquery fashion

From Oliver Steele:
* jquery.profile.js - gotta love profiling - which can also be done with firebug

From Mike Alsup, Dave Methvin, Bennett McElwee:
* jquery.corner.js

PHP XSLT Profiling




The guys over at LIIP have patched the xsl extension to provide profiling capabilities. Its not too detailed, but it provide the most important information about what templates are being called, and how long they are taking to be processed:

number               match                name      mode  Calls Tot 100us Avg

    0                    /                                    1    202    202
    1                          thematic-button                3     30     10

                         Total                                4    232

It may surprise you what comes up! My dynamic CSS scripts were taking almost a full second to process because I was including a lot of nodes in the tree that wasn’t needed.

Wow PHP xDebug is Kool!

I’m using “k” in the word cool because its also kcachegrind that makes it so. What is xDebug? Its a PHP extension that allows you to trace and debug what’s going on inside your big messy PHP application. Cool!

You end up with a kcachegrind view like this:

xdebug cachegrind