[jifty-devel] [trimclient] Milestone 1 status

Chia-liang Kao clkao at bestpractical.com
Mon Jul 9 11:25:58 EDT 2007


Hi,

I am about to do merge the trimclient branch back to trunk for Milestone
1.  Here's the summary of functional changes.

* If you enable "ClientTemplate: 1" in Config, jifty will attempt to
compile TD templates marked as :Static for the client to cache, provided
you have a new version of B::Deparse that is from
http://svn.jifty.org/svn/jifty.org/B/
* Currently only "/__jifty/empty" is marked so by default.

For a demo, get the above-mentioned B and run examples/Yada.  Connect to
http://localhost:8888/ and click on faq and then close.  You should see
subsequent clicks of faq and close not making requests to the server
anymore.

Currently we are not handling the TD constructs like "h1 { "foo" } ; h2
{ "foo" }" properly as it involves buffer munging.  However "h1
{ "foo" } h2 { "bar" }" works alright.

If you'd like to help on this, take a look at t/clientside/td.t, as well
as template_declare.js

Cheers,
CLK




More information about the jifty-devel mailing list